https://bugs.kde.org/show_bug.cgi?id=405599

            Bug ID: 405599
           Summary: Cannot run natively on Wayland KDE apps installled on
                    Gnome via flatpak/flathub
           Product: Qt/KDE Flatpak Runtime
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: aleix...@kde.org
          Reporter: bugsefor...@gmx.com
  Target Milestone: ---

SUMMARY
I have falkon and kdenlive installed via flatpak/flathub.
I can`t run such apps natively under Wayland on Gnome session when I set
QT_QPA_PLATFORM=wayland-egl environment variable in ~/.pam_environment file.

STEPS TO REPRODUCE
1. set QT_QPA_PLATFORM=wayland-egl environment variable in ~/.pam_environment
file
and restart Gnome Wayland session
2. install falkon or kdenlive via flatpak/flathub.
3. try to open the app installed in the previous step

OBSERVED RESULT
terminal shows errors

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use
QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Failed to create wl_display (No such file or directory)
Using Wayland-EGL
failed to initialize EGL display
qt.qpa.plugin: Could not load the Qt platform plugin "wayland-egl" in "" even
though it was found.
Fatal: 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, minimal, minimalegl, offscreen, vnc,
wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

EXPECTED RESULT
the app opens

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
Gnome Version: 3.32
KDE Frameworks Version: 5.56
Qt Version: 5.12.2

Additional info
I can run KDE apps (kate, gwenview and ark, for example) installed from Arch
repos.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to