-
Notifications
You must be signed in to change notification settings - Fork 766
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
Show/hide appliaction to tray icon #1269
Comments
This is intended behaviour and in fact no one has ever considered this an issue before. The button "shows" the player, whether the player is shown or not is not releveant. I don't consider that a bug?
Can you clarify what you mean here. There was a massive thread a while ago where a conclusion was reached that on linux a double click should be a noop and a single click should toggle the window.
Everything you have described comes down to individual implementation, all the buttons and click actions we handle manually and it is down to the application to handle them and respond as it sees fit. Just because one electron app does something (twolfsen) doesn't mean another will 😄
This exists, have you tried clicking the close button on the window 😆 By default it will minimize to tray unless you turn that feature off in settings |
Single clicking doesn't work too. Closing application does nothing like I already said. The thing is there is no minimize or close button in tilling WMs (it sends close via command). However, I haven't had any problems with other apps yet. |
When you close the window through a command do you know if it is sending a close window command or a quit application command? If it sends a close window command then it would minimize to system tray, if it sends a quit command it would quit the entire application. This application was never designed with tiling window managers in mind and I personally have never used one so I'm not familiar with usage or expected actions. |
This issue is similar to #270. The difference between gpmdp and twolfson is that they are calling window.hide() instead of window.minimize(), which is ignored on WMs without minimize (?? I don't know anything about Electron). |
Hmmmm, I could do a The problem is we want to call |
OS:
Linux with i3wm (tilling WM) and i3bar
Application Version:
3.3.0
Issue Descriptions:
Show/hide option from tray icon menu doesn't work. It always says "show" despite fact it's already shown. Double clicking tray icon and closing application does nothing.
I tested it with similar electron app (twolfson/google-music-electron) and it worked (so it's not WM or Electron issue) -- clicking icon toggles shown/hidden (same with tray icon menu option). Maybe option "Close to Tray" would do the trick (since there is no minimize in tilling WM).
Thanks :)
The text was updated successfully, but these errors were encountered: