Places Window ("All Downloads") initially shows up white even when using the dark theme, causing a flashing appearance
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
People
(Reporter: mkshadoff, Unassigned)
Details
Attachments
(1 file)
8.39 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0
Steps to reproduce:
- Open Firefox
- Open All Downloads
This only happens the first time it is opened after opening Firefox
Actual results:
Loading window was white
Expected results:
Loading window should be dark in dark mode
This is a video of the bug taken on my phone. A screen recorder seems to cause sufficient lag such that this no longer happens
Comment 2•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Downloads Panel' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•1 year ago
|
||
Moving to Bookmarks & History, as this is not specific to downloads, it's the window background that flashes white, so it should do it also for bookmarks, history and so on.
Emilio, is there anything special we must set on the window to ensure the initial background is dark?
Updated•1 year ago
|
Comment 4•1 year ago
|
||
I'd try to move around the UpdateDarkModeToolbar
call here, maybe right before nsWindow::Show()
. But other than that, no better ideas off-hand.
Comment 5•1 year ago
|
||
I am having a hard time trying to reproduce it on my system. I would like to ask you some questions that might help us address your issue:
- Does it reproduce ONCE every time you reopen the browser? Or does it only reproduce sometimes?
- What is the version of Firefox that you can consistently reproduce it on?
- Does it still reproduce consistently on the latest update of the application?
- What model of Graphic card are you using?
- Which theme do you have set in the browser? Is is "Dark" or is it "System theme - auto" with Dark Theme set in Windows?
Thank you very much!
(In reply to Daniel Bodea [:danibodea] from comment #5)
I am having a hard time trying to reproduce it on my system. I would like to ask you some questions that might help us address your issue:
- Does it reproduce ONCE every time you reopen the browser? Or does it only reproduce sometimes?
- What is the version of Firefox that you can consistently reproduce it on?
- Does it still reproduce consistently on the latest update of the application?
- What model of Graphic card are you using?
- Which theme do you have set in the browser? Is is "Dark" or is it "System theme - auto" with Dark Theme set in Windows?
Thank you very much!
It happens multiple times after opening the browser, seemingly every time
It happens on following system theme and dark mode
It reproduces consistently on 126.0.1 which is the most recent version
Graphics card is 3070 rtx
I dont know how much help this is but i recall there being a bug about how popups flash white in firefox and i think this may be a duplicate i will try to find that bug
(In reply to mkshadoff from comment #6)
(In reply to Daniel Bodea [:danibodea] from comment #5)
I am having a hard time trying to reproduce it on my system. I would like to ask you some questions that might help us address your issue:
- Does it reproduce ONCE every time you reopen the browser? Or does it only reproduce sometimes?
- What is the version of Firefox that you can consistently reproduce it on?
- Does it still reproduce consistently on the latest update of the application?
- What model of Graphic card are you using?
- Which theme do you have set in the browser? Is is "Dark" or is it "System theme - auto" with Dark Theme set in Windows?
Thank you very much!
It happens multiple times after opening the browser, seemingly every time
It happens on following system theme and dark mode
It reproduces consistently on 126.0.1 which is the most recent version
Graphics card is 3070 rtx
I dont know how much help this is but i recall there being a bug about how popups flash white in firefox and i think this may be a duplicate i will try to find that bug
Bug 1824053 is a bug about firefox popups initially appearing white i think this may be a duplicate
Comment 8•1 year ago
|
||
It would appear that the skeleton-UI is showing before the correct UI is painted. I could not reproduce it consistently on any of my systems, but it did very rarely reproduce, unable to determine an exact cause. That's why I have reason to believe that I suspect this bug to be somewhat specific to high-end systems, painting the skeleton-UI much faster than on lower-end systems.
I will be closing it as a duplicate of bug 1824053. Thank you for your report!
Comment 9•1 year ago
|
||
(In reply to Daniel Bodea [:danibodea] from comment #8)
It would appear that the skeleton-UI is showing before the correct UI is painted. I could not reproduce it consistently on any of my systems, but it did very rarely reproduce, unable to determine an exact cause. That's why I have reason to believe that I suspect this bug to be somewhat specific to high-end systems, painting the skeleton-UI much faster than on lower-end systems.
I will be closing it as a duplicate of bug 1824053. Thank you for your report!
*** This bug has been marked as a duplicate of bug 1824053 ***
Skeleton UI shouldn't be used for places windows, I think? Maybe Ray can clarify.
Comment 10•1 year ago
|
||
(In reply to Daniel Bodea [:danibodea] from comment #8)
It would appear that the skeleton-UI is showing before the correct UI is painted.
Nit: the "skeleton UI" only exists on the very first Firefox window, created before Firefox has been completely initialized, which isn't the case here. The skeleton UI is also dark-themed if appropriate; even if it were being shown here, it wouldn't be the problem.
That said, closing as duplicate for bug 1824053 is probably correct. (Though of course there's no way to know for sure until the fix ships.)
Updated•1 year ago
|
Description
•