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
14.75k stars 1.05k forks source link

White wallpaper till I switch between two wallpapers (WebView2) #2051

Closed pickonedev closed 8 months ago

pickonedev commented 8 months ago

Describe the bug When the computer starts, the wallpaper it is already white/blank

To Reproduce Steps to reproduce the behavior:

  1. I used the installer app (not the windows store)
  2. Then I have installed/configured VLC and WebView2 plugins
  3. And I created a new website wallpaper with the link of my Home Assistant

Desktop (please complete the following information):

Additional context As far as I tested, seems that the problem it is from the WebView2 Plugin... If I use CefSharp, all good, no blank/white wallpaper, but I can't use Home Assistant with this plugin, because everytime I use Preview, in order to cache the login, when I set the wallpaper, it will ask me to login again, so... this is no use for me... Any solution to use the app with the WebView2 plugin? Thanks

rocksdanister commented 8 months ago

Webview2 is under development, do not create bug reports.

This should work login with CefSharp: https://github.com/rocksdanister/lively/wiki/Common-Problems#can-i-login-to-websites

pickonedev commented 8 months ago

Yes, but as I already said, CefSharp it is not working for me...

rocksdanister commented 8 months ago

Any solution to use the app with the WebView2 plugin?

It is under development so I am not taking any bug reports, there is no immediate plan to finish its development since its not readily modifiable like CefSharp.

Quick workaround would be to switch the wallpaper using commandline control.

pickonedev commented 8 months ago

I think it is not about switching the wallpaper, because I can switch it... The problem is that I cannot login to the webpage... And using preview to try and login, will not record any cache for the website to work logged in, as wallpaper. After I login with preview, still ask me to login in the wallpaper

rocksdanister commented 8 months ago

White wallpaper till I switch between two wallpapers

You can switch/set the same wallpaper again (WebView2) using commandline-control.

pickonedev commented 8 months ago

Yes, but this means to run that command everytime I login to my computer... Even if is automatically... It is not the ideal workaround. Can I do somenthing in order to work with the CefSharp?

rocksdanister commented 8 months ago

Windows task scheduler and .bat script with a start delay should do it automatically.

I don't use home assistant, so not exactly sure why disk cache is failing here.