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

QMessageBox: bad rendering if default button is not given as input

    XMLWordPrintable

Details

    • Windows

    Description

      Given the following:

      QMessageBox::warning(this, "Error", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod", QMessageBox::Yes | QMessageBox::No, QMessageBox::NoAll);

      Since QMessageBox::NoAll is not in the QMessageBox::StandardButtons given as input the result is as follows:

      IMPO, if default button is not part of the buttons given, then default to one of them.

       

      Attachments

        1. error.png
          error.png
          3 kB
        2. warningMsg.zip
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes