Project

General

Profile

Actions

Improvements #13163

open

WTableView touch selection behavior

Added by Andrey Alekseev 23 days ago. Updated 19 minutes ago.

Status:
InProgress
Priority:
Normal
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 16 days 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 19 minutes ago

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

Also available in: Atom PDF