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

Swayfx mouse warping crashing Waybar when clicking on a window in wlr/taskbar #233

Open
CDTay opened this issue Nov 12, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@CDTay
Copy link

CDTay commented Nov 12, 2023

I posted this in the Waybar issue tracker already, but the issue only started happening once I switched from Hyprland to SwayFX despite mouse warping being activated on Hyprland, so it seems like related to switching to SwayFX meaning this may be a more relevant place.

When booting Waybar with the terminal, and using the wlr/taskbar module, it will often crash upon clicking one of the open window icons. It works for a while, but after a random amount of time (usually less than a minute) the next click on a taskbar icon will crash waybar. I moved to Sway from Hyprland, and didn't have the same issue with Hyprland, so I'm not quite sure what difference has caused this to start happening.

Below is the output waybar gives on the console when it crashes:

(waybar:9909): Gdk-CRITICAL **: 14:35:15.897: gdk_wayland_window_get_wl_surface: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

Gdk-Message: 14:35:15.897: Error 22 (Invalid argument) dispatching to Wayland display.

Currently using Arch

I also have it set in Sway so that my mouse warps to the focused container, could be related to some incorrectly configured click and drag event? After setting mouse_warping to none in ~/.config/sway/config it seems to have stopped, so my best guess is that it's related to sway moving the mouse at the same time the window is activated?

@CDTay CDTay added the bug Something isn't working label Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant