niw / HapticKey

A simple utility application to trigger haptic feedback when tapping Touch Bar.
MIT License
1.65k stars 62 forks source link

Add a feature to hide status bar icon #17

Closed brightsider closed 6 years ago

brightsider commented 6 years ago

Can you add option to hide icon?

niw commented 6 years ago

@brightsider you meant, the icon on the status bar?

brightsider commented 6 years ago

@niw yeah

niw commented 6 years ago

Okay, update this ticket.

So... actually adding feature to hide icon on the status bar is just a trivial implementation, however, it’s not trivial to provide a way to restore it in the application interface because the icon on the status bar is the only entry point of this application interface.

There are a few possible solutions, but non of them are perfect.

  1. Hide icon only when the application is launched with a specific argument.
  2. Shows a dock icon instead when icon has been removed from the status bar.
  3. Always shows icon when application is re launched.

Anyways, without proper communication in the user interface, this feature may confuses users...

d53dave commented 6 years ago

I have seen other apps go route (3) and I liked it.

The way they communicated was to show a popup saying that a user can reach the application again by starting it from the applications folder.

niw commented 6 years ago

@d53dave Thank you for the input! I’m exploring the solution for route option 3 now.

niw commented 6 years ago

Added an option to hide the icon in the menu bar by the commit f555d80797893cfa8231e1563eb65ccf9a1cc51f. I’m going to close this issue.

niw commented 6 years ago

Released HapticKey 0.4.3. There is known automatic update issue. See #22.

brightsider commented 6 years ago

@niw thanks