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

Edit trigger not working on repeated selection of a cell in QTableView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • Some future release
    • 4.6.2
    • Widgets: Itemviews
    • None
    • Linux 2.6.25.20-0.4-default x86_64
      openSUSE 11.0 (x86_64)
      3.5.9 "release 49.1"

    Description

      I am developing software for use with a touch screen, so on all QTableViews where I want the user to edit contents in cells I set the editTriggers of the table to QAbstractItemView::AllEditTriggers so that a single click starts the editing (double clicks are quite difficult to do on a touchscreen).

      Faulty behaviour:
      When I click a cell the editor shows.
      Then I click into the table in the space with no cells and the editor closes.
      Now if I click on the previously selected cell again the editor does not show up.
      A double click is needed to make the editor appear.

      I attached the Qt chart example with the only modification of
      table->setEditTriggers(QAbstractItemView::AllEditTriggers);
      in mainwindow.cpp:103

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            mbauer Michael Bauer
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes