#16513: [RFC] New shortcut preferences design
------------------------------------+----------------------------
Reporter: nephele | Owner: nobody
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: Preferences/Shortcuts | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
------------------------------------+----------------------------
Comment (by humdinger):
I'm not very clear on how the right side of your mockup works. And I have
to say, that drk theme is still distracting for me... :)
Here's a mockup of how I imagine the Shortcuts panel:
[[Image(shortcuts_mockup.png)]]
Having an OutlineListView to the left with the two main categories,
"System" and user provided "Custom" may work nicely. I originally thought
of a flat BColumnListView though. With columns, we could add a "Kind"
column to sort system/custom shortcuts.\\
But I guess an "outlined" tree can work as well. In any case, it should
show the shortcut name and the actual shortcut.
The right side shows the details of the currently selected shortcut.\\
The "Set" button opens a window with the text: "Press the keys for the
shortcut." or something that then records the user input.
The "Action" popup menu shows the possible actions. Depending on the
action, choosing an action (or pressing the "Configure" button) opens a
config window specific to that action. E.g.:
* "Launch application" opens a file dialog (or a query for all installed
apps)
* "Send message" opens a window to set the 'what' and target of the
BMessage.
* "Mouse action" opens a window that let's you choose "left/right mouse
click" or "send pointer to coordinate x/y" or similar actions
System shortcuts could have special system actions that we can think about
in more detail. For example, mapping of CMD, CTRL, media keys etc.
I'm not sure we need to provide a way to disable a shortcut, but if so, a
little "Disable" checkbox can be fit in the right side of the panel.
--
Ticket URL: <https://dev.haiku-os.org/ticket/16513#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.