Closed Bug 562263 Opened 14 years ago Closed 12 years ago

Javascript alert() or confirm() or HTTP authentication dialog while dragging and object hangs UI

Categories

(Firefox :: General, defect)

3.6 Branch
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 100180

People

(Reporter: animerth, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)

Dragging any UI element (tabs, bookmarks, images, links, etc) when a JavaScript alert() or confirm() or HTTP basic authentication dialog pops up renders the UI un-responsive. The browser seems to hang with no CPU utilization and must be killed with task manager.

Reproducible: Always

Steps to Reproduce:
1. Visit http://www.w3schools.com/js/tryit.asp?filename=tryjs_timing1
2. Click the button to display a JavaScript alert after 3 seconds
3. Within those 3 seconds grab an object to drag with your mouse, this includes but is not limited to a tab, bookmark, or link.
4. Hold the mouse button as if your still dragging the object until the alert appears 
5. Notice the UI becomes un-responsive to any type of input and must be killed manually 
Actual Results:  
The browser seems to hang with no CPU utilization and must be killed with task manager.

Expected Results:  
The browser allows the user to interact with the dialog box and drops the dragged object.

Tested on Win 7 with Firefox 3.6.3, also tested on Ubuntu 8.04 with Firefox 3.6 with same results.
OS: Windows 7 → All
Hardware: x86 → All
On Windows 7 (32-bit) and Firefox 3.6.3, the dialog box does respond to the 'Enter' key, as well as to the 'Escape' key, but no mouse events are fired.

Additionally, the expected outcome is also confusing-
Should the object be dropped where the mouse was when the dialog appeared? Or should the dialog appear after the drop? Or should the drag be cancelled completely so as to respond the the dialog?
Version: unspecified → 3.6 Branch
Reporter, Firefox 4.0.1 has been released, and it features significant improvements over previous releases. Can you please update to Firefox 4.0.1 or later, and retest your bug? Please also create a fresh profile (
http://support.mozilla.com/kb/Managing+profiles), update your plugins (Flash, Java, Quicktime, Reader, etc) and update your graphics driver and Operating system to the latest versions available. 

If you still continue to see this issue, please comment. If you do not, please close this bug as RESOLVED > WORKSFORME

filter: prefirefox4uncobugs
I can confirm this bug on Nightly 7.0a1 build 20110603. Even though the alert is now in a tab, the entire UI still freezes, and will only respond to the keyboard.

Dragging the window also causes the same behavior as a tab, link, or text.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
V.Duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.