Closed
Bug 179078
Opened 22 years ago
Closed 21 years ago
[gtk2] dnd to personal toolbar doesn't cancel properly
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: blizzard, Assigned: yinbolian)
References
Details
Attachments
(1 file, 2 obsolete files)
3.17 KB,
patch
|
asa
:
approval1.6b+
|
Details | Diff | Splinter Review |
From Matt Wilson:
Drag a link from the content area to a personal toolbar bookmark
folder. Keep holding the mouse button. Wait for the toolbar folder
to open. Then press Escape to cancel the DnD. The folder closes, but
the DnD icon doesn't go away until you click on it.
Assignee | ||
Comment 3•22 years ago
|
||
The same to prevent mozilla take grab from gtk as I used in bug #148996
Assignee | ||
Updated•22 years ago
|
Attachment #107991 -
Flags: review?(blizzard)
Assignee | ||
Comment 4•22 years ago
|
||
This patch prevent popmenu grab from gtk dnd, but can not do properly on the
popupped menu due to a gtk2 bug. see
http://bugzilla.gnome.org/show_bug.cgi?id=101512
Assignee | ||
Comment 5•22 years ago
|
||
included in gtk+-2.2.0 was the fix of
http://bugzilla.gnome.org/show_bug.cgi?id=101512
Comment 6•22 years ago
|
||
What is the status of this patch?
Assignee | ||
Comment 7•22 years ago
|
||
waiting for r=blizzard, but it seems he did not get time.
Status: NEW → ASSIGNED
Reporter | ||
Updated•21 years ago
|
Attachment #107991 -
Flags: review?(blizzard) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #107991 -
Flags: superreview?(Henry.Jia)
Attachment #107991 -
Flags: superreview?(Henry.Jia) → superreview+
Assignee | ||
Comment 8•21 years ago
|
||
Attachment #107991 -
Attachment is obsolete: true
Assignee | ||
Comment 9•21 years ago
|
||
Comment on attachment 107991 [details] [diff] [review]
patch
This is not for mozilla gtk2 build (NOT default build).
Attachment #107991 -
Flags: approval1.6b?
Comment 10•21 years ago
|
||
Comment on attachment 107991 [details] [diff] [review]
patch
>+PRBool
>+nsWindow::DragInProgress(void)
>+{
>+ // mLastDragMotionWindow means the drag arrow is over mozilla
>+ // sIsDraggingOutOf means the drag arrow is out of mozilla
>+ // both cases mean the dragging is happenning.
>+ if (mLastDragMotionWindow || sIsDraggingOutOf)
>+ return PR_TRUE;
>+ else
>+ return PR_FALSE;
My favorite if-else: just 'return mLastDragMotionWindow || sIsDraggingOutOf;'
and save the source codeprint, if not the compiler cycles optimizing away the
branches.
/be
Assignee | ||
Comment 11•21 years ago
|
||
Attachment #136336 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #107991 -
Flags: approval1.6b?
Assignee | ||
Updated•21 years ago
|
Attachment #136646 -
Flags: approval1.6b?
Comment 12•21 years ago
|
||
Comment on attachment 136646 [details] [diff] [review]
new patch (with change from Brendan's comment)
a=asa (on behalf of drivers) for checkin to 1.6beta
Attachment #136646 -
Flags: approval1.6b? → approval1.6b+
Assignee | ||
Comment 13•21 years ago
|
||
checked in Trunk.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•