rgargvanshu's blog

GSoC'22 - Final Work Product: Global Shortcuts

2 years ago • 0 comments

GSoC’22 has finally come to an end. It was an extremely fun experience learning and implementing technologies as and when they were needed. In this blog I will try to explain all the major objectives that were brought about by this project.
My work is divided among quite a lot of PRs : All Pull Requests during GSoC period
However, some of them are fixes for some other PRs.

Overall, my work consists of 4 major PRs.

Toolbar Shortcuts

First

Read more

GSoC'22 - Week #11: Global Shortcuts

2 years ago • 0 comments

Shortcut Categories

Since a few concerns were reported in PR #12752, this week's focus turned toward that PR.

  • There was a problem with the clumsy opening/closing animation in which the text remained for longer than it should have. I resolved this by implementing (but not yet pushing) a change in opacity when the section closes, which should make it seem better.

  • The section title's font was also not bold; this has been corrected.

  • There are also some refactoring concerns, such

Read more

GSoC'22 - Week #10: Global Shortcuts

2 years ago • 0 comments

Palette Shortcuts

This week was devoted exclusively to enhancing and improving the code for palette shortcuts. For instance, there was a location where palette cells were being stored unnecessarily. It effectively served as an intermediary. I eliminated this intermediary and directly iterated over the palette cells to produce action names. In the following weeks, I will continue to work on optimizing this and making the code as clear as possible, since I feel that certain portions of the code are

Read more

GSoC'22 - Week #9: Global Shortcuts

2 years ago • 0 comments

Palette Shortcuts

After tidying up and fixing a few issues with palette shortcuts. The proof-of-concept PR version is now complete and available: #12850

The system flow is straightforward. You may assign a keyboard shortcut to a palette item from either the palettes by right-clicking and left-clicking the desired menu item (add/delete) or the preferences page. Although the name on the preferences page is quite cumbersome and only for development reasons.

[inline:MuseScore4_JgU1TcXikU.png]

Shortcut Categorization

[inline:CategoriesShortcuts.png]
The shortcuts classification PR draft is also complete

Read more

GSoC'22 - Week #8: Global Shortcuts

2 years ago • 0 comments

Palette Shortcuts

In the eighth week, significant progress was made on palette shortcuts. However, after consulting with the team, it was determined that this feature must remain a proof-of-concept for the time being. The justification for this is that there are a number of issues that directly impact this.

  • For instance, activities using default keyboard shortcuts cannot be cleared.
  • If new palette components are introduced in an update, the user cannot simply add them without resetting his palette settings, which
Read more

GSoC'22 - Week #7: Global Shortcuts

2 years ago • 0 comments

Palette Shortcuts

In the seventh week, I primarily focused on palette shortcuts. Initially, there were some issues with my implementation of these shortcuts, and some issues persisted, and a few still persist.

In the past, palette cells could only be assigned keyboard shortcuts if their names remained constant.  Obviously, this was not the correct solution; thus, it was rectified. Although keyboard shortcuts may be set from palettes, they should also be assignable from the preferences for keyboard shortcuts. If they are

Read more

GSoC'22 - Week #6: Global Shortcuts

2 years ago • 0 comments

Conflict-Issue Resolution

The sixth week marks the halfway milestone of the project. This week began with the resolution of a shortcuts issue I discovered while working on my project: PR #12479.
This problem was relatively straightforward and was also described in the PR. In essence, the problem was that the conflict checking compared the string form of two shortcuts, which was OK for the most part, but presented issues when the shortcut already set had several sequences. For instance,

Read more

GSoC'22 - Week #5: Global Shortcuts

2 years ago • 0 comments

Missing Shortcuts Issue

The fifth week was quite active. Essentially all of the week was spent working on the missing shortcuts issue with the team. As soon as I had the shortcut contexts in the spreadsheet shown in the last blog article, I started adding them to the code. This approach was made a bit easier by the script I had written (I had tweaked the category addition script to add shortcut contexts instead). However, it required quite a few adjustments

Read more

GSoC'22 - Week #4: Global Shortcuts

2 years ago • 0 comments

Hello, everyone! Now that the fourth week has passed, I am pleased to say that the Note Input Toolbar and Playback toolbar UI shortcut assignment functionality has been converted into a Pull Request. Please observe the same here: PR #12265.

Additionally, the python script, which is around 120 lines, that can add categories to the spreadsheet has been completed. This implies that once the spreadsheet containing all of the shortcut categories is complete, adding them into the code should

Read more

GSoC'22 - Week #3: Global Shortcuts

2 years ago • 0 comments

Hello, everyone! With the conclusion of the third week, I am pleased to report that the Note Input Bar and Playback Toolbar shortcuts are currently in the testing phase. If you'd like to have a look and give it a try, please visit: https://github.com/VanSHOE/MuseScore/tree/NotePlaybackShortcuts
[inline:PlaybackToolbar.png]
The majority of this week was devoted to the classification of shortcuts. Since categorization by the team would take some time since the process requires a lot of iterations, I began designing a script that

Read more