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

QTableView::setEditTriggers(QAbstractItemView::CurrentChanged) inconsistent behavior

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • Some future release
    • 4.6.2
    • Widgets: Itemviews
    • None
    • GNU/Linux Fedora release 8 (Werewolf)

    Description

      When setting a QTableView's edit trigger to QAbstractItemView::CurrentChanged, if the user is editing a cell and clicks in an empty area of the viewport, the editor widget is closed. When the user then clicks back into the same cell again, the editor widget is not created. The user has to first click in some other cell and then click back into the original one. I realize that when clicking in an empty area of the viewport, the editing cell still has focus (as indicated by the dotted outline within the cell). Still, if clicking in the viewport triggers the CurrentChanged signal, closing the editor widget, then clicking back in the cell should also trigger the CurrentChanged signal.

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            jugdish Jugdish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes