Project

General

Profile

Actions

Bug #6260

closed

WTreeView - Mouse events fire multiple times

Added by Markus S about 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
02/28/2018
Due date:
% Done:

0%

Estimated time:

Description

Initially the mouse events fire only once, but for every time the column header is clicked to resort, the events seem to be connected another time.

The attached example app shows this behaviour.

After start clicking on the item "Click to test how often the mouse events fire" only shows one line of output, the modelIndex is valid.

Now resort the view clicking the column header "Click here reconnects events every time".

If you click now the item "Click to test how often the mouse events fire" again it will ouput an additional line for every time the column header was clicked.

The first fired event will have a valid modelIndex, the additional onces will have an invalid modelIndex.

The problem has been also mentioned here: https://redmine.webtoolkit.eu/boards/2/topics/14342

Tested with this version https://github.com/emweb/wt/commit/43dfa23586a93fc20d067b1e3e203de8ea9f08dd (Head of Wt3 Branch) and the latest Wt3 Release.


Files

Example.cpp (949 Bytes) Example.cpp Markus S, 02/28/2018 11:43 AM
Actions #1

Updated by Roel Standaert about 6 years ago

  • Target version changed from 3.3.10 to 3.3.11
Actions #2

Updated by Roel Standaert almost 6 years ago

  • Target version changed from 3.3.11 to 3.3.12
Actions #3

Updated by Roel Standaert over 5 years ago

  • Target version changed from 3.3.12 to 3.4.0
Actions #4

Updated by Roel Standaert almost 5 years ago

  • Status changed from New to Resolved
Actions #5

Updated by Roel Standaert almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF