-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
More hotkeys / keyboard shortcuts #3232
Comments
+1 pour le #301 (Next unread room) |
Sorry to bug but:
|
@frankiebee I believe on Mac it is Cmd+k |
that does not work either |
What about pretty standard feature — And another hotkey-related request. I's really useful to close all chats to keep all messages unread. Currently it can be done with |
@anton-ryzhov more commonly its |
@t3chguy Definitely it should be configurable. |
@anton-ryzhov it's down to your browser how it handles input boxes |
The |
|
What do you mean? It is a <textarea> , it doesn't send form by default in browsers. But in |
Depends, it can also be a contenteditable div. but yes the handling could be defined in riot, feel free to contribute a PR |
Edit: Forget these. I just saw in riot.im/develop/ (with the "New Composer" enabled) that the |
|
It would be nice to Bind the shortcuts for yourself, for example on mouse buttons, and so on. |
@coreinsane I presume you mean on electron app as mouse buttons tend to be bound at browser level |
Yes you got the point, im using windows desktop client. |
Is there any improvement on windows desktop client hotkey features? Like customisable hotkeys, can be bound on mouse, etc. |
It would be nice to add some more hotkeys related to the infinite scrolling functionality of the room timeline because hotkeys such as ctrl+home, ctrl+end, pageup and page down are usually clashing with standard browser keyboard commands when caret browsing is turned on (e.g. by pressing F7 in Firefox). I would like to have at least shortcuts for scrolling to the bottom and then scroll to prev / next page. |
Are Riot hotkeys documented somewhere permanently? |
@eatonphil I started documenting them here #7165 |
I would like to suggest another one that might be useful: ctrl + alt + (up or down) - Navigate between your community filters on the left nav. This is similar to what happens in Discord to switch between guilds. |
All of these shortcuts should be configurable. Please do not create a jumble of hardcoded key combos. |
Add keys to open Threads, Pins, Notifications panels. |
This would be seriously helpful as rather than CTRL+Y to redo CTRL+SHIFT+Z is an alternate key combination to perform the same thing in most modern applications depending on the platform. In addition in one of the latest updates the "Search" icon is now just displaying as "CTRL+K" when the sidebar is collapsed 😞 |
What is the policy or thinking of multiple shortcuts for the same action? I prefer to keep my fingers on the home row which makes accessing the arrow keys non-optimal. Shortcuts like Alt+Shift+Down for next unread room are very awkward to type for people used to vim/emacs type bindings. Ctrl+K is wonderful for jump to room. Would it be possible to get Ctrl+J to "jump" to next unread conversation (Ctrl+Shift+J cycles back in the list.) Thanks! |
It was already mentioned, but ctrl+tab is used pretty universally to switch back and forth between tabs in all browsers, Notepad++, PDF programs, etc, and I definitely think it should be used here for switching back and forth between rooms. The best implementation of this would be to show a drop-down list of rooms when it's pressed, and pressing it once just switches back to the last room whereas holding the ctrl key down and pressing tab repeatedly moves through the list to choose a different room. See Notepad++ for an example. Hotkeys should also be customizable if at all possible, so people can decide for themselves which ones they want and don't want and what key combinations they want to use for them. That would solve a lot of issues of people asking for specific hotkeys or asking if changes can be made to them. |
exactly the reason that element can't adopt this shortcut: it (at least E web) runs in the browser. |
Fair enough. Too much work to have separate shortcuts in browser vs desktop I take it? Because it would work in desktop, but I can see that might be more work having two separate versions to maintain. |
Please add a ⌘-0 (CMD+zero) app shortcut to call main conversation window. I cannot do it by myself because menu field is changing with room title. In mac app version, of course ;-) |
Ah, I see. It also depends on localization. In my case it is ⌘-é So I suggest ⌘-1 or something else - the need to pick mouse, find minimized window and click is quite frustrating and time consuming - when you are used to use mostly keyboard ;-) Most mac apps uses some kind of a shorcut to view main app window (mail, messages, even MS Skype does ...) |
You just want it to open the app? You can normally do this in your OS. https://support.apple.com/en-gb/guide/mac-help/mchlp2271/mac#:~:text=On%20your%20Mac%2C%20choose%20Apple,Keyboard%20Shortcuts%20on%20the%20right.&text=Select%20App%20Shortcuts%20on%20the,specific%20app%20or%20All%20Applications. Element is a single instance app so it'll open the existing window if the app is already running. |
@t3chguy - thanks for quick response ... sure, application is already opened - but window is minimized. When I want to focus to the main window I use ⌘-tab to switch between apps until its Element and sometimes window pops up (it was only in background, behind other windows) but very often nothing shows. This means window is minimized and must be clicked. And from some other apps I'm used to push ⌘-0 or ⌘-1 or ⌘-⇧-0 or something else to call main window. It seems to me, that adding simple shortcut to the window is easiest way to achieve it ;-) Sometimes it can be done without developers assistance, but its not this case - menu item with main window has mutating title, so I cant assign a hotkey from outside. |
Why can you not assign the global hotkey to just run the Element.app executable rather than trying to do magic dependant on window titles? |
I have one - ⌘-⇧-^-E - this is a combination which works for me and is not in conflict with some other app. I'm just suggesting to follow a common (IMHO) behavior ... |
Adding such a global shortcut would be blocked on the ability to have customisable keybinds otherwise it'd conflict for people, we avoid global shortcuts for that reason |
I don't want global - I don't like it, it can cause problems, conflicts, unintended behavior and so. I prefer local, in-app shortcut. |
Sorry, how would a non-global shortcut help you bring the app to foreground given it wouldn't be receiving keys if it wasn't already in foreground focus? |
Sure, but if its minimized then a local shortcut won't be picked up, only a global one would, as the window is not in focus. |
Hmmm, I dont agree, try with, for example, Messages app - minimize app window and press ⌘-0 and you will see window coming to the screen. Even when the window is closed. Of course you must have Messages active and focused (in top bar) |
It may well be that way in Messages, but AFAICT it isn't that way for Electron apps |
Thats something I don't know. I've assumed, that Skype is an Electron app also. And it has such a shortcut. |
Could it be this? Just a menu item accelerator? It would track with this:
So if the app's global menu is active, then its menu shortcuts should also be in effect. |
This issue appears pretty outdated. At least some of the things under the "broken" and "things we should add" lists are now fixed. In any case, it's never going to be "done". As the original reporter, I'm not really interested in the debate about the particular intricacies of global shortcuts in OSX. I'd suggest if you want to continue the conversation you open a specific issue for it. Meanwhile, I'm closing this one. |
@richvdh I think you can click "Unsubscribe" and stop receiving notifications even if you're the author. FWIW / FYI, I see @t3chguy edited the issue to track the status of some items, so perhaps it might not be useful to you but it might be useful for the project? (I don't have an opinion either way) |
We have a few requests for extra hotkeys, but I thought a single issue would be useful to help track them.
So far we have:
Working:
Broken:
We should add hotkeys for
This is related to #302, but I think that's more about tab indexes and making it possible to "click" buttons without a mouse, while this is all about hotkeys that don't require particular elements to be focussed.
The text was updated successfully, but these errors were encountered: