Bug 440874 - Folder list scrolls up when trying to drag message into folder
Summary: Folder list scrolls up when trying to drag message into folder
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2021-08-11 17:10 UTC by Dennis Schridde
Modified: 2024-01-04 17:49 UTC (History)
3 users (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 Dennis Schridde 2021-08-11 17:10:01 UTC
SUMMARY

When trying to drag a message from the message list of one folder into another folder (by moving it over a folder in the folder list), the folder list starts to scroll up to the top, moving the folders under the mouse and scrolling the intended folder out of view.

A workaround to be able to drag and drop messages into the target folder is to collapse all folders in the list, so that it cannot scroll further up.  This only works, if the target folder is visible when the list is fully scrolled up.

STEPS TO REPRODUCE

1. Expand some folders in the folder list
2. Open a folder so that its messages are shown in the message list
3. Drag a message from the message list over the folder list

OBSERVED RESULT

The folder list starts scrolling up once the mouse is moved over it.  It will keep moving even when the mouse is still.

EXPECTED RESULT

The folder list does not move on its own.

SOFTWARE/OS VERSIONS

Operating System: Gentoo Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.13.8 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 5 2400G with Radeon Vega Graphics
Memory: 13,5 GiB of RAM
Graphics Processor: AMD Radeon™ Vega 11 Graphics

ADDITIONAL INFORMATION

KMail 5.17.3

Under some circumstances, very seldomly, this magic scrolling does not happen.  I was however so far unable to reproduce that.
Comment 1 Arazil 2021-09-01 15:34:35 UTC
I have been able to reproduce this bug on the most recent Arch Linux release.

Additional Observations:
* The problem only occurs on the Wayland platform. The X11 platform is not impacted by this bug.
* This problem occurs regardless of input method (trackpad and USB mouse tested).
* My folder list is long enough to not fit on one page.

Specifications:
OS: Arch Linux x86_64 
Host: HP EliteBook 745 G6 DBXEnabled 
Kernel: 5.13.13-zen1-1-zen 
Resolution: 1920x1080 
DE: Plasma 5.22.5 
WM: kwin 5.22.5
WM Theme: Breeze 
Theme: Breeze Dark [Plasma], Breeze [GTK3] 
Icons: breeze-dark [Plasma], breeze-dark [GTK2/3] 
Terminal: konsole 
CPU: AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx (8) @ 2.300GHz 
GPU: AMD ATI 04:00.0 Picasso 
Memory: 9617MiB / 13917MiB
Kmail2 Version: 5.18.0 (21.08.0)
Comment 2 Stuart Morrison 2023-07-10 10:22:52 UTC
Can replicate.

Dragging a message into the folder list tree view causes it to scroll to the top of the list if the folder list tree view is scrollable due to size of folder list entries making it impossible to drop a message into any folders not at the top of the list.

This does not happen in a X11 session.

Operating System: Kubuntu 23.04
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-24-generic (64-bit)
Graphics Platform: Wayland