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

Shortcut serialization #228

Open
jpnurmi opened this issue Nov 25, 2022 · 0 comments
Open

Shortcut serialization #228

jpnurmi opened this issue Nov 25, 2022 · 0 comments
Labels
feature New feature or request

Comments

@jpnurmi
Copy link
Contributor

jpnurmi commented Nov 25, 2022

We need LogicalKeyboardKey <=> String conversion for (de-)serializing shortcut settings.

Flutter exposes some relevant bits and pieces but not a complete solution, so we're currently getting some help from GTK:

Storing shortcuts formatted in the usual GTK way made more sense when we were using GSettings. Now that we have human-editable JSON config files, it would be nicer to have more human-friendly VSCode-like formatting for shortcuts.

GTK VS Code
<Control><Shift>Down Control+Shift+Down

Also, if we ever want to support other platforms then using GTK for the conversion might become a real problem. If Flutter doesn't offer a solution, is there any package out there that could help?

@jpnurmi jpnurmi added the feature New feature or request label Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant