Explorer.exe reloads and Lively crashes after waking from sleep and showing desktop
Describe the bug
A weird bug I'm having since installing v2.2.1.0 is that, if I leave a fullscreen window open and my PC enters sleep mode, Lively behaves unexpectedly after waking up: upon resuming from sleep and showing the desktop, explorer.exe force reloads and Lively closes completely right after that reload. If I reopen Lively, I can't set back the wallpaper and the tray icon disappears once the window is closed, instead of showing up there as usual. Therefore, I can't even save the error log without first rebooting my PC. I attached the one generated with the Log File button present in the System tab. This happens with both Shadertoy wallpapers and 3D parallax ones (I haven't tested videos yet).
Steps to reproduce
I can't reproduce this reliably but it happens quite often. It usually happens if I keep a full screen window open for a while, go afk (not sure if it only happens when sleep mode is being activated) then show the desktop with the bottom right button on the task bar. So:
- Keep a fullscreen window open for a while.
- Leave the PC idle (possibly entering sleep mode).
- After resuming, click "Show desktop" using the bottom-right button on the taskbar or
Win + D. - Observe that explorer.exe reloads and Lively crashes.
Expected behavior
Lively should remain running normally after waking from sleep and showing the desktop.
Screenshots/Video
No response
Operating system
Windows 11 24H2
Wallpaper running at the time (if any)
No response
Additional context
No response
Log file
Try the beta release, it has a few patches for pausing related hang.
If it still happens in beta there is a new experimental option in performance setting to reset wallpaper when waking up from sleep.
The problem with sleep is in some systems the chromium browser fails to restore state.. either due to the display driver or problem with itself.
Just tested with the PC going on sleep mode and waking up a few times, ~it never crashed so far!~
It crashed today while I was working normally (not immediately after awakening from sleep mode) and I could see from the translucent taskbar the moment it flashed and crashed (I think I was using Chrome in that moment). Explorer didn't reload but I still can't change the background unless I reboot. I tried the option to "restart wallpaper when returning from lock screen" but, just like trying to change it manually, nothing happens. I'm using the latest beta. Given the unpredictability, I still can't find a reliable way to reproduce this :(
It could be the wallpaper, shadertoy fullscreen shaders can be quite taxing.. its possible your system is running out of resources/leak?
Yeah it's totally possible... I will try with a different wallpaper, maybe a video, and see what happens. I was using a 3D/depth effect one earlier.
我也遇到了。Windows资源管理器(explorer.exe)重启后,壁纸消失。只有重新打开Lively Wallpaper主窗口时,壁纸才显示为左上角的一个小窗口。我有图片:
I also encountered this issue. After restarting Windows Explorer (explorer.exe), the wallpaper disappears. The wallpaper only displays as a small window in the-left corner when I reopen the Lively Wallpaper main window. I have images:
希望开发者可以尽快修复,比如实时监听某些窗口的句柄,一旦改变就重新设置窗口位置及大小。
I hope developers can fix it as soon as possible, such as real-time monitoring of some window handles, and reset the window position and size once it changes
I am already monitoring explorer restart, this is due to the recent core change I believe.. will try to change it.
If it still happens in beta there is a new experimental option in performance setting to reset wallpaper when waking up from sleep.
This should be a workaround for the wrong window size.