Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.8, 6.7.3, 6.8.2
-
Windows 11
-
-
38ce4ad2f (dev), 564132922 (6.10)
Description
When picking a color via QColorDialog's "Pick Screen Color" button, if the user switches windows using Windows Task View feature when switching back to the Qt application window, a color can only be picked by clicking on the displayed QColorDialog and clicking anywhere outside of the dialog in order to pick a color is not registered by the dialog.
To reproduce the issue, run the Qt Standards Dialog example project (Standard Dialogs Example)
- Select Color Dialog and click the "QColorDialog::getColor()" button
- Click the "Pick Screen Color" button on QColorDialog
- Ensure the crosshair cursor is displayed and colors on the screen are scanned
- Switch windows using Task View (press the Windows logo key + Tab) and select another window to come forward (press the left/right keys to navigate the windows and the Enter key to select a window)
- The crosshair cursor remains active for the screen except for the now active window
- Without clicking anywhere on the screen, switch back to Qt application window using Task View
- The crosshair cursor remains active, but a color can only be picked from the displayed QColorDialog and when clicking anywhere else on the screen the selected color is not registered by the dialog
Attachments
For Gerrit Dashboard: QTBUG-134143 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
650376,3 | QColorDialog: Stop color picking when application is deactivated | dev | qt/qtbase | Status: MERGED | +2 | 0 |
651131,2 | QColorDialog: Stop color picking when application is deactivated | 6.10 | qt/qtbase | Status: MERGED | +2 | 0 |