Bug 505899

Summary: Display the selected tags in the context menu directly, without having to display the dialog
Product: [Applications] kmail2 Reporter: Alexandre Bonneau <alexandre.bonneau>
Component: message listAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: montel
Priority: NOR    
Version First Reported In: 6.3.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Kmail not showing any menu entry for the selected custom tags
The selected tag is in a separate dialog, for from the initial right click

Description Alexandre Bonneau 2025-06-21 08:18:48 UTC
Created attachment 182474 [details]
Kmail not showing any menu entry for the selected custom tags

SUMMARY
In Kmail, when you add a custom tag to a mail, you need to open a dialog which shows all the available tags, which is ok.
However when you want to unselect a tag on an email, you need to right click to show the context menu, then go in 'Mark the message' > 'More...' then scroll to find the tags you want to unselect, then click ok.

Meanwhile, if you have a mail with the important tag on the 'todo' tag you can just right click to show the context menu, then go in 'Mark the message' > 'remove the important tag' or 'remove the todo tag', and that's it!

It would be much easier UX-wise if all the selected tags for an email would show up below the 'add/remove important/todo tag' line (see the red arrow on the attached screenshot), so you could remove them in one click.
Comment 1 Alexandre Bonneau 2025-06-21 08:19:34 UTC
Created attachment 182475 [details]
The selected tag is in a separate dialog, for from the initial right click
Comment 2 Laurent Montel 2025-06-21 11:51:03 UTC
I see that you are french too.
So what do you need ?
(Est ce que tu veux afficher en premier les tags selectionnés dans le menu avant ceux non selectionné ?)
(je vois pas ce que tu veux. On ne peut pas tout afficher car si il y en a trop ça fait une grande liste)
Comment 3 Alexandre Bonneau 2025-06-22 01:46:14 UTC
Yes I am, but for the sake of the issue I'll try to convey my meaning in a better, in English.

So, in my use case, and I guess for other users too, you might not have many tags assigned to each mail, if any.
The most I can think of is : Important + Todo + one or two custom tags

When right-clicking, I often find myself wanting to remove my custom tags (here, 'À relancer', which I use on emails that I know I'll need to check back later on).
I understand that it could be a long list to display if somebody were to select many tags, however right now you already have a long list that is not useful at all ; you get to see the first 10 tags in alphabetical order.
In my opinion it would be more logical to display there the tags that are actually already selected (and if there are more than 10, just let the user go into the 'show more...' menu entry).

> (Est ce que tu veux afficher en premier les tags selectionnés dans le menu avant ceux non selectionné ?)
So yes, that's exactly that!


If we are talking about improving the experience of using tags, then additionally on my end I know I use most of my custom tags for Korganizer tasks and event, and only 1 custom tag for Kmail, however this tag is far down in the tag list ; it would be great if Kmail could check which tags are the most used in the current mail account, and then display those tags in the context menu starting with the most used. While it makes sense from a user point of view, this maybe too complex to implement.

If you could have the selected tags in the menu, that would already be great!