After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787002 - Add shortcuts for Labels
Add shortcuts for Labels
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2017-08-30 07:43 UTC by v.pelcak
Modified: 2017-10-04 16:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description v.pelcak 2017-08-30 07:43:56 UTC
Hello.

I'm considering switching to Evolution.

However in Thunderbird I got used to quick shortcuts using numbers to assign tags to e-mails. That helps me to separate Done, Important, Urgent, Pending... 

For me it is really convenient when I can do this by single key as I'm receiving quite a lot of e-mails.

In Evolution, I have to right click, select Labels and then type of Label (although there are accelerators, clicking is still necessary).

It would be really useful for me and ATM it is a blocker for me.

Thank you very much.
Comment 1 Milan Crha 2017-08-31 06:31:27 UTC
Thanks for a bug report. Labels are tricky, because their menus are generated dynamically, but I think it's doable.
Comment 2 Milan Crha 2017-09-01 07:09:57 UTC
I made it with the below change. It's '0' for "None" and '1'..'9' for the first nine labels in the popup menu. They do not show up in the popup menu for me, even I believe I did everything right, but they are there and they are working.

Created commit 5f626e0 in evo master (3.25.92+)
Comment 3 v.pelcak 2017-09-01 08:36:03 UTC
That was fast.
Splendid. Thank you very much.
Comment 4 Milan Crha 2017-10-04 15:31:50 UTC
As reported downstream [1], this change has a side effect, one cannot type numbers on the standard keyboard (not numeric keyboard) in the search field and eventually elsewhere, because the actions "consume it".

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1498484
Comment 5 Milan Crha 2017-10-04 16:54:13 UTC
The fix is to allow labels only if the message list is focused, when also the context menu contains the Labels.

Created commit 0b6a4a7072 in evo master (3.27.1+)
Created commit 96f935b647 in evo gnome-3-26 (3.26.2+)