rocksdanister / lively

Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
https://rocksdanister.com/lively
GNU General Public License v3.0
15.25k stars 1.07k forks source link

Select loading color for background #2452

Open AnthonMS opened 3 weeks ago

AnthonMS commented 3 weeks ago

Is your feature request related to a problem? Please describe. When Lively first loads up, it flashes bright white for a split second. It's like a quick flashbang from CS. Could be nice if there was a way to at least select the color of this loading flash.

Describe the solution you'd like Selecting a color so it shows this color instead of just a bright white screen.

Describe alternatives you've considered I don't know. It's a simple feature, not much else to do than being able to select your own "loading color".

Additional context Can't get a screenshot, it shows for less than a second. But it is very bright looking at the screen when it flashes this white screen before loading the actual wallpaper selected. I do have Dark Theme enabled on my machine and created a still image from the animated one I am using in Lively, as the default wallpaper on windows so the transition was a bit smoother. But this bright white flash can be very bright. Hopefully this makes sense.

rocksdanister commented 3 weeks ago

I have tried this in the past by setting: https://cefsharp.github.io/api/87.1.x/html/P_CefSharp_BrowserSettings_BackgroundColor.htm

Opaque background color used for the browser before a document is loaded and when no document color is specified.

The issue is with when no document color is specified which means if the webpage does not set a color for its body it overrides it, ie white page will appear with the custom color instead.

AnthonMS commented 3 weeks ago

Oh yeah okay, that sucks. But thanks for the quick reply and thank you for creating this in the first place. It's a really nice program and I will definitely still keep using it.

rocksdanister commented 3 weeks ago

I'll try a different approach, the white color is coming from the browser background and not the app.. I could try hiding the browser till a page is loaded (this only makes sense for local websites and not online since that needs to load in parts and can take time.)