Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
6.8.2
-
None
-
-
2025wk10s1QtforAndroid
Description
I have a QML TextEdit field. When I press and hold, the Android copy/past menu pops up in a weird position (often hiding the text) and the selection anchors are positioned outside the text.
The image below has the text Hello\nWorld. I have selected all text. You can see the selection anchors way down.
Here is another example where the selection anchors are placed to the right of the text.
It seems that the anchors are displaced by the offset from the upper left corner to the screen to the position of the TextEdit.
Page { TextEdit { x: 20 y: 30 } }
With this code the anchors are place 20 pixels below and 30 pixels to the right.
This seems to be a bug in Qt6.8.2
When I build my code with Qt6.7.3 the anchors are placed in the correct position.
Attachments
Issue Links
- duplicates
-
QTBUG-132589 Android Edit text context menu pointers are in wrong place
-
- Closed
-