"Bo Peng" <[EMAIL PROTECTED]> writes:

> In this GUI,  master bindings (from a bind file) can not be removed.
> Removals and additions to the shortcut lists are done in user.bind,
> and items in user.bind can be removed.

What would be wrong with only considering overriding, especially when
a shortcut can be overridden with an empty shortcut (which in effect
means unbind). 

> 1. I do not want to 'remove'  master bindings, so I have to use a
> color to demonstrate some bindings are removed (UserUnbind, red).
> Removal of UserUnbind means 'revert to system bind'.

Is there a real need for removing bindings? If the changed
(additional) bindings are shown in bold, one can click on some 'reset'
button to revert this entry to the default (or remove it).

Wouldn't that be simple enough? 

Or maybe what we want to do is to have the shortcuts in the first
column (index everything by shortcut). The unbound functions (that are
here only to help) could be put after the bound ones.

> As usual, I tend to make things complicated. Maybe it is a good idea
> not to use any color, or add a third column with texts such as "user
> defined shortcut", "removed system shortcut".

Yes, anyway color-coding of UI is known to be bad: some people do not
see colors correctly.

A few remarks in no particular order:

When opening the prefs dialog, it says:
QLayout::addChildWidget: lyx::frontend::ShortcutEdit "shortcutLE" in wrong 
parent; moved to correct parent

Also I get several
PreferencesPolicy: No transition for input SMI_RESTORE from state INITIAL
when the dialog loses/gains focus.

If I restrict the display with the search feature, the contents is
lost whe n the mouse goes out of the prefs window (I use focus follows
mouse). 

BTW, it would be nice if the search field did some
'search-as-you-type'. Actually, we could get rid of the search button.

The shortcut editor does not work for me: when I type for example C-o
in the binding, only 'C-' appears. Afterwards in the list I see a
weird char.

I just tried this again  and got a 'Error: Failed to create shortcut'
dialog. After that, New always brings up a dislog without function
name.

JMarc

Reply via email to