Google-play-music-desktop-player-unofficial-: [macOS] I would like there to be an option to hide the dock icon

Created on 27 Jul 2017  路  12Comments  路  Source: MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-

I know that this used to be a feature and that it's been removed because someone made issue #207. So obviously some people like to keep the dock icon and some people (like me) like to be able to hide the dock icon. I'm a programmer myself and for my work I use the app-switcher every few seconds and so I prefer my app-switcher to not be polluted with apps that I rarely need to switch to.

So uh, could that feature maybe come back, but as a separate check-mark in the preferences window?

statuwontfix

Most helpful comment

I've found this command to work fine in hiding the dock icon:

defaults write /Applications/Google\ Play\ Music\ Desktop\ Player.app/Contents/Info LSUIElement 1

To restore the dock icon, this should do it:

defaults write /Applications/Google\ Play\ Music\ Desktop\ Player.app/Contents/Info LSUIElement 0

These will require restarting the app to take effect. Cheers!

All 12 comments

@Evertt That issue you linked wasn't the removal of a feature, it' was a legitimate bug. The macOS design guidelines do not allow an application to have an active window and not have a dock icon. (It's technically possible but goes against their guidelines).

I agree with those guidelines that this shouldn't be a thing and I think it will annoy more people than it will help when they enable it to see what it does. For now, I'm going to close this issue out as a wontfix.

@MarshallOfSound

The macOS design guidelines do not allow an application to have an active window and not have a dock icon.

Okay I'm totally fine with that. But that means that once the window is closed (and so there is not active window open) then the dock icon should be okay to remove right? I would still very much appreciate that. Because the window could still easily be opened using the menubar icon.

So can we at least make that an option? Please?

@Evertt Afaik there is no way for GPMDP to be active but not have an open window somewhere, the window might be hidden or minimized, but it definitely exists somewhere

@MarshallOfSound Wavebox does it though. Why can't this app do it then?

@Evertt I'm not saying we can't do it, it's 100% possible, I just agree with the design guidelines here and say it shouldn't be done

Okay :-(

I'm heavily annoyed by that, as the music player goes in the way when i'm working. The music player constantly gets focus on cmd-tabs instead of my editor/browser window. It's annoying to the point that i'm often closing it and opening a background tab in chrome instead.

There are other apps (iTerm, Numi, Harvest for example) that allow excluding the app from the dock and that options proves to be very helpful.

Treat the guidelines as a helpful defaults when you would have no preference otherwise, but there are valid cases when it should be OK to break them. At least allow the user to decide, especially when it's so easy to do technically. You even have "minimize to tray" option, which seems to be doing nothing on mac...

@Frizi I think nobody is watching this issue anymore. :-(

@MarshallOfSound Could you take a look? 馃槃

I've found this command to work fine in hiding the dock icon:

defaults write /Applications/Google\ Play\ Music\ Desktop\ Player.app/Contents/Info LSUIElement 1

To restore the dock icon, this should do it:

defaults write /Applications/Google\ Play\ Music\ Desktop\ Player.app/Contents/Info LSUIElement 0

These will require restarting the app to take effect. Cheers!

Thanks @angelo! This should be built into GPMDP!

Came here to request this. I'll go with the terminal fix. Thank you @angelo! The cmd-tab thing alone makes this a worthy consideration.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

St0rmwindX picture St0rmwindX  路  3Comments

amgrider picture amgrider  路  3Comments

Nxt3 picture Nxt3  路  4Comments

xnaas picture xnaas  路  4Comments

tehdef picture tehdef  路  4Comments