Bug 430787

Summary: When moving an email into a subfolder on KDE Plasma Wayland the context menu does not appear at the target subfolder
Product: [Applications] kmail2 Reporter: pugorg
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: herzenschein
Priority: NOR    
Version: 5.15.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 5.16.2
Attachments: Context menu in wrong place.

Description pugorg 2020-12-24 13:17:06 UTC
SUMMARY
This of course is misleading because of the expression [move|copy] "here" twice in the options, as they do not match the place they are referring to.

OBSERVED RESULT
On KDE Plasma Wayland: Drag and drop an email into a subfolder. A context menu
appears to choose whether to move here, copy here or cancel. This context menu
appears where the email was located before/where it was clicked to drag it into
the target folder.

EXPECTED RESULT
The menu should appear at the target folder instead, where the mouse button is
released.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.2
Comment 1 Thiago Sueto 2021-01-22 00:07:29 UTC
Created attachment 135047 [details]
Context menu in wrong place.

I can confirm this on current KMail from git.
Comment 2 Laurent Montel 2021-01-22 06:02:14 UTC
Git commit 6cfce924ed79d8860e99e53291a95e4bb21adbe6 by Laurent Montel.
Committed on 22/01/2021 at 06:01.
Pushed by mlaurent into branch 'release/20.12'.

Fix Bug 430787 - When moving an email into a subfolder on KDE Plasma Wayland the context menu does not appear at the target subfolder

I can't test it but I replace code as see in https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes
no change in xorg support.
FIXED-IN: 5.16.2

M  +1    -1    src/widgets/dragdropmanager.cpp

https://invent.kde.org/pim/akonadi/commit/6cfce924ed79d8860e99e53291a95e4bb21adbe6