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

Clicking Mac title bar in other window doesn't close popup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: P4: Low
    • Resolution: Incomplete
    • Affects Version/s: 5.0.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Mac only
    • Platform/s:
      macOS

      Description

      1. Right-click line edit in "Window 1" and bring up context menu.
      2. Click title bar on "Window 2".
      => popup from "Window 1" doesn't close.

      #include <QApplication>
      #include <QWidget>
      #include <QLineEdit>
      
      int main(int argc, char *argv[])
      {
      	QApplication a(argc, argv);
      
      	QWidget widgetWindow;
      	widgetWindow.setFixedSize(200,100);
      	QLineEdit* edit = new QLineEdit(&widgetWindow);
      	widgetWindow.setWindowTitle("Window 1");
      	widgetWindow.show();
      
      	QWidget widgetWindow2;
      	widgetWindow2.setBaseSize(QSize(200,100));
      	widgetWindow2.setWindowTitle("Window 2");
      	widgetWindow2.show();
      
      	return a.exec();
      }
      

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                srutledg Shawn Rutledge
                Reporter:
                junozz Juno Kwak
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes