https://bugs.kde.org/show_bug.cgi?id=490469
Bug ID: 490469 Summary: Applications started via custom shortcut do not have ICEAUTHORITY defined Classification: Plasma Product: plasmashell Version: 5.27.11 Platform: Gentoo Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Session Management Assignee: plasma-b...@kde.org Reporter: o.freyerm...@googlemail.com CC: natalie_clar...@yahoo.de Target Milestone: 1.0 SUMMARY KDE/Qt applications started via a user-defined shortcut do not have `ICEAUTHORITY` set in their environment and hence can not be session-restored. STEPS TO REPRODUCE 1. Go to "Custom Shortcuts" in system settings and add your own shortcut to start "konsole", e.g. "Alt+F2". 2. Save and apply, then press the shortcut "Alt+F2". OBSERVED RESULT The opened "konsole" is not session-restored. Starting other KDE/Qt applications from within, e.g. another "konsole", reveals the message: ``` Qt: Session management error: None of the authentication protocols specified are supported ``` Checking the environment: ``` $ echo $ICEAUTHORITY $ echo $SESSION_MANAGER local/alien17:@/tmp/.ICE-unix/30501,unix/alien17:/tmp/.ICE-unix/30501 ``` reveals `ICEAUTHORITY` is not defined, but `SESSION_MANAGER` is. A "konsole" started via the launcher or krunner has both variables set as expected. EXPECTED RESULT `ICEAUTHORITY` to also be set for programmes started via custom shortcuts. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.116.0 Qt Version: 5.15.14 ADDITIONAL INFORMATION using an X11 session with OpenRC. Note that this is not a duplicate of https://bugs.kde.org/show_bug.cgi?id=487912 , Gentoo has backported that patch to the distro package I am using, and not all programmes are affected. -- You are receiving this mail because: You are watching all bug changes.