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

Keyboard shortcuts (general) #451

Open
garrett opened this issue May 13, 2024 · 2 comments
Open

Keyboard shortcuts (general) #451

garrett opened this issue May 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@garrett
Copy link
Member

garrett commented May 13, 2024

In addition to an obvious keyboard shortcut for editing the bar, we should also have other shortcuts.

But we need to determine what they are, if we can use them, and so on.

To kick off the discussion, here's what Nautilus has:

image

image

image

I couldn't find it in KDE, but did find a list of some common ones in their docs @ https://docs.kde.org/stable5/en/khelpcenter/fundamentals/kbd.html#kbd-files (but it's not very detailed).

Dolphin itself (which is installable via Flathub, BTW) has a keyboard shortcut configuration dialog that has a ton of defaults.

image

image

@garrett
Copy link
Member Author

garrett commented May 13, 2024

In addition to having shortcuts: We'd probably want a way to show the keyboard shortcuts too.

I'd suggest an entry in the top-level menu that shows a modal that has a table with the action and the shortcut, more or less similar to Nautilus. It doesn't have to be as fancy.

When displaying it, we could use the <kbd> key like MDN shows: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd — I think we'd need to add CSS to make it look like a key if we wanted that, as it doesn't come by default and I think PF doesn't add that to the element.

@garrett
Copy link
Member Author

garrett commented May 13, 2024

Note: macOS generally uses a command key instead of a control key, so handling for macOS would probably need to be different from Linux and Windows.

We also probably want to consider which of the commands from Nautilus overlap with the functionality of Windows and macOS also. (I'd imagine GNOME folks already thought of that and are using the common shortcuts that are also in Windows and macOS.)

We could (and probably should) start small and expand the list of useful shortcuts.

@jelly jelly added the enhancement New feature or request label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants