Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95004

XCB: Qt packages are built without session management support

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15, 6.1.2, 6.2.0 Alpha
    • Fix Version/s: None
    • Component/s: Packaging & Installer
    • Labels:
      None
    • Environment:
      KDE
    • Platform/s:
      Linux/X11

      Description

      The Library libsm (package libsm-dev) needs to be installed for this to work. Otherwise, notification of session logouts via signal QGuiApplication::commitDataRequest do not work .
      An empty QGuiApplication::sessionId() indicates that.

      Steps to reproduce

      • Run the example
      • Expected: A non-empty sessionId is logged and session logoff causes a log entry for commitDataRequest
      • Actual
        C++, Qt 5.15.4 xcb fusion () 
         QT_CONFIG[sessionmanager] sessionId="", sessionKey="" 
        Logging to  log.txt
        

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-95004
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              releaseteam Qt Release Team
              Reporter:
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are 2 open Gerrit changes