Description
Add --actions-on-double-click as a new configurable action list, consistent with the existing actions-on-enter, actions-on-escape, and actions-on-right-click options.
When actions-on-double-click is not set (empty), double-click does nothing.
Marked as experimental since the future implementation of #89 (generic trigger-action bindings) may provide a more general mechanism for this.
Use case
Double-click to confirm/save is a common gesture in screenshot annotation workflows. Both Snipaste and PixPin use double-click to confirm/save in their annotation modes.
Implementation notes
Depends on: #485
Related discussion: #481
Description
Add
--actions-on-double-clickas a new configurable action list, consistent with the existingactions-on-enter,actions-on-escape, andactions-on-right-clickoptions.When
actions-on-double-clickis not set (empty), double-click does nothing.Marked as experimental since the future implementation of #89 (generic trigger-action bindings) may provide a more general mechanism for this.
Use case
Double-click to confirm/save is a common gesture in screenshot annotation workflows. Both Snipaste and PixPin use double-click to confirm/save in their annotation modes.
Implementation notes
n_pressed >= 2on primary button click.process_actions(from Add Undo and UndoOrExit action variants for action chains #485), so all action variants includingundoandundo-or-exitwork.Depends on: #485
Related discussion: #481