Closed Bug 1577987 Opened 5 years ago Closed 5 years ago

Messages can't be moved from "Search Messages" windows via drag and drop (TB 68)

Categories

(Thunderbird :: Search, defect)

defect
Not set
normal

Tracking

(thunderbird_esr6869+ fixed, thunderbird70 fixed)

VERIFIED FIXED
Thunderbird 70.0
Tracking Status
thunderbird_esr68 69+ fixed
thunderbird70 --- fixed

People

(Reporter: jorgk-bmo, Assigned: aceman)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached patch 1577987.patchSplinter Review

So really the bug 1446609 removed the utilityOverlay.js, which is needed for some helper function called as part of dragging. So dropping was broken since then.
But then later bug 297251 removed the ondragstart event on the message rows and so since then even starting to drag wasn't working.

The third !tab hunk is just a polishing as when you try to drag over something outside the 3-pane tab (like main toolbar or error console) you get error in this _getDragTargetTab() as there is no target tab. It seems the callers must handle a null returned as there are already just return values in the function.

Assignee: nobody → acelists
Status: NEW → ASSIGNED
Attachment #9089618 - Flags: review?(jorgk)
OS: Unspecified → All
Regressed by: 297251
Hardware: Unspecified → All
Comment on attachment 9089618 [details] [diff] [review] 1577987.patch Nice detective work. Did I say "missing script". I was 50% right. Yes, bug 297251 removed https://hg.mozilla.org/comm-central/rev/f6e91a51bd51#l2.119 <treechildren ondragstart="ThreadPaneOnDragStart(event);"/> and added https://hg.mozilla.org/comm-central/rev/f6e91a51bd51#l4.201 <treechildren/> I think I'll blame it on the reviewer over there ;-)
Attachment #9089618 - Flags: review?(jorgk) → review+
Attachment #9089618 - Flags: approval-comm-esr68+

heh, yes it was removed because dnd didn't work, and it wasn't obvious it should or even be useful from there. i'll take the blame off aceman..

that dialog should really be integrated into 3pane. it's always being left out; look how long it took for someone to take pity on bug 297251.

Well, the drop part didn't work when you got to it. But it all worked in TB 60.

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/ebe8511fae07
fix drag and drop of messages for Search messages dialog by adding missing utilityOverlay.js and dragstart event handler. r=jorgk DONTBUILD

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 70.0

Working in 68.1.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: