cryptomator / cryptomator

Cryptomator for Windows, macOS, and Linux: Secure client-side encryption for your cloud storage, ensuring privacy and control over your data.
https://cryptomator.org
GNU General Public License v3.0
11.79k stars 1.02k forks source link

Add hotkeys to application #1593

Open infeo opened 3 years ago

infeo commented 3 years ago

Summary

Register well-known Hotkeys in the application.

Motivation

Hotkeys are common among desktop applications, such that (power) users can quickly navigate throught it and complete the desired task.

A Non-Feature is to add a hotkey for every functionality/option. Only the most common worklfows/should be initiated by an hotkey.

Considered Alternatives

N/A

Additional Context

Examples for very common workflows:

overheadhunter commented 3 years ago

To add a very common shortcut (at least on macOS) when dealing with an application that can show multiple documents, tabs, etc: ⌘1 - ⌘9 can usually be used to access the first 9 items. In this case: The first 9 vaults in the vault list.

This used to work in Cryptomator 1.4.x already (see #79).

infeo commented 3 years ago

On Windows, a common shortcut for opening preferences dose not exist. We need to discuss, if we should introduce one or don't add one at all for this functionality.

infeo commented 3 years ago

In dc3a951a1be1cbe4ed9ea02444f8c9eeacf69796 and defa9c75eb513dd2ea795db7115ed4abaf76417c hotkeys for selecting one of the first nine vaults and removing a selected vault are added.

infeo commented 3 years ago

If JavaFX is capable of generating automatically mnemonic shortcuts, we should also consider this for creating hotkeys.

dj-nitehawk commented 3 years ago

@infeo it would be great if there was a (user customizable) global hotkey to lock all vaults at once. also if vaults are locked by hotkey, they should prompt for the password next time they're being unlocked imho.

you could call this hotkey action "seal all vaults" or something similar. which conveys the idea that once sealed, password is required to unlock again.