Initial start slows bookmarks toolbar if refresh rate is higher than 250Hz
Categories
(Core :: Layout, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox99 | --- | wontfix |
firefox100 | --- | fixed |
firefox101 | --- | fixed |
People
(Reporter: dj2000al, Assigned: smaug)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
22.93 KB,
text/plain
|
Details | |
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
dmeehan
:
approval-mozilla-release-
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0
Steps to reproduce:
- Install FF stable 99.0.
- Set monitor refresh rate 251Hz or higher.
- Launch initial start of the Firefox (no other firefox.exe must be in the memory).
FF 98.0.2 doesn't have this problem. Refresh rate 250Hz or lower = no problem. After mozregression it shows that this bug is regressed Bug 1756528.
https://www.reddit.com/r/firefox/comments/txniv7/ff_from_990_slows_bookmarks_toolbar_with_280hz/
Actual results:
Firefox window opens with empty bookmarks toolbar (you see the toolbar but no bookmarks and "Other bookmarks" button. Then after 1 second delay bookmarks and "Other bookmarks" button appear.
Expected results:
Firefox window opens with bookmarks toolbar and instantly loads bookmarks and "Other bookmarks" button in this area.
Updated•3 years ago
|
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Bookmarks & History' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
Set release status flags based on info from the regressing bug 1756528
Comment 3•3 years ago
|
||
:Jamie, since you are the author of the regressor, bug 1756528, could you take a look?
For more information, please visit auto_nag documentation.
Comment 4•3 years ago
|
||
Tentatively moving across to Core/Disability Access APIs since that's where this was introduced.
Comment 5•3 years ago
|
||
The regression range seems suspect.
If we use requestIdleCallback to fill the bookmarks toolbar, then I think we don't call those handlers unless the event loop is idle for >= 4ms. With a 250Hz animation, there are no >=4ms gaps.
Updated•3 years ago
|
The reported regression range includes other bugs:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=8b1c0d6df739e32fcef922e4aba4b73e11be974c&tochange=325ad2f9160cd59cffc6aee2c9924cfc36c72047
More likely regressed by Bug 1754562.
Assignee | ||
Comment 7•3 years ago
|
||
This is a frontend bug. Idle callbacks aren't guaranteed to be run ever (if something else is busy).
But given that there is such code in the frontend, perhaps we need to limit how much the RefreshDrivers in child processes can affect idle processing in parent.
Assignee | ||
Comment 8•3 years ago
|
||
But I guess I'll deal with this on core side anyhow.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 9•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
bugherder |
Assignee | ||
Comment 13•3 years ago
|
||
Comment on attachment 9271667 [details]
Bug 1763451, when refresh rate is very high, don't let it affect idle processing in the parent process too much, r=mstange
Beta/Release Uplift Approval Request
- User impact if declined: Possibly higher cpu usage, or things which Firefox frontend expects to execute soon, are executed a bit later.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce: https://bugzilla.mozilla.org/show_bug.cgi?id=1764197#c3 says this is verified.
This is a bit hard to test if one doesn't have machine with high refresh rate monitor. - List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This just reduces the affect bug 1754562 has.
- String changes made/needed: NA
Assignee | ||
Comment 14•3 years ago
|
||
Comment on attachment 9271667 [details]
Bug 1763451, when refresh rate is very high, don't let it affect idle processing in the parent process too much, r=mstange
Beta/Release Uplift Approval Request
- User impact if declined: See the beta approval. If there will be another release build, perhaps we could take this there too.
The issue happens on not-so-common machines, which why we didn't get any bug reports during Nightly or beta cycle. - Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky):
- String changes made/needed:
Comment 15•3 years ago
|
||
Comment on attachment 9271667 [details]
Bug 1763451, when refresh rate is very high, don't let it affect idle processing in the parent process too much, r=mstange
Approved for 100.0b6
Comment 16•3 years ago
|
||
bugherder uplift |
Updated•3 years ago
|
Comment 17•3 years ago
|
||
Comment on attachment 9271667 [details]
Bug 1763451, when refresh rate is very high, don't let it affect idle processing in the parent process too much, r=mstange
Now in RC week for fx100, there has been no driver for a 99.0.2 release
Updated•3 years ago
|
Description
•