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. problem for text inputs and edits when selecting text then pressing backspace
Forum Update on Monday, May 27th 2025

problem for text inputs and edits when selecting text then pressing backspace

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 558 Views
  • 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.
  • D Offline
    D Offline
    developer-123 0
    wrote on 28 Jul 2019, 06:29 last edited by developer-123 0
    #1

    in qml and c++ text boxes like QTextEdit and QLineEdit .. etc
    when I select the text in the box either by 2 touches or by moving the cursor to select the text or pressing select all from the android context menu, then pressing backspace to delete the contents the content is deleted but !
    when I retype again then press space the deleted content appears again after the word I wrote
    I even tried to install an event filter and handle backspace key
    the filter works well and my functions deletes the selected text or the last letter but also the same behavior happens

    J 1 Reply Last reply 29 Jul 2019, 05:08
    0
    • D developer-123 0
      28 Jul 2019, 06:29

      in qml and c++ text boxes like QTextEdit and QLineEdit .. etc
      when I select the text in the box either by 2 touches or by moving the cursor to select the text or pressing select all from the android context menu, then pressing backspace to delete the contents the content is deleted but !
      when I retype again then press space the deleted content appears again after the word I wrote
      I even tried to install an event filter and handle backspace key
      the filter works well and my functions deletes the selected text or the last letter but also the same behavior happens

      J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 29 Jul 2019, 05:08 last edited by
      #2

      @developer-123-0 Sounds like a bug to me.
      Which Qt version is this?

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

      1 Reply Last reply
      1
      • D Offline
        D Offline
        developer-123 0
        wrote on 29 Jul 2019, 09:53 last edited by developer-123 0
        #3

        @jsulm I use qt 5.13 built with ndk r20 and using android-clang
        did you also see the same problem ?

        J 1 Reply Last reply 29 Jul 2019, 10:25
        0
        • D developer-123 0
          29 Jul 2019, 09:53

          @jsulm I use qt 5.13 built with ndk r20 and using android-clang
          did you also see the same problem ?

          J Online
          J Online
          jsulm
          Lifetime Qt Champion
          wrote on 29 Jul 2019, 10:25 last edited by
          #4

          @developer-123-0 said in problem for text inputs and edits when selecting text then pressing backspace:

          did you also see the same problem

          No, but I don't do anything on Android currently.
          You can check Qt bug tracker.

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

          1 Reply Last reply
          0

          1/4

          28 Jul 2019, 06:29

          • Login

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