Black borders around the browser Window on startup (Bug 1893918 has returned)
Categories
(Core :: Widget: Win32, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr128 | --- | unaffected |
firefox131 | --- | unaffected |
firefox132 | --- | unaffected |
firefox133 | + | fixed |
People
(Reporter: mayankleoboy1, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(7 files)
43.74 KB,
text/plain
|
Details | |
400.33 KB,
video/mp4
|
Details | |
58.49 KB,
application/octet-stream
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Start Firefox
AR: As the browser opens, there is a flash of black border around the window.
ER: Not so.
Strong suspect: bug 1911763
Reporter | ||
Comment 1•5 months ago
|
||
Reporter | ||
Updated•5 months ago
|
Reporter | ||
Comment 2•5 months ago
|
||
Reporter | ||
Comment 3•5 months ago
|
||
I'm surprised nobody using windows noticed and filed a bug.
Reporter | ||
Comment 4•5 months ago
|
||
Logfile with "Windows" preset.
I started the browser and then enabled the logging. Then I pressed "Ctrl + N" to create a new Window (that had the black border)
Comment 5•5 months ago
|
||
Set release status flags based on info from the regressing bug 1911763
:emilio, since you are the author of the regressor, bug 1911763, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Updated•5 months ago
|
Comment 6•5 months ago
|
||
The bug is marked as tracked for firefox133 (nightly). However, the bug still isn't assigned.
:gcp, could you please find an assignee for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 7•5 months ago
|
||
I plan to look, yeah...
Assignee | ||
Comment 8•5 months ago
|
||
If we get a paint message in-between we set the attributes and we call Show(),
we might still incorrectly clear the NC area, even though we're still
displaying the blank window.
While debugging this I realized mShowingSkeletonUI is a bit of a misnomer,
see the comment there...
Assignee | ||
Comment 9•5 months ago
|
||
Drive-by. These get set in nsWindow::Create but probably best to avoid
uninitialized memory.
Assignee | ||
Updated•5 months ago
|
Updated•5 months ago
|
Assignee | ||
Comment 10•5 months ago
|
||
This maps better to the code we have in nsWindow, and fixes a couple
bugs which caused maximized skeleton UI-consuming windows to be
mispositioned with the following patches.
Assignee | ||
Comment 11•5 months ago
|
||
We're not resizing the window, so we shouldn't change mBounds.
These are all super-hacky btw, ideally we expose some code to
sessionrestore to do the right thing, then remove this.
But for now this would do.
Assignee | ||
Updated•5 months ago
|
Comment 12•5 months ago
|
||
![]() |
||
Comment 13•5 months ago
|
||
bugherder |
Comment 14•5 months ago
|
||
Comment 15•5 months ago
|
||
Comment 16•5 months ago
|
||
Emilio, the follow-up did not work, it caused another perma, so had to backout entire bug, sorry about that
Backed out 3 changesets (Bug 1922250) for causing failures in browser_1446343-windowsize.js CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=477973210&repo=autoland&lineNumber=13409
Backout: https://hg.mozilla.org/integration/autoland/rev/c62072ea1e6f851d71730472e8bf91011d53623e
Assignee | ||
Comment 17•5 months ago
|
||
No worries, thanks!
Comment 18•5 months ago
|
||
Comment 19•4 months ago
|
||
bugherder |
Comment 20•4 months ago
|
||
Comment 21•4 months ago
|
||
bugherder |
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Comment 22•3 months ago
|
||
I am still able to reproduce the issue on Firefox 133.0b9 and Firefox Nightly 134.0a1 (2024-11-17), using Windows 11, as described in Comment 0. I am also able to reproduce it with the builds from Comment 21.
@Emilio, should we reopen this or we can continue to track it in bug 1927460? Thanks in advance!
Assignee | ||
Comment 23•3 months ago
|
||
To be clear, can you reproduce it on a non clean profile? That should be fixed afaict. What you're seeing is likely bug 1927460.
Comment 24•3 months ago
|
||
I am unable to reproduce the issue with older profiles, but if I create a new profile, generate some navigation data, and then quit/reopen the browser, I am seeing the black border a few times (5 or 6 times). After that, the issue is no longer reproducing. Please see the screen recording (the file was to large to attach it): https://drive.google.com/file/d/1IOnMp9j13hJk75XpDEpfaAUwiBSxehUh/view?usp=sharing
Assignee | ||
Comment 25•3 months ago
|
||
Ok, I think using the restart button might not use the PreSkeletonUI, so that is bug 1927460 indeed. Let's track it there, it's good to have such an easy repro, thanks!
Comment 26•3 months ago
|
||
Thank you for the confirmation as well!
Removing the "qe-verify+" flag.
Description
•