Bug 4011

Summary: Add a CLI option to start Claws Mail minimized to tray
Product: Claws Mail (GTK 2) Reporter: Denis <fnl>
Component: Plugins/NotificationAssignee: users
Status: NEW ---    
Severity: enhancement    
Priority: P3    
Version: other   
Hardware: PC   
OS: All   

Description Denis 2018-04-16 12:09:39 UTC
That would be useful for loading Claws Mail on system start. At the same time, launching Claws Mail without options would open its window as usual.
Comment 1 Paul 2018-04-16 12:21:23 UTC
Are you aware that the Notification plugin's SystrayIcon module already has an option to 'Hide at start-up'?
Comment 2 Denis 2018-04-16 12:32:12 UTC
(In reply to comment #1)
> Are you aware that the Notification plugin's SystrayIcon module already has
> an option to 'Hide at start-up'?

I'm away from my home machine right now, but am I right that this option makes Claws Mail always start minimized to tray? As far as I remember, it is so. But if I start Claws Mail manually, I want to get to its window immediately. Starting it minimized to tray for me only makes sense on the system start-up.

And why would I want to start it manually if it is already launched on system start-up? Because you may want to exit the program for different reasons.

It may not be an issue for a lot of users, but if it's not too much trouble implementing it as a CLI key, I would be glad to see it.
Comment 3 Paul 2018-04-16 12:47:02 UTC
Another question is, why do you want it to be started in a minimised state if it is started at on system start?
Comment 4 Denis 2018-04-16 13:02:11 UTC
(In reply to comment #3)
> Another question is, why do you want it to be started in a minimised state
> if it is started at on system start?

I may have other things to do. An analogy: if you have auto mounting enabled (so that inserted flash drive is mounted on system start-up), does it mean that you want this flash drive opened in your file manager when the system is loaded? I do not, I just want it mounted.