mattermost / desktop

Mattermost Desktop application for Windows, Mac and Linux
Apache License 2.0
1.99k stars 812 forks source link

No convenient way to reactivate system tray instance via keyboard #237

Closed nmatt closed 8 years ago

nmatt commented 8 years ago

I confirm (by marking "x" in the [ ] below):


Summary

There is no convenient way, like a global keyboard shortcut, to reactivate a Mattermost instance from the system tray via keyboard.

Steps to reproduce

It should be possible to configure a global keyboard shortcut. Alternatively (or even preferably), starting the application again should reactivate the existing instance in the system tray (cf. issue #236). That way it would be possible to pin the Mattermost application to the task bar and use Win+ to both start or reactivate it.

In previous versions, it was possible to use Alt+Tab to switch to an existing Mattermost instance. Now that Mattermost minimizes to the system tray, that is not possible any more.

P.S.: I wrote "no convenient way" instead of just "no way" because it is actually possible to use the key sequence Win, Esc, Tab, Tab, Space, Arrow keys and Return to access the system tray via keyboard and reopen the Mattermost application from there; but that's very far from a practical solution.

Observed behavior

n/a

jasonblais commented 8 years ago

Apologies @nmatt for the delay here. Thank you for the feedback!

First, you can still minimize the Mattermost application to the taskbar either a) using the shortcut CTRL+M, b) going to Window > Minimize in the menu bar c) minimizing the app by clicking "-" on the top right corner

Second, it's not immediately obvious to me what an appropriate shortcut would be to reactivate the system tray instance via keyboard. If you'd like to see this feature, can we have your help adding it as a feature request in Feature Idea Forums so that we can have the community's help discussing and upoting the feature?

nmatt commented 8 years ago

Thanks for the response @jasonblais. I'm aware of the minimization possiblity, however it means that Mattermost remains in the Alt+Tab task list. With the close-to-system-tray feature, I was hoping to be able to show/hide the application (by keyboard) and not have it in the Alt+Tab task list while it is hidden.

If issue #236 is implemented AND is fast enough, that would be a solution, because on Windows you can bind a Ctrl+Alt+somekey shortcut to start menu entries or use Win+digit for entries pinned to the taskbar. (I'm stressing "fast enough" because normal application startup of the desktop application is too slow for the purpose of quickly switching to Mattermost.)

Otherwise, applications with global hotkeys usually let the keyboard shortcut be defined by the user, so that conflicts with other applications can be avoided. On Windows, Ctrl+Alt+somekey and Ctrl/Shift/Alt+Win+somekey are commonly used for global hotkeys.

Regarding a feature request, I'll first wait to see how issue #236 goes.

razzeee commented 8 years ago

@nmatt you can test the speed of #236 with this https://576-43964563-gh.circle-artifacts.com/0//tmp/circle-artifacts.Aa7PAlq/mattermost-setup-x64.exe

nmatt commented 8 years ago

@Razzeee: Thanks, I tried out that build. Reactivating the application that way takes just short of a second on my system (with an SSD). While that's not quite as instantaneous as when reopening the application window from the system tray, it's probably good enough I guess. Looking forward to have this in the next official relase.

yuya-oc commented 8 years ago

Closed by merging #247.