GNOME Bugzilla – Bug 312033
new attachment widget no polished
Last modified: 2009-03-31 04:37:20 UTC
Version details: 2.3.6.1 the new attachment widget is not polished 1° it doesn't use the whole width of the message [1] 2° it doesn't have border 3° it waste too much space between the bootom of the attachment icon and the bottom of the attchment widget [1] [1] see the screenshot attached.
Created attachment 49967 [details] screenshot
set the UI keyword
Nice. Im fixing 'most' of it. But still this is not a blocker
It has a border. It now resizes.
Step 1° is still applicable in evolution 2.5.4 (the widget has a fixed width, and so doesn't take all available width), so i reopen the bug.
bapiste, it takes the width, when loading a mail, but doesnt resize after that. It resizes when you choose the next message. You think it should? Is that what you are meaning?
Hello Srinivasa, and Happy new year. I think the width widget should been redrawn as the same manner than the mail widget, so at any moment. Its better for consistency and for UI. Thanks.
Sorry about my earlier statement, static void efhd_bar_resize(GtkWidget *w, GtkAllocation *event, EMFormatHTML *efh) { int width; GtkRequisition req; EMFormatHTMLDisplay *efhd = (EMFormatHTMLDisplay *) efh; gtk_widget_size_request (efhd->priv->attachment_bar, &req); width = ((GtkWidget *) efh->html)->allocation.width - 16; /* Update the width of the bar */ e_attachment_bar_set_width(E_ATTACHMENT_BAR(efhd->priv->attachment_bar), width); } and.... g_signal_connect (eb, "size_allocate", G_CALLBACK (efhd_bar_resize), efh); I remember fixing this and the code is present. It works for me sometimes, but after switching to my widescreen laptop, it seems to have stopped and works random. Anyway ill have a look into this.
This seems to be a gtk bug. 50% times, the signal is received and the rest is not. Try resizing bit faster, it seems to work and doesnt do otherwise.. pretty odd. Btw howz this a major. Normal was ok imo.
removing old 2.5 target milestone and retargetting to future - sorry.
Bumping version to a stable release.
The resizing seems to work fine in 2.26, and the other issues have been addressed as Srini said, so closing as OBSOLETE.