Opened 8 years ago

Last modified 7 years ago

#1423 new defect

Padre crashes on keybind / Padre закрывается при попытке задать гарячие клавиши

Reported by: Negor Owned by: Negor
Priority: major Milestone:
Component: Preference System Version: 0.94
Keywords: Cc:


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

Change History (2)

comment:1 Changed 8 years ago by riezjart

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, _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.

comment:2 Changed 7 years ago by andmott

  • Component changed from not classified yet to Preference System
Note: See TracTickets for help on using tickets.