Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.5, 5.2.1, 5.3.0
-
0240110c58f0d6b694445f6685f0f77b14b769d8 (dev, 30.7.2014, 5.4)
Description
if a Subwindow in a QMdiaArea is created with few child input widgets it always assigns focus to first widget on activation after a new subwindow has been created.
Attached example reproduces this.
- Run the attached example qtbug38378.zip and click on "new subwindow" menu
- Note new subwindow has line edit #2 focussed
- Click on "new subwindow" again to create another subwindow
- Click on any line edit to give focus to that
- Now click on first subwindow's title bar to activate, you will see first line edit has the focus.
Attachments
For Gerrit Dashboard: QTBUG-38378 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
87754,4 | QMdiArea: Store focus widget when new QMdiSubWindow is added. | dev | qt/qtbase | Status: MERGED | +2 | 0 |