Bug 504266

Summary: Labplot crashes during start
Product: [Applications] LabPlot2 Reporter: andreas.helzel
Component: frontendAssignee: Stefan Gerlach <stefan.gerlach>
Status: RESOLVED FIXED    
Severity: crash CC: strong.drum0546
Priority: NOR Keywords: wayland-only
Version First Reported In: latest   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description andreas.helzel 2025-05-15 13:48:24 UTC
SUMMARY
Starting the App lead to an immediate notification that it crashed.
Launching in terminal leads to:
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
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, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.


STEPS TO REPRODUCE
1. Install the flatpak version of LabPlot2 from flathub (on the Fedora Versions 41 and 42)
2. Try to launch the app

OBSERVED RESULT
Crash

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Flatpak under Fedora 41 and 42 Gnome

ADDITIONAL INFORMATION
Comment 1 Lenzoid 2025-05-19 20:31:32 UTC
Confirmed on Plasma/6.4 Beta and org.kde.labplot2 Version: 2.12.0.

Seems to be wayland specific. Application launches in X11. And also doesn't start in Gnome Wayland.
Comment 2 Stefan Gerlach 2025-06-09 11:33:29 UTC
Wayland is currently not well supported. Flatpak is now fixed to use X11 only.