Resetting keyboard shortcuts crashes

Bug #1113740 reported by Jonathan Corwin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Invalid
High
Unassigned
2.0
Invalid
Undecided
Unassigned

Bug Description

In 2.0.1

Settings -> Configure Shortcuts
Click Restore Defaults
Yes to the warning.
Click OK.
Get the following traceback...

Traceback (most recent call last):
  File "C:\Users\Jonathan\Documents\projects\openlp\2.0\openlp\core\ui\mainwindow.py", line 941, in onSettingsShortcutsItemClicked
    self.shortcutForm.save()
  File "C:\Users\Jonathan\Documents\projects\openlp\2.0\openlp\core\ui\shortcutlistform.py", line 354, in save
    self.action_list.update_shortcut_map(action, old_shortcuts)
  File "C:\Users\Jonathan\Documents\projects\openlp\2.0\openlp\core\utils\actions.py", line 338, in update_shortcut_map
    ActionList.shortcut_map[old_shortcut].remove(action)
ValueError: list.remove(x): x not in list

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

I cannot reproduce this. Are you sure you can reproduce this? Maybe it is a windows bug?

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

Also works in my VM. Steps to reproduce neeeded.

Changed in openlp:
importance: High → Medium
status: New → Incomplete
importance: Medium → High
Revision history for this message
Phill (phill-ridout) wrote :

I cannot replicate this on windows 8. Tried changing all shortcuts.

Changed in openlp:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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