-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dark Theme Splash Screen is White #5631
Comments
One thing I forgot to mention (although apparent in the screenshots) is that I'm on Windows 10. I'm unsure if this occurs on other operating systems. Also, an example of a dark program that opens without a blinding light would be Steam. Thanks again for listening. |
@justingolden21 thanks for the feedback. I'm gonna ask if one of the team is able to see this behaviour themselves, because there's a couple of things in the repro steps that intrigue me:
desktop/app/src/main-process/app-window.ts Lines 45 to 47 in 741a553
|
I took a look at this and was able to reproduce it. To add some information:
Additionally, I was successfully able to change the color of this initial screen via the line of code shared by Shiftkey. This leaves me with a couple questions. This setting of the color is meant to fix subpixel AA.
|
@Daniel-McCarthy I think I can help you out about these questions:
I think this can be any opaque colour. We probably just settled on white because it fitted with the theme of the app (before we supported dark theme).
The theme is stored in local storage, which is owned by the renderer process. The setup to display the window is done in the main process, which doesn't have access to local storage at this stage. So that's not possible with how things are organized currently.
I'd love to figure out how full-screen is involved with this issue rather than applying workarounds. In theory we shouldn't be showing the desktop/app/src/main-process/app-window.ts Lines 213 to 215 in 0b7de43
|
@shiftkey In that case, to give some extra details: When starting in full-screen it seems that the window is immediately appearing with the custom Windows menu bar (File, Edit, View... etc) with the rest of the window being a white screen. Then the toolbar with the current repository/branch/status loads in. Then finally the UI view loads in. Though, when GitHub Desktop starts off in a non-full screen state, it would seem that it acts as expected. The instant it appears on screen, all sections do appear at the same time with no separate load-in visible. I will try debugging this and seeing if I can find anything that looks interesting with when it is deciding to call |
With dark theme selected, I think it'd be best to not have a blinding white light in fullscreen when opening the app. It only appears for a second, and I'm aware this isn't a bug, it's just an unimplemented feature. Below is a screenshot as is encouraged in issue tracking, however, as you can see, it's just white; not much to see...
Then after it opens I quickly get back to my nice dark theme:
But not until after I've been blinded. If it's possible to change this, I'm sure many of the dark theme users would appreciate it.
Thank you for listening and let me know if there's anything else I can do to report the problem accurately or fix the problem.
The text was updated successfully, but these errors were encountered: