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

QDialog is not top-level

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9.2, 5.12
    • Fix Version/s: 5.12.1
    • Component/s: GUI: Window management
    • Labels:
      None
    • Environment:
      Tested on openSUSE Leap 42.3 with 4.8.7 (OS), 5.6.2 (OS), 5.9.2 (self built), 5.11.2 (self built)
    • Platform/s:
      Linux/X11
    • Commits:
      0de4b326d8e02c228ebefcac1abe069c45cbb5c4 (qt/qtbase/5.12)

      Description

      A QDialog should be top-level. This is also stated in the Qt5 documentation: "A dialog window is a top-level window mostly used for short-term tasks and brief communications with the user." (http://doc.qt.io/qt-5/qdialog.html) But since Qt5 this is not the case anymore. Run attached file with Qt4 and it behaves as stated, but running it with Qt5 the dialog disappears in the background as soon as the main window has the focus.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              paeglis Gatis Paeglis
              Reporter:
              ablotz Alan Blotz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes