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

snap: Fixed crash on startup on Wayland #4145

Merged
merged 4 commits into from
Jan 15, 2025
Merged

Conversation

bjorn
Copy link
Member

@bjorn bjorn commented Jan 15, 2025

Such that the Tiled snap will hopefully start working again on Wayland based on XWayland.

Currently we're seeing this when trying to launch Tiled on Wayland:

$ snap run tiled
xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
qt.qpa.wayland: failed to create xkb context
QSocketNotifier: Can only be used with threads started with QThread
Segmentation fault (core dumped)

Such that the Tiled snap will hopefully start working again on Wayland
based on XWayland.
@bjorn
Copy link
Member Author

bjorn commented Jan 15, 2025

Removing Wayland support like this yields:

$ snap run tiled
qt.qpa.plugin: Could not find the Qt platform plugin "wayland-egl" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)

@bjorn bjorn merged commit fe1eadf into mapeditor:master Jan 15, 2025
11 of 12 checks passed
@bjorn bjorn deleted the snap-no-wayland branch January 15, 2025 15:00
@bjorn bjorn changed the title snap: Try to remove Wayland support snap: Fixed crash on startup on Wayland Jan 15, 2025
bjorn added a commit that referenced this pull request Jan 28, 2025
Ship the data needed by xkbcommon.

(cherry picked from commit fe1eadf)
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

Successfully merging this pull request may close these issues.

1 participant