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

Calling QDialog::show() before showing parent window.

    XMLWordPrintable

Details

    • All

    Description

      Documentation does not specify if it is supported to call show on dialogs before parent window is shown (which also can be a dialog). E.g:

      main_window
      dialog (main_window)
      dialog2 (dialog)
      
      dialog2.show
      dialog.show
      main_window.show
      

      On X11 this at least does not seem to be supported by tested window managers. Note: I did not test very thoroughly.

      Is it a programming mistake to call show() in this order?

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            paeglis Gatis Paeglis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes