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

QDialog child of a QDialog child of a QDialog is not on top...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.12.4
    • None
    • macOS

      I created nested QDialog so that any time you select OK, you get a new version of the same dialog.  So hit OK again, you get another one.  Hit, OK again, and yet another one.  When you hit Cancel, the dialog disappears.  Now if everything was working correctly, then the new dialog is always on top of all priors.  However, after the first child, then clicking on the window of any dialog that has a parent becomes the active top window.  You can't click on that child's buttons, but you can move the window to the top.  So you then have to search all the windows looking for the true latest generation for the buttons to work.

        1. LAUDialogTest.pro
          1 kB
          Daniel Lau
        2. lautestdialog.cpp
          0.8 kB
          Daniel Lau
        3. lautestdialog.h
          0.7 kB
          Daniel Lau
        4. main.cpp
          0.2 kB
          Daniel Lau
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            drhalftone Daniel Lau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes