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

QMessageBox does not look native on Mac OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 4.6.2
    • GUI: Look'n'Feel
    • None
    • Mac OS X 10.6.2, Qt 4.6.2
    • 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

        1. messagebox.zip
          76 kB
          Dair Grant
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            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