drag&drop an .eml file into mailbox folder via thread pane sometimes doesn't work under Linux

NEW
Unassigned

Status

()

Core
Drag and Drop
8 years ago
8 years ago

People

(Reporter: Tobias Koenig, Unassigned)

Tracking

(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.12) Gecko/2009072221 Iceweasel/3.0.12 (Debian-3.0.12-1)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2pre) Gecko/20090730 Shredder/3.0b4pre

Drag an .eml file from the desktop and drop it onto the thread-pane does not work under Linux. When moving the mouse cursor over the thread-pane, the 'do-not-accept-drop' mouse cursor is shown and a drop doesn't add the mail to the folder.
When moving the mouse cursor to the top of the thread-pane (the header view), the following error statements are printed on console:

-----------------------------------
JavaScript error: chrome://messenger/content/msgMail3PaneWindow.js, line 1140: dt.mozGetDataAt("application/x-moz-file", 0).QueryInterface is not a function

(thunderbird-bin:3748): Gtk-CRITICAL **: gtk_drag_get_data: assertion `GTK_IS_WIDGET (widget)' failed

(thunderbird-bin:3748): Gtk-CRITICAL **: gtk_drag_get_data: assertion `GTK_IS_WIDGET (widget)' failed

(thunderbird-bin:3748): Gtk-CRITICAL **: gtk_drag_get_data: assertion `GTK_IS_WIDGET (widget)' failed

(thunderbird-bin:3748): Gtk-CRITICAL **: gtk_drag_get_data: assertion `GTK_IS_WIDGET (widget)' failed

(thunderbird-bin:3748): Gtk-CRITICAL **: gtk_drag_get_data: assertion `GTK_IS_WIDGET (widget)' failed

(thunderbird-bin:3748): Gtk-CRITICAL **: gtk_drag_get_data: assertion `GTK_IS_WIDGET (widget)' failed
JavaScript error: chrome://messenger/content/msgMail3PaneWindow.js, line 1139: dt.mozGetDataAt("application/x-moz-file", 0) is null
-----------------------------------



Reproducible: Always

Steps to Reproduce:
1.Drag .eml file from desktop
2.Drop it onto the thread-pane
Actual Results:  
Nothing happens, the mail is not added to the mailbox folder

Expected Results:  
The mail should be added to the mailbox folder
When I tried this yesterday with the patch from bug 500564 it did work on linux for me, but the assertions were shown as well. One thing I had to do was to press ctrl to get it to copy it in rather than trying to move it.
Oh, and this seems more like a core issue rather than a TB specific issue.

Comment 3

8 years ago
I also found it works, but only sometimes. 

bug 500564 comment 21 sounds exactly like what I saw too.
> I can't see anything wrong with these lines but for some reason mozGetDataAt is
> sometimes returning null, and sometimes returning something like a string of
> unprintable characters.
Status: UNCONFIRMED → NEW
Component: Folder and Message Lists → Drag and Drop
Ever confirmed: true
Product: Thunderbird → Core
QA Contact: folders-message-lists → drag-drop
Summary: drag&drop an .eml file into mailbox folder via thread pane doesn't work under Linux → drag&drop an .eml file into mailbox folder via thread pane sometimes doesn't work under Linux
Sounds like bug 497494.
Depends on: 497494
You need to log in before you can comment on or make changes to this bug.