Closed Bug 173956 Opened 22 years ago Closed 22 years ago

Menu's and dialog interaction is sluggish during page loads

Categories

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

x86
Windows XP
defect

Tracking

()

VERIFIED FIXED
mozilla1.2beta

People

(Reporter: kmcclusk, Assigned: kmcclusk)

Details

(Keywords: perf, topembed)

Attachments

(1 file, 1 obsolete file)

When loading a long page Mozilla's menus are not always responsive to user input. 1. Load http://lxr.mozilla.org/seamonkey/source/layout/html/style/src/nsCSSFrameConstructor.cpp 2. Save it as a local file. 3. Load the local file. 4. Try opening menu's in mozilla or mfcembed while loading the local file. 5. Also try the find dialog box while loading the local file and enter search text What happens: The menus will not always open immediately. They are sluggish and sometimes they don't update until the mouse is moved. The dialog boxes are also sluggish.
Priority: -- → P1
Target Milestone: --- → mozilla1.2beta
Attachment #102584 - Attachment is obsolete: true
Comment on attachment 102585 [details] [diff] [review] Same as last patch with improved comments r=rods
Attachment #102585 - Flags: review+
Comment on attachment 102585 [details] [diff] [review] Same as last patch with improved comments sr=kin@netscape.com There are no other ways out of the content sink without the performance hint being reset back right? Even when the user hits cancel?
Attachment #102585 - Flags: superreview+
The performance hint should always be set back. DidBuildModel which resets the performance hint is called even if the user hits cancel. DidBuildModel is called when the parser is terminated either through completion of the parsing, or canceling the parsing. I tested: hitting cancel part way through document loading. Interupting the load of a long document by specifying a new URL. Closing a browser window when it was part way through loading a long document. All cases work fine. DidBuildModel was called and the flag is reset.
Keywords: approval
Status: NEW → ASSIGNED
Keywords: perf
Comment on attachment 102585 [details] [diff] [review] Same as last patch with improved comments a=asa for checkin to 1.2beta (on behalf of drivers)
Attachment #102585 - Flags: approval+
Fix checked into trunk.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
QA Contact: rakeshmishra → trix
verified on latest mozilla trunk build 2002122608
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: