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

Clean up interaction/code duplication between QDialog and subclasses for native dialogs

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Some future release
    • None
    • All

    Description

      QDialog's various subclasses (QMessageBox, QFileDialog, QFontDialog, QColorDialog, etc), all override large parts of the setVisible machinery, with various levels of code duplication resulting in slightly different behaviors.

      This is especially problematic for native dialogs, ie canBeNativeDialog, setNativeDialogVisible, and how those are interacting with Qt::WA_DontShowOnScreen, Qt::WA_WState_Hidden, and Qt::WA_WState_Visible.

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              vestbo Tor Arne Vestbø
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: