Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimize to tray for mac #558

Closed
FormalSnake opened this issue Jan 18, 2022 · 11 comments
Closed

Minimize to tray for mac #558

FormalSnake opened this issue Jan 18, 2022 · 11 comments
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version

Comments

@FormalSnake
Copy link

After enabling the plugin for the minimize to tray, i found out it is very buggy but i cant disable it! i press show and then i press on the plugin dropdown menu, but i cant click the left side of the menubar!

Please help

@Araxeus
Copy link
Collaborator

Araxeus commented Jan 18, 2022

Please describe your issue more clearly /+ make a video/screenshot

@FormalSnake
Copy link
Author

Screen.Recording.2022-01-18.at.16.38.33.mov

I hope this shows the problem

@Araxeus
Copy link
Collaborator

Araxeus commented Jan 18, 2022

you don't have the in-app-menu plugin enabled right?

I have no idea what this menu is since I dont have a mac :(

maybe @th-ch can help

@FormalSnake
Copy link
Author

@th-ch pls help

@mjaverto
Copy link

mjaverto commented Jan 19, 2022

Warning: This doesn't fix this mode, but gets you back to the window so you can use the app again.

In

/Users/{your_user}/Library/Application Support/YouTube Music/

is a file called config.json

Open in a text editor and change

"options": {
    "tray": true,
    "appVisible": false,

to

"options": {
    "tray": false,
    "appVisible": true,

Quit and restart the app. Use Activity Monitor to force Quit if you can't access the app window.

@Araxeus this doesn't have to do with the in-app-menu plugin, but instead on Mac when you go to Options > Tray and change from Disabled. Either of the Enabled modes seem to cause it.

@Araxeus
Copy link
Collaborator

Araxeus commented Jan 19, 2022

Seems to be some weird bug with Electron's Menu module

meanwhile if you still want to use the tray functionality - enabling in-app-menu could fix the problem theoretically
(would be nice if you could test that out to make sure)

@mjaverto
Copy link

mjaverto commented Jan 20, 2022

I always had in-app-menu enabled but still saw this @Araxeus.

I reproduced again with it enabled. I'm not looking for a fix here myself, just how to undo the option which is this thread.

@Araxeus
Copy link
Collaborator

Araxeus commented Jan 20, 2022

Oh sorry, on other platforms in-app-menu is an internal menu which replaces the native menu

But i guess it just doesn't work on mac

@FormalSnake
Copy link
Author

Warning: This doesn't fix this mode, but gets you back to the window so you can use the app again.

In

/Users/{your_user}/Library/Application Support/YouTube Music/

is a file called config.json

Open in a text editor and change

"options": {
    "tray": true,
    "appVisible": false,

to

"options": {
    "tray": false,
    "appVisible": true,

Quit and restart the app. Use Activity Monitor to force Quit if you can't access the app window.

@Araxeus this doesn't have to do with the in-app-menu plugin, but instead on Mac when you go to Options > Tray and change from Disabled. Either of the Enabled modes seem to cause it.

this fixed it, thanks!

@gugahoi
Copy link

gugahoi commented Apr 4, 2022

Tray mode is definitely problematic in MacOS. It becomes impossible to get to any menus. Is there anything that I can look into to get more info? Happy to try and fix it however I am inexperienced in this space.

@kotx
Copy link

kotx commented Apr 14, 2022

For me, the app just doesn't take focus or show in the cmd+tab list- but it's still interact-able. The menu icon just focuses it, but since it doesn't take active focus I can't use the macOS menu. Since in-app-menu doesn't seem to work on macOS, there's no way to access the menubar at all.

Edit: just saw the PR above- hope it gets released soon!

@JellyBrick JellyBrick added the need more information Need more information about the issue label Oct 7, 2023
@JellyBrick JellyBrick added bug Something isn't working fix-available A fix to the issue is available in a new version and removed need more information Need more information about the issue labels Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix-available A fix to the issue is available in a new version
Projects
None yet
Development

No branches or pull requests

6 participants