Bug 434196

Summary: No touchscreen support in kmail
Product: [Applications] kmail2 Reporter: Daniel Tang <danielzgtg.opensource>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Tang 2021-03-09 17:30:27 UTC
SUMMARY

I can't scroll the email list and folder tree with a touchscreen.

STEPS TO REPRODUCE

1. Try to touch and scroll the list of emails with your finger
2. Try to touch and scroll the folder tree with your finger

OBSERVED RESULT

The touch is treated as if it was a mouse. This is not what one usually wants, and this makes it hard to scroll.

EXPECTED RESULT

The touch should scroll just like in Dolphin. The rest of the gestures from https://invent.kde.org/system/dolphin/-/commit/d7b33b76a18b14e9f286e4d8326b00910b9ea02a should also be supported.

ANALYSIS

I tried to add a QScroller to two classes with QTreeView in Akonadi Widgets. The folder tree started scrolling to touch, but the drag and drop was still active. This didn't work with the list of emails did not scroll at all.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Ubuntu 21.04
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kmail: kmail2 5.16.3 (20.12.3)
Comment 1 Bug Janitor Service 2021-05-18 13:28:35 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/messagelib/-/merge_requests/41