GSoC 2017 - Startup Wizard - Weekly Report 6 - Jul 9th
github: https://github.com/aryamanvinchhi/MuseScore
This week the main task that I worked on was merging the code for the shortcut management system. The shortcut management system uses different shortcut lists for different operating systems and different keyboard layouts. The main motive behind the merge was to enable users to customize their shortcut lists for their respective configurations of keyboard and OS and save these customizations using the new save feature. Users could then send in these lists or provide feedback which could then be used to avoid keyboard shortcut conflicts in the future.
Key Tasks That Stalled:
The merge itself. Upon merging we found various bugs and problems with the code. The startup wizard was not robust and did a poor job of error handling. All methods written in the startupWizard.cpp file had to be modified and tested properly to avoid unexpected errors and conflicts. The merge was therefore reverted. Most of my work this week went into fixing this problem.
Key Accomplishments Last Week:
1. Changed the startup wizard form a simple dialog to full-fledged wizard. This change was made in anticipation of the work to be in done in the coming weeks, that is, finishing the rest of the wizard.
2. Improved the implementation to detect the user’s keyboard layout. The dialog now handles exceptions, recommends the best suited layout to user and accounts for translations.
3. Generally cleaned up the code to make it more efficient. Data structures like lists and QMaps were changed to handle the shortcut management system in a better fashion.
Tasks in the Upcoming Week:
1 To complete the merge. The code is nearly ready and should be merged soon.
2 Continue working on the rest of the startup wizard.