SUMMARY When viewing a message in its own window (e.g. from the new mail notification), it would be nice to be able to archive the message from this window. There is no option to do this either in any of the menus or in the default toolbar, nor is there an option to add it. STEPS TO REPRODUCE 1. Open a message in its own window (e.g. by double-clicking it or selecting it and pressing enter) 2. Navigate through the menus searching for the archive action 3. Browse the customize toolbar menu searching for an archive button 4. There is no archive action in this UI OBSERVED RESULT There is no way to archive a message from the individual message view window EXPECTED RESULT It would be convenient to be able to archive a message when viewing it on its own. This is particularly helpful when viewing a message from the new mail notification window. Many messages I receive do not require action: I can read them and then immediately archive them. Being able to do this from the message view window means I do not need to open KMail itself (which constitutes a larger mental context switch) to archive it. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10
What do you mean by "archive email" ? What do you use in kmail apps for doing it ? Regards
Sorry I wasn't clear! What I mean by "archive email" is moving it to the Archive folder I have configured for the given account. I have bound the kmail > Archive action to a key and use this to move messages. It would be nice to be able to have this functionality (either via menu, keybinding, or toolbar) when viewing a message in its own window.
ok I see. I will look at how to implement it
(In reply to Laurent Montel from comment #3) > ok I see. I will look at how to implement it I've been trying to get this to work myself, so please don't worry about this for now :)
A possibly relevant merge request was started @ https://invent.kde.org/pim/kmail/-/merge_requests/97
Git commit 1e2e03f8030eba82f1a0985df03b5727535d549a by Laurent Montel, on behalf of Luna Celeste. Committed on 07/09/2023 at 07:23. Pushed by mlaurent into branch 'master'. Support archiving a message from its own window When viewing a message in its own window (e.g. by double-clicking it in the message list), it can be convenient to archive the message directly from that window instead of having to refocus the main window, select the message, and then archive it. Add a menu item for archiving a message. M +3 -1 src/kmail_part.rc M +3 -1 src/kmmainwin.rc M +3 -1 src/kmreadermainwin.rc M +22 -0 src/messageactions.cpp M +5 -0 src/messageactions.h https://invent.kde.org/pim/kmail/-/commit/1e2e03f8030eba82f1a0985df03b5727535d549a