Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38200

Left/Right cursor keys in TextArea don't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.0
    • 5.3.0
    • Quick: Controls 1
    • None
    • Linux/Ubuntu
    • 2c58064fe0ae1c2a8abdb6425844785ebb2a09a5

    Description

      • Open the gallery example in qtquickcontrols/examples/quick/controls/gallery
      • Click into the TextArea
      • Use the cursor keys to move the cursor left and right

      (The up/down cursor keys are still working)

      The bug only appears when the application has a MenuBar.

      The reason for the bug is, that the key events are forwarded in the TextArea component and then accepted by the MenuBar (commit 5dc805c86077ee9 introduces the problem).

      I provided a patch which you can find here: https://codereview.qt-project.org/#change,83024

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bachewii Jens
            bkre Berthold Krevert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes