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

QtreeWidget : currentItemChanged() is emitted with mouse press, not with mouse release

    XMLWordPrintable

Details

    Description

      If user left-clicks on an item in a QTreeWidget, a selection of the TreeWidget item is executed immediately, even if you do not release the mouse button.

      Please find the sample attached, when you press the mouse on an item and move the mouse to another item, currentItemchanged() is emitted.
      Ideally, it should be emitted when mouse is released on a particular item.

      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
            shmittal Shveta Mittal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes