Open Bug 846960 Opened 11 years ago Updated 2 years ago

Windows looks like freezed when alert() is shown while Firefox is being resized

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: obrufau, Unassigned)

Details

Attachments

(1 file)

Attached file alert_resize_bug.htm
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20130301 Firefox/22.0
Build ID: 20130301030909

Steps to reproduce:

I wrote some JavaScript code, which showed an alert() while I was resizing the browser.


Actual results:

It seemed that Windows was freezed, left mouseclick didn't work (the right one only the first time) and the cursor was the resizing arrow. And I couldn't accept the alert().

Then, it seems that the alert() stops Firefox from resizing but it thinks that it's being resized.


Expected results:

The alert() should have made Firefox stop thinking it was being resized.

I attach a simple example which shows an alert() when browser's width decreases from more than 500px to less than 500px, or vice versa.

Once it seems that Windows is freezed, it can be fixed pressing Alt+Tab
I can reproduce this with the latest Nightly, BuildID: 20130304030933.

After the alert shows, Windows freezes and I can't press the OK button. But after pressing Alt + Tab keys, Windows unfreezes and work properly.


Reproducible on the latest Aurora (BuildID: 20130304042010): Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20130304 Firefox/21.0

Reproducible on the latest Beta (BuildID: 20130227063501): Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0

Note:
1. This issue might be a regression: on Firefox 4 the behavior is totally different: when I resize the Firefox window, the alert doesn't show, and because of that, Windows doesn't get to freeze anymore.

I'll investigate, and come back with a regression range.
Here are the results of the testing performed on the released versions:

- Firefox 4: the alert doesn't show up (therefore, no Windows freeze)
- Firefox 5.0.1: the alert doesn't show up (therefore, no Windows freeze)
- Firefox 6.0.2: the alert doesn't show up (therefore, no Windows freeze)
- Firefox 7.0.1: the alert doesn't show up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 8.0.1: the alert doesn't show up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 9.0.1: the alert doesn't show up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 10.0.2: the alert doesn't show up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 11: the alert doesn't show up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 12: the alert doesn't show up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 13.0.1: the alert shows up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 14.0.1: the alert shows up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 15.0.1: the alert shows up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 16.0.2: the alert shows up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 17.0.1: the alert shows up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 18.0.2: the alert shows up + Windows freezes + Windows unfreezes after pressing Alt + Tab
- Firefox 19: the alert shows up + Windows freezes + Windows unfreezes after pressing Alt + Tab
I'm not able to obtain a regression window because while using mozregression, I get some errors. I've tried on 2 different XP machines, and I get the errors on both. 

I suspect the regression range would be between Firefox 6.0.2 (good) released on 2011-09-06 and Firefox 7.0.1 (bad) released on 2011-09-29.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Untriaged → DOM: Events
Product: Firefox → Core
Component: DOM: Events → Event Handling
Attachment #720177 - Attachment mime type: text/plain → text/html
Duplicates: bug 626963 and bug 846960.

I'm not sure which one to dupe as they are placed under different components an I'm not sure which component is correct.
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: