Jump to content


Photo

Is it possible to hide the icon in Dock Bar under OS X?

OS X

  • This topic is locked This topic is locked
No replies to this topic

#1 Staff

Staff

    Advanced Member

  • Staff
  • PipPipPip
  • 7367 posts

Posted 10 January 2015 - 01:14 PM

Is it possible to hide the icon in Dock Bar under OS X?


No, it's an OS X limit (or bug).

Under OS X, every application has an icon in dock bar.
Only "agents" don't have an icon.

If a system is requesting shutdown, AirVPN client needs to restore settings (for example Network Lock) before the shutdown occurs.
OS X waits for the cleanup of an application only if it is a foreground application.
OS X kills directly any "agent", without waiting for the cleanup.

Apple Tech Support says the requested behavior is not possible.
The application designed as an Agent (for instance by setting LSUIElement to YES) is not allowed to interrupt shutdown or logout sequence.
System simply doesn't wait for response and doesn't bother to read and respect return value.

Background application (that does not have Dock icon and Menu bar) is not allowed to interact with user nor cancel its shutdown sequence.

Apple Tech Support says that there is no possibility to hide Dock icon and Menu bar and be foreground application.

Same issue described here:
http://stackoverflow.com/questions/23286351/how-to-prevent-logout-from-app-running-as-agent
http://stackoverflow.com/questions/26846300/how-to-prevent-logout-or-shutdown-from-app-running-as-agent
http://macscripter.net/viewtopic.php?id=43215
http://lapcatsoftware.com/rdar/6001460/index.html







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Servers online. Online Sessions: 14168 - BW: 41053 Mbit/sYour IP: 23.20.25.122Guest Access.