Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.15.0, 5.15.1
-
None
Description
See attached screenshots and qml (paste in 'new qt quick project').
The qml creates one visible and one invisible rectangle and then flips their visibility after a second.
The visible rectangle contains a textfield with a text and that field has focus, therefor the onscreen keyboard is shown.
The invisible rectangle contains no textfield, just a small rectangle to help find its location.
When visibility flips, a click/longpress on the now visible small rectangle will for example trigger the 'select all' of the text in the hidden textfield and thus show the text selection markers as well as the popup dialog to cut/copy/etc.
It should not be possible to interact with the invisible textfield this way, nor should the keyboard stay visible when the textfield becomes invisible (the democode now hides the keyboard), obviously the textfield keeps focus even when it becomes invisible.
Attachments
Issue Links
- relates to
-
QTBUG-87190 Application freezes when there is no control to focus next
- Closed