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

            Bug ID: 473968
           Summary: Preference to launch app on Xwayland is ignored at
                    session restoration
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.7
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Session Management
          Assignee: plasma-b...@kde.org
          Reporter: ash...@linuxcomp.ru
  Target Milestone: 1.0

For the apps that you launch in XWayland, the session restoration launches them
as native Wayland apps.

I am using Qt Creator, and it has some graphical glitches on Wayland (dialog
windows shown with transparent areas until resized manually or moved to another
screen). I have edited the launcher to use X11.
Now, when I reboot, the app is restored, but it is launched natively on
Wayland.

STEPS TO REPRODUCE
1. My `System Settings | Desktop Session | On login, launch apps that were
open` is set to `On last logout`.
2. Install Qt Creator. Edit the application with right click, in the
Application tab add the `QT_QPA_PLATFORM=xcb` variable.
3. Open Qt Creator.
4. Reboot.
5. Log in to the Plasma Wayland session.
6. The Qt Creator is auto launched.

OBSERVED RESULT
It is launched natively on wayland platform. 

EXPECTED RESULT
The restoration should respect the user preference to launch the app with xcb
platform.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Graphics Platform: Wayland
Qt Creator: 11.0.1 (Based on Qt 6.5.2)

ADDITIONAL INFORMATION
As a workaround, I can add it to the Ignored applications in the System
Settings.

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

Reply via email to