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

QGuiApplication wrongly tries to ::tryCloseAllWindows() in QGuiApplicationPrivate::commitData()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.5.1
    • GUI: Window management
    • None

      Hi Qt developers,

      KDE developers argued about Session management issue in KDE5 https://bugs.kde.org/show_bug.cgi?id=341930

      There are some QTBUG reported already:
      QTBUG-46310 integrated by Qt5 v5.5.1
      QTBUG-45484 manually applied the patch https://codereview.qt-project.org/#/c/113901/

      But I found that ksmserver still missing some clients or windows when storeSession and performLegacySessionSave https://bugs.kde.org/show_bug.cgi?id=354724

      Andreas and Thomas argued that QGuiApplicationPrivate::commitData() (supposed to make sure that the session is saved) calls
      QApplicationPrivate::tryCloseAllWindows() which, when QGuiApplication::quitOnLastWindowClosed() is true, invokes
      QApplication::quit()

      it made ksmserver failed to handle session management correctly.

      Regards,
      Leslie Zhai

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

            Unassigned Unassigned
            lesliezhai Leslie Zhai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes