McoreD / ShareXmod

Automatically exported from code.google.com/p/sharexmod
0 stars 0 forks source link

Minimize at application start #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Could you be so kind and add option to start application with minimized to tray 
state? 

My current workflow is based on hotkeys: capture, add arrows, upload, paste 
link. Appwindow is left out of focus most of the time, so it annoys to minimize 
manually at start.

Original issue reported on code.google.com by etorea...@gmail.com on 17 May 2013 at 9:50

GoogleCodeExporter commented 9 years ago
You can use -silent command line argument for open ShareXmod without show main 
window.

Original comment by flexy...@gmail.com on 17 May 2013 at 10:03

GoogleCodeExporter commented 9 years ago
Thank you for a quick reply, sir.
I consider it as temprorary quick'n'dirty solution.

However I believe it's better to have all options in one place than to 
configure some with GUI and some with shortcut. Moreover I will forget this 
-silent key as time goes by. What do you think?

Original comment by etorea...@gmail.com on 17 May 2013 at 10:08

GoogleCodeExporter commented 9 years ago
Update:
-silent does not work.

Proof:
http://screencast.com/t/Lxtueo8i

Original comment by etorea...@gmail.com on 17 May 2013 at 10:15

GoogleCodeExporter commented 9 years ago
Now i tried -silent in ShareX and it works fine. ShareXmod must have using same 
code too because when ShareXmod start with Windows then it must not show 
window. Was ShareXmod already running in tray when you tried to open it?

Original comment by flexy...@gmail.com on 18 May 2013 at 12:04

GoogleCodeExporter commented 9 years ago
As you can see in screencast I use ShareXmod 7.2 r354.
And no, there is no other ShareXmod copy running in tray.
I don't know how application behaves on Windows startup as I don't use startup 
option.
My concern is how to start application right now in minimized state.

Original comment by etorea...@gmail.com on 18 May 2013 at 12:12

GoogleCodeExporter commented 9 years ago
Sorry to hear this; however, as Berk said above, -silent works perfectly:
http://screencast.com/t/RSojbPOw

Original comment by mcored on 18 May 2013 at 1:34

GoogleCodeExporter commented 9 years ago
In Windows startup running ShareX with -silent argument so it won't show main 
window.
Can you check debug tab is it have -silent there in command line section maybe 
your software which you are using ignoring argument?
Like this: 2013-05-18 03:02:07.280 - Command line: 
"D:\Projects\CSharp\Public\ShareX\trunk\ShareX\bin\Debug\ShareX.exe" -silent

Original comment by flexy...@gmail.com on 18 May 2013 at 1:37

GoogleCodeExporter commented 9 years ago
Gentlemen, I've made a progress here!

-silent works only with "Show ShareX tray icon" checkbox set.

And none of us thought of that condition, hours wasted. :(

You see now why it's important to have options in one place? 

Original comment by etorea...@gmail.com on 18 May 2013 at 1:47

GoogleCodeExporter commented 9 years ago
Without this check box set: "Show ShareX tray icon"
How is it possible to do this: "start application with minimized to tray state"
I don't see why it is important.

Original comment by flexy...@gmail.com on 18 May 2013 at 1:57

GoogleCodeExporter commented 9 years ago
May be we should automatically turn on Show Tray if the
user explicitly demands -silent switch.

Original comment by mcored on 18 May 2013 at 2:00

GoogleCodeExporter commented 9 years ago
> How is it possible to do this: "start application with minimized to tray 
state"

Sir, there are a lot of applications (uTorrent, VLC, etc) that work as follows:
- focused window has no tray icon, but has taskbar icon
- minimized window has no taskbar icon, but has tray icon

I believe solution is to implement two checkboxes:
[x] Start minimized
[x] Minimize to tray (instead of "Show ShareX tray icon")

Original comment by etorea...@gmail.com on 18 May 2013 at 2:15

GoogleCodeExporter commented 9 years ago
I personally am of the opinion that this is not only desirable behavior to many 
people, but would be quite useful. No one wants to minimize a bunch of Windows 
at boot when they could be starting as in the tray to begin with.

Original comment by mopqu...@gmail.com on 9 Aug 2013 at 9:30

GoogleCodeExporter commented 9 years ago
Actually, though, I agree with flexy -- how would it be useful to start it 
silently, but *not* start it in the tray? Like, start it minimized in your 
taskbar? What is the point of that? I do, however, support adding a checkbox 
somewhere as opposed to having to manually add a -silent flag to your startup 
shortcut.

Original comment by mopqu...@gmail.com on 9 Aug 2013 at 9:32

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r371.

Original comment by mcored on 11 Aug 2013 at 2:34

GoogleCodeExporter commented 9 years ago
@etorealno , please verify either by compiling from source, or by trying out 
the next installed when it comes out that the issue has been fixed.

Original comment by mopqu...@gmail.com on 11 Aug 2013 at 2:38