Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.5.0
-
None
Description
It is hard to see a poped up dialog displayed on top of another window on Android (with and without Ministro, same issue).
When QDialog.exec() is called dialog is painted with no frame border and parent widget (QMainWindow or another QDialog) is not greyed out.
Attached is a little example, its main frame offers two buttons:
- One showing a QDialog based "Hello World"
- One showing a QMessageBox based "Hello World"
When first button is clicked, "Hello World" text appears in the middle of the parent widget, with same background and no border, user cannot tell if that's a popup or a control part of the parent widget....
When second button is clicked, native OS popup system is used. Then, parent widget is greyed and popup is displayed. It's then obvious for the user to understand they are two separate widgets displayed, one on top of the other.
Qt paint system should handle that. Either by:
- Greying out parent widget
- Drawing popup widgets with borders (possibly draggable so that it can be enlarged)
- Simply maximize the popup widgets to full screen so that parent widget would be completely hidden!