pombreda / theunarchiver-migrated

Mac, Linux and Windows universal unarchiver. CLI everywhere and MAC Gui. Objective-C, GPL-licensed. Originally from code.google.com/p/theunarchiver
Other
1 stars 0 forks source link

Option to turn dock icon on and off #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Might be nice to have an option whether The Unarchiver should show its icon or 
not.

Original issue reported on code.google.com by paracel...@gmail.com on 10 Jul 2009 at 3:01

GoogleCodeExporter commented 9 years ago
Agreed. It's great to have a Dock icon and menu bar during configuration (and 
if The Unarchiver is opened 
directly), but there should definitely be an option to hide it during normal 
unarchiving (when launched by 
opening/dropping a file).

Original comment by s...@sidneysm.com on 14 Jul 2009 at 4:27

GoogleCodeExporter commented 9 years ago
I think the current behaviour (showing dock icon only when being explicitly 
invoked) works fine. At best this 
should be kept as a documented hidden option, since it adds unnecessary 
complexity to a simply program.

Original comment by yuan...@gmail.com on 15 Jul 2009 at 4:41

GoogleCodeExporter commented 9 years ago
Actually, the current behaviour is to never show an icon in 1.6.1 and always 
show an icon in the 2.0 beta, to help 
with testing.

There is no way I know of to programmatically change the appearance of the 
icon. The only way to do it is to 
change an entry in Info.plist, which means it has to be done the previous time 
the program ran, as Info.plist is 
read before the program is run. So it is not possible to just show an icon on 
just some invocations, as far as I 
know.

Original comment by paracel...@gmail.com on 15 Jul 2009 at 10:50

GoogleCodeExporter commented 9 years ago
Take a look at the TransformProcessType call. You can use it to give a dock 
icon and menu bar to a UI 
element or background only process.

Original comment by s...@sidneysm.com on 15 Jul 2009 at 2:01

GoogleCodeExporter commented 9 years ago
That does look useful, even though it might not work on 10.4? Well, it's no big 
deal
if 10.4 just retains the old behaviour. I'll look into using that.

Original comment by paracel...@gmail.com on 15 Jul 2009 at 3:16

GoogleCodeExporter commented 9 years ago
IIRC, in 10.4 it only works with LSBackgroundOnly applications, not LSUIElement 
(which 
won't work for The Unarchiver because LSBackgroundOnly windows can't become 
key). 
But yeah, you get graceful degradation.

Original comment by s...@sidneysm.com on 15 Jul 2009 at 10:03

GoogleCodeExporter commented 9 years ago
I implemented having the icon appear when starting the app directly.

I'll leave the question as to whether there should still be an option for some 
later version.

Original comment by paracel...@gmail.com on 16 Jul 2009 at 1:26

GoogleCodeExporter commented 9 years ago
Issue 304 has been merged into this issue.

Original comment by paracel...@gmail.com on 11 Oct 2010 at 5:24

GoogleCodeExporter commented 9 years ago
Well, if it comes to voting, I vote for also being able to have an icon when 
uncompressing. Sorry for opening a dup, No idea it was related to having an 
icon.

Original comment by m...@federicojm.com on 11 Oct 2010 at 5:35

GoogleCodeExporter commented 9 years ago
Since the current behaviour of Archive Utility is to just always show an icon, 
I think I will switch to that. It should make things easier when there is a 
crash, too.

(Although people might then complain less loudly and I won't find out about 
crashes as quickly, but oh well.)

Original comment by paracel...@gmail.com on 29 Aug 2011 at 10:25

GoogleCodeExporter commented 9 years ago
Using version 3.1 (legacy-version as well as the AppStore-version), I have no 
option to disable the dock-icon when extracting files, as it did in previous 
versions.
Any chance of adding this feature again?

Original comment by josso...@gmail.com on 24 Apr 2012 at 8:24

GoogleCodeExporter commented 9 years ago
Probably not. The code that handled this was kind of fragile, and it everything 
works better without it.

Original comment by paracel...@gmail.com on 24 Apr 2012 at 10:12