Poll native events while loading xul.dll and other early libraries to prevent being flagged as not responsive
Categories
(Firefox :: General, enhancement)
Tracking
()
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.
Assignee | ||
Comment 1•5 years ago
|
||
This is just a more correct name for what's going on.
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
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
Assignee | ||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
bugherder |
Description
•