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

QMessageBox does not look native on Mac OS X

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Won't Do
    • Affects Version/s: 4.6.2
    • Fix Version/s: None
    • Component/s: GUI: Look'n'Feel
    • Labels:
      None
    • Environment:
      Mac OS X 10.6.2, Qt 4.6.2
    • Platform/s:
      macOS

      Description

      QMessageBox does not look like a native NSAlert dialog on Mac OS X.

      Attached is a small app which demonstrates the two dialogs, and shows the following differences (Qt 4.6.2, Mac OS X 10.6.2):

      • QMessageBox displays close/minimise/zoom widgets in the title bar, but a modal dialog should not have these widgets (not even in a disabled state).
      • QMessageBox displays a grow handle in the bottom right, although the window is not resizeable
      • QMessageBox packs the window contents too tightly compared to the standard NSAlert layout convention.
      • QMessageBox makes the buttons too small compared to the standard NSAlert button widths.
      • QMessageBox does not display the application icon

        Attachments

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

          Activity

            People

            • Assignee:
              sorvig Morten Sørvig
              Reporter:
              refnum Dair Grant
            • Votes:
              12 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes