Do

Not all keys definable as shortcuts in Preferences

Bug #394581 reported by Johannes Rudolph
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Do
Confirmed
Medium
Unassigned

Bug Description

Not all keys can be used in the preferences. For example, I changed the key of "Browse into Item" from the right arrow key into another key. It is not possible to change it back again, since the right arrow isn't detected after double clicking the line.

Revision history for this message
Johannes Rudolph (johannes-rudolph) wrote :

I just found an obscure way to get back the default key at least: After double-clicking the line, typing backspace restores the default setting. Perhaps one could put that information into the info line "To edit a shortcut ..."

Robert Dyer (psybers)
Changed in do:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Joe Soulbringer (joesolbrig) wrote :

Changing
  bindingCell.AccelMode = CellRendererAccelMode.Gtk;
to
  bindingCell.AccelMode = CellRendererAccelMode.Other;
in
  /Do/src/Do.UII/KeybindingTreeView.cs, line 48
Seemed to fix this problem in the 0.8 branch. I'm not using the latest branch but the code there looks the same.

This changes the type of the accelerators you can input to be anything rather than requiring them to be only "GTK accelerators". The plain left and rights arrows, for example, are not GTK accelerators since they are not compatible with menu shortcuts.

Revision history for this message
Robert Dyer (psybers) wrote :

The proposed fix does help, in terms of binding the arrow keys anyway. It introduces issues binding the <Super> key in Ubuntu and according to our Windows testers, any modifier key. I guess we will have to keep investigating.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.