No keyboard shortcuts after update to 0.4.3beta1 if "shortcuts.conf" is empty or not present
Bug #1180050 reported by
Adam Reichold
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qpdfview |
Fix Released
|
Medium
|
Adam Reichold |
Bug Description
After updating to 0.4.3beta1, all keyboard shortcuts are empty if the configuration file "shortcuts.conf" is empty or not present at all, e.g. if the user has never set the keyboard shortcuts through the settings dialog.
The problem seems to be the asymmetric handling of shortcuts (as a list of key sequences) and default shortcuts (a single key sequence) and should be fixed in trunk revision 1155.
Changed in qpdfview: | |
status: | Confirmed → In Progress |
Changed in qpdfview: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I can confirm that the bug is present in revision 1154 and solved in revision 1155: Whenever a shortcut is not defined in the shortcuts.conf file (e.g. if the file does not exist), there ist nor shortcut in revision 1154, which means that no shortcuts work if none have been manually changed before, because a shortcuts.conf is not created by default. In revision 1155 the default shortcuts work also if no shortcuts.conf file is present.
As an ad hoc solution for 0.4.3~beta1, it is possible to open the shortcut-tab in the settings menu and click the "defaults" button. The default shortcuts will then appear in the table and a shortcuts.conf containing them is created.