Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1833

Title does not show on QMessageBox on mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.2.3
    • PySide
    • None
    • macOS

    Description

      The title does not show up when running QMessageBox.

       

      1. create python virtual environment
      2. pip install PySide6
      3. Put this in a file "simple.py":

       

      from PySide6.QtWidgets import QApplication, QMessageBox

      def info():
      msg = QMessageBox()
      msg.setWindowTitle("Info")
      msg.setText("Some info")
      msg.exec()

      if _name_ == "_main_":
      app = QApplication([])
      info()

       

      4. Run "python simple.py" 

       

      The title "Info" does not show. Attached is a screenshot of what I see.

       

      This is a simple example, but I am experiencing this same issue when I use QMessageBox.information() and QMessageBox.question().

       

      macbook air apple M1 chip

       

      Attachments

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              someredguy Mike Kinney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes