Dark mode: Program start and end should be dark, too. · phcode-dev · Discussion #2148
Hey, wait a sec. This should be super quick, like barely noticeable. How long does the white screen stay for you?
3 replies
Hey, wait a sec. This should be super quick, like barely noticeable. How long does the white screen stay for you?
Thanks for your very fast reply. I think 1-2 seconds.
(The problem is because of my eyes are light sensible. I work in the dark and always use dark mode.)
I don’t think turning it into a dark screen is possible since it’s Tauri (the framework Phoenix is built on) handling the loading. But I’ll still look into it and see if we can do something.
Was looking into a fix, and it appears that it will be tricky as this is an underlying issue with tauri which is our main UI engine.
See tauri-apps/tauri#1564 , they have marked it as wont fix and closed it apparently. The hacks described is to hide the window till first render, which may be perceived as slow app boot. This could be a bit tricky to solve, let me try this out and see how bad the load speed is affected.
8 replies
We have moved this to high priority as this is an unacceptable use case for light sensitive users. Fix will be available in the next release scheduled for mid-end march.
Fix is now being tracked in #2149 . Please track progress there.
Thank you soo much.
For all the things we tried, the hacks tend to increase app start time to about 1 seconds+ on windows, which is unacceptable. The core problem is Tauri core behavior and there is very little we can do now with user space hacks. So we cant proceed with hacks from our end at this time.
I will follow up with Tauri to have a better fix in core for this. This may take longer to get fixed as i need to coordinate with Tauri for a fix on a bug that they tagged as wont-fix. I will try my best to get this done. Apologies for the inconvenience.
BTW, we can definitely make a private build for you with the one second delay fix, but you will need to manually handle the updates or disable auto update. Essentially we will need to create a private build on every update for this use case.
BTW, we can definitely make a private build for you with the one second delay fix, but you will need to manually handle the updates or disable auto update. Essentially we will need to create a private build on every update for this use case.
No, that wouldn't be necessary.
