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

QTableView may commit data twice

    XMLWordPrintable

Details

    Description

      I haven't been able to narrow this down to a simple example, but it can also be reproduced with Qt Creator:

      • open: Preferences -> Analyzer -> CPU Profiler
      • press Add event
      • change Event Type to raw
      • double click Counter column
      • write r001
      • press tab

      That causes this to be printed to debug output:

      QAbstractItemView::commitData called with an editor that does not belong to this view
      

      It seems it has already called commitData and tries again, but the editor widget is already on its way to be destroyed.

      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
            poikelin Joni Poikelin
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes