Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gnome Workspace Switching Causes Crash #49

Open
criticalkunic opened this issue Nov 10, 2023 · 5 comments
Open

Gnome Workspace Switching Causes Crash #49

criticalkunic opened this issue Nov 10, 2023 · 5 comments

Comments

@criticalkunic
Copy link

Not sure where logs are saved (if they are), or I'd post them. Essentially switching workspaces in X11 Gnome 45 causes the Jokolay app to close/crash. I've replicated this with alt-tab switching spaces, using a defined hotkey, and also using the new scroll over feature from Gnome 45.

Here's a video clip of it:

jokolay_crash.mp4
@coderedart
Copy link
Owner

The logs are usually at ~/.local/share/jokolay.

@criticalkunic
Copy link
Author

Got it. I've attached those. The most recent entries should be for the latest crash.

jokolay.log

@coderedart
Copy link
Owner

Is it actually gnome? or budgie?

Anyway, It seems like when you switch workspace, gw2 moves/resizes in the previous workspace (probably because the top window list panel seems to disappear, allowing the space to be used up by gw2). This causes jokolay to resize/reposition too, and then it just crashes while trying to resize the vulkan window surface.

I can switch workspaces fine on my kde. So, it probably has to do with the tiling/spacing thing maybe?

  1. Try making gw2 window fixed size (maybe make gw2 a floating window or remove that top window list thing ), so that it won't resize/reposition when you switch workspace.
  2. use a different DE/WM temporarily. In the next version, i will try to add logic to resize only if gw2 or jokolay are actually in focus, as this should ignore unnecessary resizes in background. I am also shifting to opengl (vulkan has issues with transparency on some wayland platforms), which might avoid this crash on resize.

@criticalkunic
Copy link
Author

criticalkunic commented Nov 10, 2023

Is it actually gnome?

Gnome 45 with Dash-to-Panel to move the top bar to the bottom.

Try making gw2 window fixed size (maybe make gw2 a floating window or remove that top window list thing ), so that it won't resize/reposition when you switch workspace.

If I do borderless windowed mode it doesn't crash. To be thorough I disabled all extensions and tried again in windowed mode (that window tab thing is an extension), and the crash happened. So it appears to be related to how Gnome specifically handles resizable windows when off screen. I decided to further test this theory by running the game in a virtual desktop at my wacky resolution of 2482x1281 and it didn't crash upon switching desktops.

@coderedart
Copy link
Owner

can you try with the latest release? It uses opengl, so might fix this issue of resizing in the background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants