-
Type:
Bug
-
Status: Closed
-
Priority:
P4: Low
-
Resolution: Incomplete
-
Affects Version/s: 5.0.1
-
Fix Version/s: None
-
Component/s: Widgets: Widgets and Dialogs
-
Labels:None
-
Environment:Mac only
-
Platform/s:
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(); }
- relates to
-
QTBUG-69777 QML Window with Qt::Popup flag not behaving correctly (mouse not grabbed)
-
- Reported
-