MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

GSoC '24 - Dynamics Popup - Part 4

Open ketgg opened this issue 1 year ago • 2 comments

This is the fourth part of the main pull request: https://github.com/musescore/MuseScore/pull/23038, which adds the preview of dynamic on hovering.

PR for part 1: https://github.com/musescore/MuseScore/pull/24125 PR for part 2: https://github.com/musescore/MuseScore/pull/24147 PR for part 3: https://github.com/musescore/MuseScore/pull/24152

  • [x] I signed the CLA
  • [x] The title of the PR describes the problem it addresses
  • [x] Each commit's message describes its purpose and effects, and references the issue it resolves
  • [x] If changes are extensive, there is a sequence of easily reviewable commits
  • [x] The code in the PR follows the coding rules
  • [x] There are no unnecessary changes
  • [x] The code compiles and runs on my machine, preferably after each commit individually
  • [x] I created a unit test or vtest to verify the changes I made (if applicable)

ketgg avatar Aug 22 '24 16:08 ketgg

GSoC '24 - Dynamics Popup - Part 4 vs. This is the third part of the main pull request ?!?

Somehow reminds me of "Hitchhikers' Guide to the Galaxy - a trilogy in four parts" (and its 5th part ;-))

Jojo-Schmitz avatar Aug 22 '24 16:08 Jojo-Schmitz

This is the third part of the main pull request ?!?

Oops! I forgot to edit, thanks for catching it @Jojo-Schmitz (I was a bit sleepy yesterday) 😅

ketgg avatar Aug 23 '24 02:08 ketgg

Some UI feedback:

  1. The vertical position of the grey box varies depending on the dynamic you're hovering on. The position for mf, f, ff, and fp are the correct height (just some examples). p through pppppp and mp are too low.

https://github.com/user-attachments/assets/19a0910a-7272-4b69-81a8-be2a2105d05a

  1. If possible, the text entry cursor line should not be shown before the "previewed" dynamic while hovering on a button. We should continue to show it while nothing is being hovered, so that a user can type in a dynamic (another community PR has started to tackle typing in dynamics).

  2. If I focus away from MS Studio while the popup is open, the popup disappears but the editing field stays in place. Ideally, the popup should just stay open or reappear. If we can't do that, we should exit edit mode too

    • If you were editing an existing dynamic, leave edit mode and keep the dynamic selected image

Lower priority: 4. This is a change, but instead of making the previewed dynamic grey, let's make it look the same as a hidden dynamic that is selected - that is, a lighter tint of its assigned voice color as pictured below image

UX note: Not sure if @mike-spa's work on resizing a hairpin when dragging a snapped dynamic was merged before or after this was worked on, but it's not present in this PR. Once we merge this, we need to test that dragging a dynamic around still works as expected.

avvvvve avatar Oct 22 '24 23:10 avvvvve