GNOME Bugzilla – Bug 685262
Attachments disappear when dragged in message preview
Last modified: 2012-10-17 13:43:47 UTC
When I expand attachments list and click on any attachment in message, they all disappear. Only way to use attachments is by expanding list first and then right click and save or open.
This is about the composer or about the viewer? Is this the message preview pane or a single window? Any special themes, or the default one?
This happens in viewer. Happens in both message preview pane and single message window. Well I use it on KDE 4.9 on opensuse 12.2 with default theme so not sure if there can be gnome theme causing this.
Created attachment 226619 [details] After the drag-out
Created attachment 226620 [details] Before drag-out
I open the attachment bar of a message [Before.png] then I drag an attachment out to a folder [into a Nautilus window, for example] and the drag-n-drop *works* but the attachment bar goes blank [After.png]. You have to close it and open it again to get the icons back. evolution-3.6.0-200.3.x86_64 libgtk-3-0-3.6.0-110.3.x86_64 libgtk-2_0-0-2.24.13-167.2.x86_64 libwebkitgtk-3_0-0-1.10.0-1.1.x86_64 libwebkit2gtk-3_0-18-1.10.0-1.1.x86_64 libwebkitgtk-1_0-0-1.10.0-1.1.x86_64 gnome-shell-3.6.0-141.2.x86_64 glibc-2.15-22.6.4.x86_64 Linux linux-nysu.site 3.4.11-2.16-desktop #1 SMP PREEMPT Wed Sep 26 17:05:00 UTC 2012 (259fc87) x86_64 x86_64 x86_64 GNU/Linux openSUSE 12.2 x86_64
Thanks for a bug report. It seems like a glitch in webkit, because the widget has there those attachments all the time, they are not painted only. What I do: a) drag one attachment from the expanded attachment bar - notice the attachment bar is suddenly empty b) force redraw of the window, either by moving with it, changing its size or anything else what will force repaint - the attachment bar is redrawn and the attachments are "back"
Created attachment 226643 [details] [review] evo patch for evolution; I think (do not know) that WebKit gets to some weird state which hides the attachment bar under the webkit's canvas, or just doesn't draw it properly, when drag-motion is doing above the webkitwebview. Hence I disabled drag-motion on the EWebView (descendant of webkitwebview), and it made it draw properly again. The side effect is that one cannot drop various file types into the preview panel (for example, I could drop an XML file in message preview, and webkit showed it formatted there).
Created commit 9eebb95 in evo master (3.7.1+) Created commit 8c81665 in evo gnome-3-6 (3.6.2+)