[haiku-bugs] Re: [Haiku] #14277: Shortcuts: Improve interface

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 07 Aug 2019 06:52:58 -0000

#14277: Shortcuts: Improve interface
-------------------------------------+----------------------------
   Reporter:  Janus                  |      Owner:  leavengood
       Type:  enhancement            |     Status:  assigned
   Priority:  normal                 |  Milestone:  Unscheduled
  Component:  Preferences/Shortcuts  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by humdinger):

 I have a proposal on how an improved Shortcuts prefs could look like.\\
 How about a simple main window with a list, first column "Keycombo",
 second "Action". Under the list a "+" and "-" button to add/remove a
 shortcut. Very similar to the Repositories prefs, just with Revert/OK
 buttons instead of of Enable/Disable, because I don't think we'd need
 those.

 Adding a new shortcut or double-clicking an existing one opens a window.
 Something like this:
 {{{
 Key combination: ___________________ [Clear]

 Choose action:

 * Launch application: ___________________________ [Browse...]

 * Send message: _____________ to ________________ [Browse...]

 * Mouse action: {popup:}   ____________
                 MouseMove,
                 MouseMoveTo,
                 MouseUp,
                 MouseDown
                 MouseButton,
                 etc.

                                         [Cancel] [OK]
 }}}

 When the text field of "Key combination" has the focus, the pressed keys
 are inserted, e.g. "ALT+SHIFT+V". The "Clear" button blanks the field.

 The "Browse..." button opens a file dialog to find the app to launch. The
 path is inserted in the text field, the user may optional add parameters
 there.

 When sending a message, the first text field takes the message string, the
 second the app's signature that gets inserted when choosing the app from
 the "Browse..." file dialog.

 I'm not really sure the typical user needs all these "Mouse actions", but
 if it's decided to keep them, they could be chosen from a popup menu with
 the parameters to be entered in a text field. A tooltip could come in
 handy here...

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14277#comment:10>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: