Bug 2811

Summary: "Go to (configurable) folder" command availability to Toolbars
Product: Claws Mail (GTK 2) Reporter: Abhay S. Kushwaha <clawsmail>
Component: OtherAssignee: users
Status: NEW ---    
Severity: enhancement    
Priority: P3    
Version: 3.9.1   
Hardware: PC   
OS: All   

Description Abhay S. Kushwaha 2012-11-20 15:15:56 UTC
I have a huge folder list. Some folders are special. But they scroll all over the place as my folder tree dances in normal use.

If the Preferences/Toolbars/Main Window preferences window has an "Internal Function" that lets me configure toolbar buttons that will allow me to jump to specific folders, I would be able to add toolbar buttons for those special folders, making life very easy for those who move around in the folder tree a lot.

So the RFE is: Please add a "Go to (configurable) folder" command in the Internal functions dropdown.
Comment 1 marius glauser 2012-11-20 18:51:12 UTC
If you know the name of the folder just press "g" and start typing the name of the folder. Keys "up" and "down" cycle through found folders.
Comment 2 Abhay S. Kushwaha 2012-11-20 19:53:00 UTC
It is too tedious when one spends many hours on emails and has a lot of folders one is continuously moving around between. The RFE is to make it easier/faster to navigate when the target of navigation is often accessed.

Imagine having a "Go to Inbox" button on the main toolbar. Trust me, you will click on it a lot the moment your folder list starts scrolling.
Comment 3 Salvatore De Paolis 2012-11-20 20:25:27 UTC
I guess this is achievable with the python plugin
Comment 4 Abhay S. Kushwaha 2012-11-21 06:27:03 UTC
Salvatore, as a user who does not know coding, the python plug-in has a high entry barrier for me. Plus it's not on Windows.

However, if I understand the implication, then the internals of Claws-Mail make it easier to implement this RFE by exposing existing functionality rather than having to create it afresh.
Comment 5 Holger Berndt 2012-11-21 15:23:46 UTC
You have to understand that you're requesting very specific features, so the "ordinary user" argument is somewhat skewed. Adding any imaginable function to a huge dropdown selection list of "internal functions" is basically an API, but a very limited one that doesn't scale well. Generally, the more specific you get, the more likely it is that you'll have to enter the realm of some application-specific macro language. 

Anyways, in case somebody else is interested in the same and the python plugin is an option, the corresponding "script" would be:

clawsmail.folderview_select_folder(clawsmail.Folder("#mh/mail/inbox"))

(or whatever identifier your target folder has)
Comment 6 Abhay S. Kushwaha 2012-11-27 10:16:47 UTC
I base some of my RFEs on personal usage, and some on feedback from the people who've started using Claws-Mail because of me and hence come to me with questions. I wouldn't know if they are specific features or not but even if they are, I'll be glad if the developers implement a more generic solution that covers these use-cases.

BTW, thanks for the code snippet too Holger.