https://bugs.kde.org/show_bug.cgi?id=358543

            Bug ID: 358543
           Summary: Krita can't bind shortcuts to mouse clicks generated
                    with xdotool or xte.
           Product: krita
           Version: 2.9.10
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: usability
          Assignee: [email protected]
          Reporter: [email protected]

Due to a driver issue with my digitizer, I am using a bash script to simulate
right-clicks with xdotool when my stylus button is pressed. However, these
clicks cannot be used to activate a shortcut (I would like to show the popup
palette when it is pressed). This does work if I simulate a keypress instead of
a mouseclick: I hoped to work around this problem by adding "xdotool key F13"
to the button-down case and binding the popup palette shortcut to it. It
worked, but annoyingly, the right mouse button then did register on the palette
as soon as it popped up, necessitating that I use separate scripts and not run
them simultaneously.

The same problem results when using xte instead.

Reproducible: Always

Steps to Reproduce:
1. Place mouse cursor over canvas, or open Configure Shortcuts menu and attempt
to bind a new shortcut.
2. execute "xdotool click 3" or "xte 'mouseclick 3'" in terminal.

Actual Results:  
No result.

Expected Results:  
Successfully binding a shortcut to the right mouse button, or showing the popup
palette (default binding).

See
http://askubuntu.com/questions/724891/how-do-i-correct-this-mismapped-stylus-button?725258#725258
for the script being used.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to