Details
Description
ColorPicker from QWebEngineView is not modal and leads to make application unresponsive
If you have Modal Dialog with QWebEngineView inside. And page contains
<input type="color" id="colorpicker" value="#ff0000" title="OrigInput" ;
This should make color picker modal for the parent dialog but on macOS it opens behind of Dialog box.
Attached example reproduces it
steps:
1. Run attached WebColorDialogIssue with QT Creator.
2. Click button "Open Dialog With QWebEngineView".
3. Click Red button in dialog 2
4. ColorPicker will is not modal and it shows behind of dialog2.
5. Close dialog 2
6. Close color picker
7. Try to close MainWindow, Observe it is frozen
Attachments
For Gerrit Dashboard: QTBUG-102099 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
403072,1 | Set QColorDialog modal | dev | qt/qtwebengine | Status: ABANDONED | 0 | 0 |
416599,3 | Do not use the native dialog to show the color picker on macOS | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
416858,2 | Do not use the native dialog to show the color picker on macOS | 5.15 | qt/qtwebengine | Status: MERGED | +2 | 0 |
417164,2 | Do not use the native dialog to show the color picker on macOS | 6.4 | qt/qtwebengine | Status: MERGED | +2 | 0 |
417165,2 | Do not use the native dialog to show the color picker on macOS | 6.3 | qt/qtwebengine | Status: MERGED | +2 | 0 |