lively icon indicating copy to clipboard operation
lively copied to clipboard

Explorer.exe reloads and Lively crashes after waking from sleep and showing desktop

Open SamMed05 opened this issue 2 months ago • 6 comments

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:

  1. Keep a fullscreen window open for a while.
  2. Leave the PC idle (possibly entering sleep mode).
  3. After resuming, click "Show desktop" using the bottom-right button on the taskbar or Win + D.
  4. 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

lively_log_20251007_214829.zip

SamMed05 avatar Oct 07 '25 19:10 SamMed05

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.

rocksdanister avatar Oct 07 '25 21:10 rocksdanister

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 :(

SamMed05 avatar Oct 08 '25 20:10 SamMed05

It could be the wallpaper, shadertoy fullscreen shaders can be quite taxing.. its possible your system is running out of resources/leak?

rocksdanister avatar Oct 10 '25 04:10 rocksdanister

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.

SamMed05 avatar Oct 10 '25 05:10 SamMed05

我也遇到了。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:

Image

希望开发者可以尽快修复,比如实时监听某些窗口的句柄,一旦改变就重新设置窗口位置及大小。

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

qingyu-fr avatar Nov 01 '25 14:11 qingyu-fr

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.

rocksdanister avatar Nov 01 '25 15:11 rocksdanister