Bug 434196 - No touchscreen support in kmail
Summary: No touchscreen support in kmail
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-09 17:30 UTC by Daniel Tang
Modified: 2021-06-18 05:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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