glazewm icon indicating copy to clipboard operation
glazewm copied to clipboard

[bug] Crash "eats" windows?

Open melMass opened this issue 1 year ago • 10 comments

Hi,

I've been using glaze for a few weeks and I really enjoy it. I just got my first crash with it (the whole glaze widgets where stuck, WM stuff weren't responding)

I ended its task as it didn't want to shut cleanly from the tray icon's exit button.

Upon closing, all the windows scattered in various workspaces are gone.

So I was wondering two things:

  • Where do they actually went you think? Did they close or somehow became "unreachable" and like still there as ghost processes?
  • Similar to this I was wondering before how muliwindow apps (scattered on multiple workspace) can be "merged" back into the same space/start bar icon?

melMass avatar Nov 24 '23 14:11 melMass

Yep it seems they are 'ghost' process... I just installed merge windows and it retrieved the browser windows that were gone from that crash

melMass avatar Nov 24 '23 14:11 melMass

Most likely you are running an older version of GlazeWM. As of version 2.0.0, all managed windows are restored when the main process dies.

https://github.com/glazerdesktop/GlazeWM/releases/tag/v2.0.0

b1scu1t avatar Dec 12 '23 17:12 b1scu1t

Thanks, but I'm using the 2.0.3 version from scoop so I don't think that's it. I also had another similar one when "detaching" a tab from a browser window, that said tab disapeared and couldn't be retrieved from any space, I again use the MergeWindows chrome extension to retrieve them, just not sure how much it happens in other apps

melMass avatar Dec 12 '23 23:12 melMass

Happened to me today, all windows on different workspaces were gone. I used the GUIPropView from Nirsoft to get them back ("TopLevel - Display hidden windows") and them made them visible, but this was a pain. Using the latest GlazeWM 2.1.1

BobTB avatar Feb 04 '24 17:02 BobTB

Same for me on v2.1.1

caiiiycuk avatar Jun 07 '24 09:06 caiiiycuk

I think the best approach is to persist the workspaces so that relaunching glaze will use the last session

MoaidHathot avatar Jun 20 '24 20:06 MoaidHathot

Was this fixed?

BobTB avatar Jul 08 '24 19:07 BobTB

Was this fixed?

Unfortunately, not yet. I think we can't expect a fix before the rewrite work is done.

MoaidHathot avatar Jul 08 '24 20:07 MoaidHathot

yea it still happens to me as well but you can also use: https://www.nirsoft.net/utils/winlister.html to revive the lost windows

aaronedev avatar Jul 09 '24 06:07 aaronedev

@BobTB, @aaronedev, do you have the error logs with the exceptions?

MoaidHathot avatar Jul 09 '24 18:07 MoaidHathot

Restoring windows on exit has been overhauled in v3 - it should be a lot more stable now 👍

lars-berger avatar Aug 16 '24 04:08 lars-berger