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

QTableWidget: Cell can be selected even if NoSelection mode is on

    XMLWordPrintable

    Details

    • Commits:
      qtbase#stable: 0cb2c760c219514849ab0f6be8e5368f92dfa5d9 and cc08fc7bfd1a5cf2da52d49b8b4989b33d3597cc

      Description

      QTableWidget cell stays selected when cells are navigated with the tab key and esc is pressed. QTableWidget has NoSelection set on.

      Steps to reproduce the issue:
      1. Run attached example application.
      2. Double click cell to edit.
      3. Press tab.
      4. Press escape.

      -> Cell stays "selected" even after pressing the escape key.

      As a temporary workaround one can implement keyReleaseEvent and clear table selection once the escape key is pressed.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kileppal Kimmo Leppälä
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes