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.49k stars 1.03k forks source link

Wallpaper keeps playing when non-focused window is full screen #2171

Closed RaSan147 closed 3 months ago

RaSan147 commented 4 months ago

Describe the bug Make a functionality to check all the active processes if they are full screen and on that display, because if I have a browser on full screen and working on a small file explorer window, the wallpaper keeps playing even when its not visible (found out using translucent TB). Its a pure waste of computation power and energy when pause on full screen is on. Even clicking task bar resumes the wallpaper.

To Reproduce Steps to reproduce the behavior:

  1. Enable Pause on fullscreen
  2. Set a video as wallpaper
  3. Make a window fullscreen
  4. Open a small window
  5. Use translucentTB to see if it keeps animating, or hover over the small window to peek on the window + active desktop animation

Expected behavior When this mode is enabled, if something is full screen, this should pause the wallpaper

Screenshots/Video

https://github.com/rocksdanister/lively/assets/34002411/7d6a8f96-2d95-4ac2-9d6e-98f5cc06217e

Desktop (please complete the following information):

Additional context

Log file (Important) lively_log_20240326_061034.zip