Closed Bug 1665453 Opened 5 years ago Closed 5 years ago

Poll native events while loading xul.dll and other early libraries to prevent being flagged as not responsive

Categories

(Firefox :: General, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: alexical, Assigned: alexical)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

We need to poll for messages with PeekMessageW while waiting for xul.dll to load, otherwise the OS will flag us as not responsive and that will arguably be worse from a UX perspective than seeing nothing.

This is just a more correct name for what's going on.

Assignee: nobody → dothayer
Status: NEW → ASSIGNED

In the initial patches for bug 1656526, mhowell noticed that for startups which
take a very long time, if the user interacts with the skeleton UI window, the OS
will flag us as not responsive, which could be a poorer user experience than
seeing nothing. Since our UI is designed to look non-interactive anyway, we
assume that a better experience would be to simply squash the not responsive
response from the OS by trivially processing native events. It's not perfect in,
say, the event that startup is hung for some reason, but it's arguably preferable
to our old model of startup being hung, which was just nothing being displayed at
all.

Depends on D91004

Pushed by dothayer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ec0bad6c498a Rename EarlyBlankWindow to PreXULSkeletonUI r=agashlin
Keywords: leave-open
Pushed by dothayer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0bd98379fad4 Poll for native events in between prefetching early dlls r=agashlin
Keywords: leave-open
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: