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

XCB: Qt packages are built without session management support

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.1.2, 6.2.0 Alpha, 5.15
    • Packaging & Installer
    • None
    • KDE
    • 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

        1. qtbug95004.zip
          1 kB
          Friedemann Kleint

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes