Bindings on keypad directions incorrectly activate for different modifiers
Steps to reproduce
For context, GtkSourceView binds
Alt+KP_Up to swap a line with the one above it, and
Alt+Shift+KP_Up to move the viewport (and same for
Please note that the
KP_ is important. This doesn't happen for
- Run the attached sample, which in one direction has removed both Alt+KP_Up and Alt+Shift+KP_Up bindings, but only
- Scroll down using
Alt+KP_Down; this shouldn't work because we've removed the binding, but does.
- Try and scroll up using
Alt+KP_Up; this doesn't work and yet the only difference is that we've removed the
Alt+Shiftbinding as well.
KP_Down activates bindings for
This does not appear to happen for the non-
KP_ versions of these bindings.
Alt+Shift bindings shouldn't be activated.keybinding.py
Fedora 25 (GTK+ 3.22.17) and confirmed with jhbuild of current