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

Entire bar crashes when switching window via launcher. #41

Closed
JakeStanger opened this issue Dec 3, 2022 · 5 comments · Fixed by #130 or #196
Closed

Entire bar crashes when switching window via launcher. #41

JakeStanger opened this issue Dec 3, 2022 · 5 comments · Fixed by #130 or #196
Labels
bug Something isn't working
Milestone

Comments

@JakeStanger
Copy link
Owner

JakeStanger commented Dec 3, 2022

Nothing logged, seems to be a hard panic from Wayland itself:

gdk-message error 71 (protocol error) dispatching to wayland display
@JakeStanger JakeStanger added the bug Something isn't working label Dec 3, 2022
@JakeStanger
Copy link
Owner Author

Looks like this is a problem with the latest version of sway/wlroots since I'm running the git packages. Using the latest release versions works.

Leaving this open as I suspect the next Sway/Wlroots release will cause issues.

@JakeStanger JakeStanger changed the title Entire bar crashses when switching window via launcher. Entire bar crashes when switching window via launcher. Dec 4, 2022
@JakeStanger JakeStanger added this to the 0.10.0 milestone Jan 27, 2023
@JakeStanger
Copy link
Owner Author

JakeStanger commented Jan 28, 2023

Bit more info on this one:

[1674922370.680254] -> [email protected](8)
[1089357.488] [email protected](nil, 4294967295, "surface was destroyed before its role object")
Gdk-Message: 16:12:50.680: Error 71 (Protocol error) dispatching to Wayland display.

Which is documented in protocol here: https://wayland.app/protocols/xdg-shell#xdg_surface:enum:error:entry:defunct_role_object

Can confirm this is still only occurring on the git version of sway/wlroots. Other compositors not tested.

@JakeStanger JakeStanger removed this from the 0.10.0 milestone Jan 28, 2023
@JakeStanger
Copy link
Owner Author

Also occurs on hyprland-git with wlroots-git.

@JakeStanger
Copy link
Owner Author

The smithay-client library has updated to support wayland-protocols 0.30, which hopefully resolves this.

JakeStanger added a commit that referenced this issue Apr 29, 2023
JakeStanger added a commit that referenced this issue Apr 29, 2023
JakeStanger added a commit that referenced this issue Apr 29, 2023
JakeStanger added a commit that referenced this issue Apr 29, 2023
JakeStanger added a commit that referenced this issue Apr 30, 2023
JakeStanger added a commit that referenced this issue Apr 30, 2023
JakeStanger added a commit that referenced this issue May 1, 2023
JakeStanger added a commit that referenced this issue May 1, 2023
JakeStanger added a commit that referenced this issue May 1, 2023
@JakeStanger JakeStanger added this to the 0.12.0 milestone May 4, 2023
JakeStanger added a commit that referenced this issue May 5, 2023
@JakeStanger
Copy link
Owner Author

Re-opening because this seems to still be happening rarely. I think it's possibly related to a race condtition where the popup tries to close itself while already closed, but needs investigation.

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
1 participant