Wrong keycode retrieve recursive error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
btnx-config |
In Progress
|
Medium
|
Olli Salonen |
Bug Description
- In "Button properties" tab, select any button.
- Set the "Event Type" as "Key combination".
- Set the "Keycode" manually with a wrong keycode (example: select the NONE value and replace by f).
- Change the focus and an error is retrieved
Console message:
/usr/share/
Warning: dialog_
Warning: tree_config_
Warning: keycodes_get_index could not find keycode: f
- If the Close button is pressed in the error dialog it will come back. It should select the value inserted or change to the previous value.
Console message:
(btnx-config:
connect a handler to this signal, it must return
FALSE so the entry gets the event as well
Error: no keycode by that name exists.
Warning: keycodes_get_index could not find keycode: f
Warning: keycodes_get_index could not find keycode: f
Only way to get out is to kill btnx-config and configuration lost
description: | updated |
I have heard mention of this bug before. Like before, I'm unable to reproduce the recursive error.
On my system, btnx-config shows the error dialog, then does like you suggested: it highlights the erroneous value. This stops the error from continuing.
What version of gtk and glib do you have?
I admit the keycode entry is not ideal, and will probably be reimplemented with the btnx-config C++ rewrite, which is under way.