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

QMessageBox::show problem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.3, 6.6
    • 6.5.2
    • None
    • Tested on 6.5.2 (single threaded, no async)
    • WebAssembly

    Description

      I have been playing with Qt for Webassembly quite a bit and recently I have noticed that the QMessageBox doesn't seem to update properly for smaller texts, for instance for the text:
      "Are you sure you want to save the table?"

      I get this:

      While for the text:
      "Are you sure you want to save the table? (this has a large text and because of that it works)"
      I get this:

       

      The first problem can be fixed by calling adjustSize() but that seems to be a workaround.

      In the desktop it works as expected (Windows at least).

      Attached is a small project that reproduces this issue.

      Attachments

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

        Activity

          People

            piwierci Piotr Wierciński
            qtuser32 Random Guy
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes