kynikos / outspline

Extensible outliner and personal time organizer to manage todo lists, schedule tasks, remind events.
http://kynikos.github.io/outspline/
GNU General Public License v3.0
47 stars 9 forks source link

DataViewCtrl steals some keyboard shortcuts #349

Open kynikos opened 9 years ago

kynikos commented 9 years ago

The native GTK widget used by DataViewCtrl would have an internal "live" search feature which steals some keyboard shortcuts: at least Ctrl+n, Ctrl+p, Ctrl+f, Ctrl+a and Ctrl+Shift+a.

Ctrl+f can be recovered by either not defining the DataViewModel's GetColumnType method, or returning None from it.

See also https://groups.google.com/d/msg/wxpython-users/1sUPp766uXU/0J22mUrkzoAJ , https://groups.google.com/d/msg/wxpython-users/QvSesrnD38E/31l8f6AzIhAJ and https://groups.google.com/d/msg/wxpython-users/4nsv7x1DE-s/ljQHl9RTnuEJ

kynikos commented 9 years ago

Maybe show the remaining natively working accelerators in additional items under the View menu?

Ask upstream to provide a style flag to disable the shortcuts from the native widget? There seems not to be an easy way though... https://developer.gnome.org/gtk3/stable/GtkTreeView.html