-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Tray: hide window if tray clicked while window focused #262
Conversation
i'm not sure this is good UX tbh. no other app does this, and i personally might spam click the tray to show vesktop |
this is also not a discord behaviour, so it would be inconsistent with the main app and probably confusing |
I understand that it would be annoying for this to be the default if you like to make redundant clicks on the bar. Would this be acceptable as an settings option? With #261 patched in I basically only use the system tray to launch the Vesktop I don't think it'd bad UX- for almost every system tray icon clicking it once opens something or does an action and clicking it again closes it or reverses the action. It's somewhat against the standard convention to have an icon do nothing once you click it once. |
Another thought: if the window is shown but not focused / behind a bunch of other windows, clicking the tray icon should focus it (helpful for responding to dms/pings from the notification badge). |
Maybe? But it's still a really weird option to have.
All of my tray icons do one action when you click them, and doesn't undo the action. The only case I've ever heard of this happening is when the tray icon completely changes to respect the new action (e.g., recording software). It seems like it's against convention to give a tray icon multiple actions depending on context.
I agree, this would be useful, and in fact would be the correct behaviour for clicking the icon multiple times. |
Video example of what I mean -- Vesktop is the odd one out because it doesn't do anything when I click it at the end. You can see that OBS, another app which can hide its main window into the system tray, does both show and hide when clicking on the tray icon. example.mp4 |
please make this configurable (disabled by default) otherwise this is not mergeable because it breaks windows convention and is inconsistent with stock discord |
superseded by 404 |
Small quality-of-life thing. Allows the user to peek at Discord via the tray without moving the mouse from the tray to the window decoration or Alt-F4ing.
Can move to a setting if this is undesirable for some users.