Project

General

Profile

Actions

Improvements #13163

open

WTableView touch selection behavior

Added by Andrey Alekseev about 2 months ago. Updated 30 days ago.

Status:
Review
Priority:
Normal
Assignee:
-
Target version:
Start date:
10/29/2024
Due date:
% Done:

0%

Estimated time:

Description

When scrolling WTableView contents on mobile, it changes selection before touch is released.
According to WTableView.js, current implementation only waits 0.5-1 sec between start end end of a touch. Of course it works when user uses kinetic scroll - gives some acceleration to a scroll area with one fast swipe. But when trying to scroll slowly, selection changes when it shouldn't.
I wonder why Signal<WModelIndex, WMouseEvent>& clicked() is not used for selection instead. I connected a simple logger to it, and I didn't see any false activations while scrolling.

Actions #1

Updated by Matthias Van Ceulebroeck about 2 months ago

  • Target version set to 4.11.3

Hey Andrey,

thanks for the report. We'll take a look at it soon!

Actions #2

Updated by Romain Mardulyn about 1 month ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #3

Updated by Romain Mardulyn 30 days ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions

Also available in: Atom PDF