Bug 485661 - Kmail popup windows closes when trying to copy or move message to folder
Summary: Kmail popup windows closes when trying to copy or move message to folder
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 6.0.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 495833 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-04-17 06:42 UTC by Gerald
Modified: 2024-12-21 16:47 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald 2024-04-17 06:42:03 UTC
***
If I want to copy a message to a folder (right mouse button - Message - copy to folder), the popup window is killed as soon as I click on copy to folder. I cannot select a folder. 
***

SUMMARY


STEPS TO REPRODUCE
1. Mark Message 
2. Right click - copy or move message to
3. Popup window closes automatically (before you can even select a folder)

OBSERVED RESULT
Popup window closes automatically

EXPECTED RESULT
I should be able to select to folder to which I want to copy or move the message

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  6.0.3 (wayland)
(available in About System)
KDE Plasma Version: 6.0.3
KDE Frameworks Version:  6.1.0
Qt Version: 6.7

ADDITIONAL INFORMATION
Comment 1 Roger Noble 2024-05-15 09:26:52 UTC
Happens with me as well. Also when trying to move a message between folders: the menu disappears as soon as I try to move below the Recent Folder item.
Comment 2 rob.dyck 2024-06-11 01:01:52 UTC
plasma 6.0.5
frameworks 6.3.0
QT 6.7.1
In other words, not fixed
Comment 3 rob.dyck 2024-06-11 01:02:14 UTC
plasma 6.0.5
frameworks 6.3.0
QT 6.7.1
In other words, not fixed
Comment 4 rob.dyck 2024-06-11 01:02:30 UTC
plasma 6.0.5
frameworks 6.3.0
QT 6.7.1
In other words, not fixed
Comment 5 Roger Noble 2024-07-18 10:57:31 UTC
This bug is still there in kmail 6.1.2, frameworks 6.3.0. It's really frustrating. I have messages in folders I can't move or copy because of this.
Comment 6 rob.dyck 2024-08-30 18:14:33 UTC
Still exists in Plasma6.1.4 and applications 24.8.0.

Side note
Dragging a message to a folder works. It;s just a problem with the secondary menu.
Comment 7 Colin J Thomson 2024-08-30 18:29:52 UTC
Also seeing this with the menu, as mentioned in comment #6 it works fine when dragging the messages.

Operating System: Fedora Linux 40
KDE Gear 24.08.0-1
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 8 adam 2024-09-04 15:19:05 UTC
This bug makes kmail extremely clunky to use and is new in Plasma 6. 

This behaviour is observed both when right clicking on a message and trying to get to a folder to copy or move to, or by starting from the menus in the menu bar -- Message -> Copy or Move Message To ... -> Anything in the folder list

Operating System: Gentoo
KDE Gear 24.05.2
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.7-gentoo-x86_64
Graphics Platform: Wayland
Comment 9 Roger Noble 2024-10-10 11:53:29 UTC
Since 24.08.1 it's got worse. Now I can't even use any of the Move Message To or Copy Message To entries, the menu just disappears as soon as the mouse is moved over these items. Previously at least the recently used folders items were accessible. Qt 6.7.2, frameworks 6.6.0, plasma 6.2.0.
Comment 10 Colin J Thomson 2024-10-10 18:34:44 UTC
(In reply to Roger Noble from comment #9)
> Since 24.08.1 it's got worse. Now I can't even use any of the Move Message
> To or Copy Message To entries, the menu just disappears as soon as the mouse
> is moved over these items. Previously at least the recently used folders
> items were accessible. Qt 6.7.2, frameworks 6.6.0, plasma 6.2.0.

I am seeing the same here with 24.08.2
Comment 11 Thomas Fischer 2024-10-21 12:41:20 UTC
Can confirm the problem with Fedora Linux 40:
KMail 24.08.2
Qt 6.7.2
KDE Frameworks 6.7.0
Comment 12 adam 2024-10-22 20:05:28 UTC
(In reply to adam from comment #8)
> This bug makes kmail extremely clunky to use and is new in Plasma 6. 
> 
> This behaviour is observed both when right clicking on a message and trying
> to get to a folder to copy or move to, or by starting from the menus in the
> menu bar -- Message -> Copy or Move Message To ... -> Anything in the folder
> list
> 
> Operating System: Gentoo
> KDE Gear 24.05.2
> KDE Plasma Version: 6.1.4
> KDE Frameworks Version: 6.5.0
> Qt Version: 6.7.2
> Kernel Version: 6.10.7-gentoo-x86_64
> Graphics Platform: Wayland

Still occurring with KMail 24.08.1, QT 6.7.2, and KDE Frameworks 6.6.0 (and newer according to other comments here)
Comment 13 Colin J Thomson 2024-11-05 17:40:26 UTC
*** Bug 495833 has been marked as a duplicate of this bug. ***
Comment 14 Achim25 2024-11-06 05:36:38 UTC
(In reply to Roger Noble from comment #9)
> Seit dem 24.08.1 ist es noch schlimmer geworden. Jetzt kann ich nicht einmal
> mehr die Einträge „Nachricht verschieben nach“ oder „Nachricht kopieren
> nach“ verwenden, das Menü verschwindet einfach, sobald die Maus über diese
> Elemente bewegt wird. Zuvor waren zumindest die Elemente der zuletzt
> verwendeten Ordner zugänglich. Qt 6.7.2, Frameworks 6.6.0, Plasma 6.2.0.

So ist es bei mir auch. Dann sollte sich schnell was ändern. Ich finde es schade!
Comment 15 Colin J Thomson 2024-11-25 08:47:47 UTC
FWIW, I still see this issue with Gear 24.11.80 beta with plasma and frameworks from git.
It only seems to be the "copy to" and "move to" options in every window, msg list, mail body, folder list etc. 

I tested "copy to and move to"  in other applications and it works as it should.

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.0
Kernel Version: 6.11.10-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 16 Roland Brand 2024-12-19 06:49:32 UTC
The issue seems to be related to the Wayland graphics platform. I switched back to X11, and moving messages works fine.

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2
Kernel Version: 6.11.10-amd64 (64-bit)
Graphics Platform: X11
Comment 17 Thomas Fischer 2024-12-19 13:20:07 UTC
(In reply to Roland Brand from comment #16)
> The issue seems to be related to the Wayland graphics platform. I switched
> back to X11, and moving messages works fine.
I can confirm this. There is no need to switch back to X11 for everything. Launching KMail the following way does the same trick:
QT_QPA_PLATFORM=xcb /usr/bin/kmail
See also:
https://community.kde.org/KWin/Wayland#Forcing_KDE_apps_to_run_as_X11
Comment 18 Colin J Thomson 2024-12-21 16:47:02 UTC
(In reply to Thomas Fischer from comment #17)
> I can confirm this. There is no need to switch back to X11 for everything.
> Launching KMail the following way does the same trick:
> QT_QPA_PLATFORM=xcb /usr/bin/kmail

Thanks for this, QT_QPA_PLATFORM=xcb /usr/bin/kontact works for me.
I wonder if the "product" should be moved to wayland?

Operating System: Fedora Linux 41
KDE Gear 24.12.0-1
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.10.0
Qt Version: 6.9.0
Kernel Version: 6.12.6-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland