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

Ctrl+Backspace in QLineEdit calls QAction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.7.0
    • None
    • Linux

    Description

      What is wrong:
      When a QAction has Ctrl+Backspace as shortcut, it prevents to remove word in QLineEdit.

      What is expected:
      Ctrl+Backspace deletes word.

      Demo is attached:
      In line edit Ctrl+Left navigates, but Ctrl+Backspace calls action.
      In below item view both calls action.

      Proposed solution (not tested):
      Add QKeySequence::DeleteEndOfWord (related to http://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/kernel/qplatformtheme.cpp#n314 )
      and maybe other ones into list of processed sequences in ( http://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/widgets/qwidgetlinecontrol.cpp#n1563 )

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            chocimier chocimier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes