Closed Bug 394240 Opened 17 years ago Closed 16 years ago

Application Freeze upon "Confirm Setting Cookie" alert spawn while dragging application window.


(Firefox :: General, defect)

2.0 Branch
Not set





(Reporter: strength_rune, Unassigned)


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070725 Firefox/
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070725 Firefox/

If, in privacy settings, cookies are set to "ask me every time", the alert window spawns whenever a document is trying to set a new cookie in which a rule or exception has not already been created.   If the user is dragging the Firefox window (in Windows XP, that I know of) and then this cookie alert pops up, Firefox halts and becomes unresponsive, and must be terminated from the task manager.
I have found that this happens almost without exception if you are dragging a firefox window that is NOT the window that spawns the alert (in multiple window browsing)

Reproducible: Always

Steps to Reproduce:
1. Open Firefox
2. Set cookie settings to "ask me every time" (under Privacy, in Tools)
3. Open a second instance of Firefox in a new window (Preferably by right-clicking a URL and selecting "Open Link in New Window")
4. In the first instance, open a URL of a webpage that you have not visited (and thus has no cookie rule/exception established)
5. Immediately make the 2nd instance of firefox active, and drag the window... and continue dragging until the cookie alert window spawns
Actual Results:  
The firefox application locks up.   No instance or window of firefox is responsive.

Expected Results:  
The software should have spawned the alert window in the background.
zen, Good description, but can you supply a more exact set of steps with actual URLs?

I was unable to reproduce hang. But I was able to cause a tab to temporarily become unresponsive:
1. cleared cookies
2. open
3. immediately continuously drag window - seems to prevent opening of cookie dialog

- tab is left spinning 
- standard reload ctrl+r doesn't work to reload or free page
- rest of UI and window is responsive
- ctrl+shift+r worked to "free" and reload tab. 

conclusion - modal cookie window seems to only affect responsiveness of its corrersponding window
Version: unspecified → 2.0 Branch
zen, does this look like a duplicate of bug 100180?
I've had a couple of pings on this, so let me update.

First, there seems to be some confusion about my description.  It works only if you are working in separate firefox WINDOWS, not TABs. 

Secondly, I have found that there is a way to escape this problem.  Firefox does not freeze completely.  It is only the window that spawned the cookie alert that freezes.  If I use ALT-TAB, I can switch between firefox windows.   Cycling between the frozen window and unfrozen windows several times and returning, the cookie alert box becomes accessible again.

Basically, let me try to repeat the issue and attempt better clarity.

If you run multiple windows of Firefox, and an inactive window pops a cookie alert dialog, ALL of the firefox windows will become unresponsive to mouse clicks.
Not quite the same, but very similar:
If you are dragging from the location bar in order to create a bookmark and while still dragging a cookie window pops up, firefox freezes as well. (I suspect the reason is the same as for this bug)
Depends on: 100180
It's the identical underlying problem as bug 100180 describes. It doesn't depend on it but is more likely a dupe.

You can use the keyboard to accept/dismiss the cookie question.
Closed: 16 years ago
No longer depends on: 100180
OS: Windows XP → All
Hardware: x86 → All
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.