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

Include current app shortcuts? #53

Open
peteruithoven opened this issue Oct 23, 2018 · 4 comments
Open

Include current app shortcuts? #53

peteruithoven opened this issue Oct 23, 2018 · 4 comments
Labels
Status: Blocked Something else needs to be done before this can be fixed

Comments

@peteruithoven
Copy link
Collaborator

peteruithoven commented Oct 23, 2018

Apps like Files have a lot of useful, but hard to discover shortcuts. In some cases we could add shortcuts to tooltips or menu's but shortcuts like alt+up, for navigating to the parent folder, doesn't even have a button.

Could we extend this overlay to include a list of app shortcuts? It's probably not scalable to show this for all apps, but maybe we can list just the shortcuts for the current app. (Beside the system wide shortcuts) The current app being the app that had focus before the shortcut overlay was opened.
This way we re-use a known shortcuts screen and we don't have to add extra interface (help screens) in each app.

One of the challenges is probably to have apps make their shortcuts available to the shortcuts overlay?

@arshubham
Copy link
Collaborator

arshubham commented Oct 23, 2018

I think this would need some api to expose shortcuts, maybe granite is a better place for this. An app can just add a key value pair of shortcut and function. It will be upto overlay to render it.

@jeremypw
Copy link
Collaborator

Using the shortcut-overlay would ensure consistent appearance and shortcut although it would mean each app implementing a dbus interface (presumably) for its shortcuts.

@danirabbit danirabbit added the Status: Blocked Something else needs to be done before this can be fixed label Mar 11, 2019
@danirabbit
Copy link
Member

I'm going to mark this as "Blocked" since there is currently no standard way for apps to expose shortcuts externally

@jeremypw
Copy link
Collaborator

jeremypw commented Mar 12, 2019

Another possibility would be to have shortcut-overlay widget in Granite and decide a common shortcut to which apps could respond in order to display their shortcuts using that widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Blocked Something else needs to be done before this can be fixed
Projects
None yet
Development

No branches or pull requests

4 participants