[GH-ISSUE #41] Entire bar crashes when switching window via launcher. #8459

Closed
opened 2026-05-23 03:52:13 +01:00 by JakeStanger · 5 comments
Owner

Originally created by @JakeStanger on GitHub (Dec 3, 2022).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/41

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

gdk-message error 71 (protocol error) dispatching to wayland display
Originally created by @JakeStanger on GitHub (Dec 3, 2022). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/41 Nothing logged, seems to be a hard panic from Wayland itself: ```` gdk-message error 71 (protocol error) dispatching to wayland display
Author
Owner

@JakeStanger commented on GitHub (Dec 3, 2022):

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.

<!-- gh-comment-id:1336159342 --> @JakeStanger commented on GitHub (Dec 3, 2022): 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.
Author
Owner

@JakeStanger commented on GitHub (Jan 28, 2023):

Bit more info on this one:

[1674922370.680254] -> zwlr_foreign_toplevel_handle_v1@4278190081.activate(8)
[1089357.488] wl_display@1.error(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.

<!-- gh-comment-id:1407430803 --> @JakeStanger commented on GitHub (Jan 28, 2023): Bit more info on this one: ``` [1674922370.680254] -> zwlr_foreign_toplevel_handle_v1@4278190081.activate(8) [1089357.488] wl_display@1.error(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.
Author
Owner

@JakeStanger commented on GitHub (Jan 30, 2023):

Also occurs on hyprland-git with wlroots-git.

<!-- gh-comment-id:1408540649 --> @JakeStanger commented on GitHub (Jan 30, 2023): Also occurs on `hyprland-git` with `wlroots-git`.
Author
Owner

@JakeStanger commented on GitHub (Apr 22, 2023):

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

<!-- gh-comment-id:1518772654 --> @JakeStanger commented on GitHub (Apr 22, 2023): The `smithay-client` library has updated to support wayland-protocols 0.30, which hopefully resolves this.
Author
Owner

@JakeStanger commented on GitHub (May 20, 2023):

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.

<!-- gh-comment-id:1555924711 --> @JakeStanger commented on GitHub (May 20, 2023): 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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#8459
No description provided.