Ticket #1423 (new defect)
Padre crashes on keybind / Padre закрывается при попытке задать гарячие клавиши
| Reported by: | Negor | Owned by: | Negor |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | not classified yet | Version: | 0.94 |
| Keywords: | Cc: |
Description
If I try to change hotkey on Tools -> Prefs. -> Key-Bindings Application crashed. Just in moment when I click on Item to change.
При попытке задать гарячую клавишу приложение закрывается. Закрытие происходит именно в момент нажатие мышкой на действии для гарячей клавиши
OS: Windows 7 Maximal
Note: See
TracTickets for help on using
tickets.

Same here, running version 0.96 on Debian
Problems seems to be that functions in Padre::Wx::Dialog::Preferences do not check for the existence of the action they are meant to bind, eg.in _on_list_item_selected and _set_binding.
In my case, I was attempting to alter the (by default unassigned) action file.reload_file. The action did not exist in the dialog's $self->ide->actions, so padre crashes when
my $shortcut = $self->ide->actions->{$name}->shortcut;is called at/around line 402 and elsewhere.
Closing the application and manually adding the key in config.yml as keyboard_shortcut_file_reload_file: <desired_binding> before restarting provided a work-around.