Closed
Bug 1001549
Opened 11 years ago
Closed 2 years ago
If a modal dialog comes up during a drag and drop operation, the drag image sticks around until modal is dismissed
Categories
(Core :: Widget: Win32, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mconley, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: tpi:+)
STR: 1) Go here in tab A: https://bug977957.bugzilla.mozilla.org/attachment.cgi?id=8383454 2) Open a new tab B, and go here: http://html5demos.com/drag 3) Go back to Tab A, and click on the button to start a 10 second timeout to open an alert dialog 4) Go back to Tab B, and start dragging one of the items around until the alert modal comes up AR: The alert modal freezes the drag image in place. Bug 100180 allows us to dismiss the modal dialog with our mouse, and then the drag image goes away. ER: The alert modal dialog should, if possible, both allow mouse interaction (which bug 100180 allows), but also eliminate the drag image so as to complete the illusion that the drag/drop operation has been cancelled. Steps to investigate: Replace what nsGlobalWindow::Alert does with a call to the native MessgeBox API for Windows. Let's see if testing this with that modification will cause the drag image to disappear. If it does, then there's a sign that there's an API (documented or not) that allows us to kill the drag image even when inside a nested event loop. If it doesn't make the image disappear, then maybe we're in as good a state as we can be in.
Updated•11 years ago
|
Summary: If an modal dialog comes up during a drag an drop operation, the drag image sticks around until modal is dismissed → If a modal dialog comes up during a drag and drop operation, the drag image sticks around until modal is dismissed
Comment 1•9 years ago
|
||
I suspect this is the key to several other problematic bug reports, including Thunderbird bug 458570, bug 948082, bug 439333 - at least on windows.
Comment 2•9 years ago
|
||
What is essential difference in phenomenon/problem between bug 1001549 and bug 1197598? > Bug 1001549 - If a modal dialog comes up during a drag and drop operation, > the drag image sticks around until modal is dismissed > Product=Core, Component=Widget: Win32 > Bug 1197598 - Notifications in Firefox (small gray rectangle in the right bottom corner of screen) > awfully cancel drag and drop operations > Product=ToolKit, Component=Notifiction and Alerts
Comment 3•9 years ago
|
||
Is "Toaster popup at right/bottom corner" implemented as modal dialog in Firefox./Thunderbird?
Comment 4•9 years ago
|
||
Adding bug 458570, bug 942610, bug 948082 to dependency tree for ease of tracking and analysis.
Comment 5•9 years ago
|
||
See Bug 1197598 Comment #6 for difference between toaster popup case and modaal dialog case, please. Toaster popup case and modal dialog case were absolutely diferent issue. Sorry for my confusion.
Updated•8 years ago
|
Priority: -- → P3
Whiteboard: tpi:+
Updated•2 years ago
|
Severity: normal → S3
Comment 6•2 years ago
|
||
This works for me - the drag image is removed as soon as you lift the mouse.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•