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

Wallpaper do not pause when app is focused #2107

Closed syb3rYT closed 7 months ago

syb3rYT commented 7 months ago

Describe the bug Lap resources are being used a lot quite recently and doesnt pause when an app is focused

To Reproduce** Steps to reproduce the behavior:

  1. open lively
  2. Go to an app on fullscreen
  3. See that wallpaper still runs due to transparent taskbar

Screenshots/Video (screen recording was not working so i had to use my phone) WhatsApp Image 2024-02-04 at 00 56 54_d0cdd6b0

WhatsApp Image 2024-02-04 at 01 25 26_4e3a6cbe lively

https://github.com/rocksdanister/lively/assets/140216766/479d93c5-edc2-442b-89ee-81cf31c46604

Desktop (please complete the following information):

https://github.com/rocksdanister/lively/assets/140216766/6c23a881-9285-4a1f-876b-112e13b0dbbe

Expected behavior drops in fps as wallpaper doesnt pause and uses a lot of resources

Additional context this started maybe a week or two ago.

Log file (Important)

lively_log_20240204_005748.zip

rocksdanister commented 7 months ago

Lap resources are being used a lot

https://github.com/rocksdanister/lively/wiki/Performance

doesnt pause when an app is focused

Change pause algorithm From "Direct3D" to "Foreground process" the default.