Android copy paste menu and anchors in wrong position
-
wrote on 21 Feb 2025, 09:41 last edited by
I have a QML TextEdit field. When I press and drag on text to select it the Android copy/paste menu pops up in an add position, often over the text you try to select, making the selection cancel. Also the selection anchors are shown far below the text, sometimes over the keyboard?
Do I something wrong, or is this a bug?In the image below are 2 lines of Text:
Hello
WorldThe second line is covered by the popup. I have selected the complete text.
-
I have a QML TextEdit field. When I press and drag on text to select it the Android copy/paste menu pops up in an add position, often over the text you try to select, making the selection cancel. Also the selection anchors are shown far below the text, sometimes over the keyboard?
Do I something wrong, or is this a bug?In the image below are 2 lines of Text:
Hello
WorldThe second line is covered by the popup. I have selected the complete text.
@Michel-de-Boer You should mention the Qt version you're using
-
wrote on 21 Feb 2025, 10:13 last edited by
Ah sorry. This is Qt6.8.2
-
Ah sorry. This is Qt6.8.2
wrote on 21 Feb 2025, 10:19 last edited by -
It seems that the anchor position is offset by the position from the TextEdit to the top and the left of the screen.
Here I have a TextEdit that is not on the left of the screen. Now the anchors are offset to the right.
@Michel-de-Boer Worth checking the Qt bug tracker, could be a bug.
-
wrote on 21 Feb 2025, 14:27 last edited by
It seems a bug indeed. When I build with Qt6.7.3 the anchors are positioned correctly.
I created this bug report: https://bugreports.qt.io/browse/QTBUG-133993
3/6