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 303 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 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

    jsulmJ 1 Reply Last reply
    0
    • M Michel de Boer

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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 last edited by
        #3

        Ah sorry. This is Qt6.8.2

        M 1 Reply Last reply
        0
        • M Michel de Boer

          Ah sorry. This is Qt6.8.2

          M Offline
          M Offline
          Michel de Boer
          wrote on 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

          jsulmJ 1 Reply Last reply
          0
          • M Michel de Boer

            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

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on 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 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

              • Login

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