Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android copy paste menu and anchors in wrong position
Forum Updated to NodeBB v4.3 + New Features

Android copy paste menu and anchors in wrong position

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 2 Posters 371 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Michel de Boer
    wrote on 21 Feb 2025, 09:41 last edited by
    #1

    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
    World

    The second line is covered by the popup. I have selected the complete text.

    copypaste.jpg

    J 1 Reply Last reply 21 Feb 2025, 10:05
    0
    • M Michel de Boer
      21 Feb 2025, 09:41

      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
      World

      The second line is covered by the popup. I have selected the complete text.

      copypaste.jpg

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 21 Feb 2025, 10:05 last edited by
      #2

      @Michel-de-Boer You should mention the Qt version you're using

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Michel de Boer
        wrote on 21 Feb 2025, 10:13 last edited by
        #3

        Ah sorry. This is Qt6.8.2

        M 1 Reply Last reply 21 Feb 2025, 10:19
        0
        • M Michel de Boer
          21 Feb 2025, 10:13

          Ah sorry. This is Qt6.8.2

          M Offline
          M Offline
          Michel de Boer
          wrote on 21 Feb 2025, 10:19 last edited by
          #4

          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.
          copy.jpg

          J 1 Reply Last reply 21 Feb 2025, 12:31
          0
          • M Michel de Boer
            21 Feb 2025, 10:19

            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.
            copy.jpg

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 21 Feb 2025, 12:31 last edited by
            #5

            @Michel-de-Boer Worth checking the Qt bug tracker, could be a bug.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Michel de Boer
              wrote on 21 Feb 2025, 14:27 last edited by
              #6

              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

              1 Reply Last reply
              0

              3/6

              21 Feb 2025, 10:13

              • Login

              • Login or register to search.
              3 out of 6
              • First post
                3/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved