After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685262 - Attachments disappear when dragged in message preview
Attachments disappear when dragged in message preview
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[webkit]
Depends on:
Blocks:
 
 
Reported: 2012-10-02 05:00 UTC by Ruchir Brahmbhatt
Modified: 2012-10-17 13:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
After the drag-out (14.10 KB, image/png)
2012-10-17 09:37 UTC, awilliam
  Details
Before drag-out (45.84 KB, image/png)
2012-10-17 09:37 UTC, awilliam
  Details
evo patch (876 bytes, patch)
2012-10-17 13:40 UTC, Milan Crha
committed Details | Review

Description Ruchir Brahmbhatt 2012-10-02 05:00:30 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.
Comment 1 André Klapper 2012-10-02 09:21:31 UTC
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?
Comment 2 Ruchir Brahmbhatt 2012-10-02 09:24:49 UTC
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.
Comment 3 awilliam 2012-10-17 09:37:11 UTC
Created attachment 226619 [details]
After the drag-out
Comment 4 awilliam 2012-10-17 09:37:38 UTC
Created attachment 226620 [details]
Before drag-out
Comment 5 awilliam 2012-10-17 09:38:25 UTC
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
Comment 6 Milan Crha 2012-10-17 13:01:17 UTC
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"
Comment 7 Milan Crha 2012-10-17 13:40:56 UTC
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).
Comment 8 Milan Crha 2012-10-17 13:43:47 UTC
Created commit 9eebb95 in evo master (3.7.1+)
Created commit 8c81665 in evo gnome-3-6 (3.6.2+)