GSoC 2017 - Startup Wizard - Weekly Report 2 - Jun 11th
github: https://github.com/aryamanvinchhi/MuseScore
This week I worked on implementing a way to detect a user’s keyboard layout. After the keyboard layout is known, the appropriate shortcut list can be selected. The startup wizard is now slowly taking shape.
Key Accomplishments Last Week:
1. Configured the startup wizard to ask the user for his keyboard layout based on his system language.
2. Implemented a way for a user to choose from a universal list if his keyboard layout is not present on the recommended list shown initially.
This list currently covers all the keyboard layouts of the most commonly used languages on MuseScore: English, German, French, Japanese, Spanish, Italian, Brazilian Portuguese, Dutch and Korean. Keyboard layouts can easily be appended to the list.
Key Tasks That Stalled:
1. Making separate shortcut lists for the keyboard layouts that need them. Currently, default shortcuts are stored in shortcuts.xml but for keyboard layouts that have conflicts, a separate file (say shortcuts_de.xml) must be created.
2. The challenge here is to find a way to make separate shortcut lists for ALL exceptions so that everything works properly.
Tasks in the Upcoming Week:
1. Start making separate shortcut lists for the layouts that require them.
2. Implement a method to choose the appropriate list on startup.
3. Find a way to cover all exceptions.
Comments
Hi,
Good job. Regarding the upcoming week, talk it through with your mentor, but I would suggest you focus on the ability to export and import a shortcut list even if you don't have the right list for each layout yet.
And please make a PR, even if it isn't ready for merging yet, we can flag it as Work In Progress, but having a PR makes it easier to follow where you're at currently