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

Open user settings keyboard shortcut don't work on Mac #13017

Closed
Twi1ightSparkle opened this issue Apr 3, 2020 · 7 comments
Closed

Open user settings keyboard shortcut don't work on Mac #13017

Twi1ightSparkle opened this issue Apr 3, 2020 · 7 comments
Labels

Comments

@Twi1ightSparkle
Copy link

Description

In macOS, the default keyboard shortcut to open settings for an application is CMD+ ,
So this overrides Riot Web. I'm guessing this applies to the Mac Desktop app as well?

Steps to reproduce

  • Buy a Mac
  • Open any browser
  • Log in to Riot Web
  • Press CMD + ,
  • Enjoy the preferences window of your web browser

Logs being sent: no

Version information

For the web app:

  • Browser: Firefox 74.0 (64-bit), Chromium 82.0.4083.0 (Developer Build) (64-bit), Safari 13.0.5 (15608.5.11)
  • OS: macOS 10.15.3 (19D76)
  • URL: riot.im/develop / riot.im/app / somewhere else. Probably all Riot Webs
@Twi1ightSparkle
Copy link
Author

CMD + ` too (Toggle the top left menu). This switch between windows of the same app in macOS

@t3chguy
Copy link
Member

t3chguy commented Apr 3, 2020

Enjoy the preferences window of your web browser

Overwriting this in-browser was chosen against. Do other webapps (github, Gmail, etc) overwrite it? It works fine in the electron client.

@t3chguy
Copy link
Member

t3chguy commented Apr 3, 2020

If you look at the Keyboard Shortcuts page, it only lists Cmd + , on the desktop app. Not in browser.

@Twi1ightSparkle
Copy link
Author

Overwriting this in-browser was chosen against. Do other webapps (github, Gmail, etc) overwrite it? It works fine in the electron client.

I'm glad it doesn't overwrite, but it should be another key imo

If you look at the Keyboard Shortcuts page, it only lists Cmd + , on the desktop app. Not in browser.

I guess my browser is special then. /app has the same ftr
Screen_Shot_2020-04-03_at_12_51_28_PM

@t3chguy
Copy link
Member

t3chguy commented Apr 3, 2020

Ah, that is a bug. https://github.com/vector-im/riot-web/blob/3d266cb23746d852445e06d3b4c923bed0ee83f5/src/vector/platform/ElectronPlatform.js#L40-L48 should not be getting executed. Will resolve this today.

@t3chguy
Copy link
Member

t3chguy commented Apr 3, 2020

The above PR removes the not-working Cmd + , from the web app but remains in the electron app as was originally intended.

#12645 covers the ability to change shortcuts

@t3chguy
Copy link
Member

t3chguy commented May 19, 2020

Going to close in favour of the more generic #12645 which would be able to do this

@t3chguy t3chguy closed this as completed May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants