Closed nmatt closed 8 years ago
Not sure if this is valid on the other operatingsystems, but on windows it's indeed not useable. Only other app that also has these set, that I have installed is slack. They probably also did it on error? Not sure.
Thanks @nmatt, good point indeed.
I think it's re-using the shortcuts from Menu Bar > Window, so it would be a matter of removing the keyboard shortcuts from the list that appears after right-clicking the system tray icon.
@Razzeee Would you be interested in looking into a fix?
@mmahkamov @jnugh @timroes @akashnimare: Would you be able to verify if this reproduces on OS X and Linux?
I am not sure what he's trying to say. It's working fine on OS X.
@akashnimare even if you have the app in the background?
@jasonblais can do a pr but want to know hot it's handled on all platforms first ;)
In my understanding,
Then I'll just remove the accelerators from there.
The issue is replicable on OS X 10.11.5, Mattermost Desktop 1.3.0 (actually it's an RC release but the about window doesn't show which one).
Pre-requisites:
Now if you click on the tray icon of Mattermost Desktop you'll see shortcuts listed for the team (Command + 1 in my case). Pressing Command + 1 in the active window (Xcode) won't switch me to Mattermost Desktop because that's not a global hotkey.
Yeah, so #242 removes the shortcuts from the tray icon.
I confirm (by marking "x" in the [ ] below):
Summary
The team menu items in the menu tray icon’s context menu show the Ctrl+ keyboard shortcuts, however these are only applicable within the application window.
Steps to reproduce
Please include:
Expected behavior
No keyboard shortcut should be shown on the team menu items in the tray icon’s context menu (unless a feature for global hotkeys is added).
Observed behavior
The team menu items in the tray icon’s context menu show the Ctrl+ keyboard shortcuts, which are only applicable within the application window.
Possible fixes
Don't reuse the exact same team menu items from the "Window" menu for the tray icon's context menu.