max-mapper / screencat

:cat2: webrtc screensharing electron app for mac os (Alpha)
http://maxogden.github.io/screencat
BSD 2-Clause "Simplified" License
3.02k stars 370 forks source link

menu bar item selected while window open #30

Open jbenet opened 9 years ago

jbenet commented 9 years ago

it would be nice if the menu bar icon stayed selected while the window is open (right now it selects and unselects). it's non-obvious to users where the screen popped up from.

in particular, at least make it so on the landing page image, so that users know what instantly icon they should expect to appear after installing.

brandly commented 9 years ago

Seems like something menubar should handle, but I'm not sure how. The Tray docs don't seem to provide a way to do it

If a Tray instance has a context menu (via tray.setContextMenu), then the button looks pressed whenever the menu is visible. I tried adding a small dummy menu to the menubar that screencat is using, but nothing at all would appear when I clicked the tray icon, so that seems to break other things