Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

D&D throws dt.mozGetDataAt("application/x-moz-file", 0) is null

40 views
Skip to first unread message

neandr

unread,
Mar 7, 2011, 2:03:15 PM3/7/11
to
With an D&D action of an URL link to the statusbar I'm getting an error:
Error: dt.mozGetDataAt("application/x-moz-file", 0) is null
Source file: chrome://messenger/content/msgMail3PaneWindow.js
Line: 1250
The error is thrown already with "Drag" and repeats every time and as
soon as I change position.

Interestingly with "Drop" the expected function is executed.

Any ideas?
Günter

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303
Thunderbird/3.1.9

neandr

unread,
Mar 7, 2011, 2:42:07 PM3/7/11
to
I have to precise this finding:

That error is also thrown -
- with Drag an item from a Firfox page to the mail3pane (without Dropping)
- also without the extension I'm working on, so is it a general problem
with TB?

The item from FX can be
- a graphic (like http://almdorfammertal.de/images/sfstars.gif) or
- an ICS data link (like
http://www.sunbird-kalender.de/extension/kalender/Feiertage_AT.ics) or
- any other (like
http://www.sunbird-kalender.de/extension/kalender/#feiertage)

neandr

unread,
Mar 7, 2011, 3:03:54 PM3/7/11
to
Just tested with Miramar 3.3.a2 and without ANY addon! Same situation.

FX used for this test:


Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303

Firefox/3.6.15

Bug? Any known?

Günter

On 07.03.2011 20:03, neandr wrote:

Mook

unread,
Mar 8, 2011, 12:49:19 AM3/8/11
to

You can't actually get the data _during_ the drag, only on drop. The
flavour doesn't matter. The other side (due to various platform APIs)
don't have to provide you with anything until the operation finishes.

(Setting f-up to m.d.extensions, picking one out of my hat. Also, it
happens to be the one I actually read. Please try posting to one group
rather than many next time?)

--
Mook

neandr

unread,
Mar 8, 2011, 5:29:36 AM3/8/11
to
On 08.03.2011 06:49, Mook wrote:
> On 3/7/2011 11:03 AM, neandr wrote:
>> With an D&D action of an URL link to the statusbar I'm getting an error:
>> Error: dt.mozGetDataAt("application/x-moz-file", 0) is null
>> Source file: chrome://messenger/content/msgMail3PaneWindow.js
>> Line: 1250
>> The error is thrown already with "Drag" and repeats every time and as
>> soon as I change position.
>>
>> Interestingly with "Drop" the expected function is executed.
>>
>> Any ideas?
>> Günter
>>
>> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303
>> Thunderbird/3.1.9
>
> You can't actually get the data _during_ the drag, only on drop. The
> flavour doesn't matter. The other side (due to various platform APIs)
> don't have to provide you with anything until the operation finishes.
>
Yes, with getting data with "drop".
What I'm seeing are an "swamping" the error console with the msgs
posted. And that starts with dragging (not releasing) an object to the
mail3pane (not the pre-view pane!!) .. and continues with moving the cursor.

And with your next comment ..


> (Setting f-up to m.d.extensions, picking one out of my hat. Also, it
> happens to be the one I actually read. Please try posting to one group
> rather than many next time?)

..basically YES. Here I was not that sure if it's an extension (more
general or caused by personal 'error') or a *general* problem with TB.

As also posted: the error is with a clean, new defined profile with
Miramar (TB3.3a2) the same!

So .. a known bug?

Günter

Here the install strings of the apps used with test:
D&D source:


Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303

Firefox/3.6.15

D&D destinations:


Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303
Thunderbird/3.1.9

Mozilla/5.0 (X11; Linux i686; rv:2.0b10pre) Gecko/20110114 Thunderbird/3.3a2

Neil

unread,
Mar 8, 2011, 7:14:49 AM3/8/11
to
Mook wrote:

> On 3/7/2011 11:03 AM, neandr wrote:
>
>> With an D&D action of an URL link to the statusbar I'm getting an error:
>> Error: dt.mozGetDataAt("application/x-moz-file", 0) is null
>> Source file: chrome://messenger/content/msgMail3PaneWindow.js
>> Line: 1250
>> The error is thrown already with "Drag" and repeats every time and as
>> soon as I change position.
>

> You can't actually get the data _during_ the drag, only on drop. The
> flavour doesn't matter. The other side (due to various platform APIs)
> don't have to provide you with anything until the operation finishes.

That's a shame, because ThreadPaneOnDragOver is trying to see whether
you're dragging a .eml file.

> (Setting f-up to m.d.extensions, picking one out of my hat. Also, it
> happens to be the one I actually read. Please try posting to one
> group rather than many next time?)

Not necessarily wrong, since it's presumably a Thunderbird development
bug. (And also SeaMonkey in its equivalent DragOverThreadPane method.)

--
Warning: May contain traces of nuts.

neandr

unread,
Mar 8, 2011, 8:18:28 AM3/8/11
to
On 08.03.2011 13:14, Neil wrote:
> That's a shame, because ThreadPaneOnDragOver is trying to see whether
> you're dragging a .eml file.

Known bug? .. or how to handle?

0 new messages