-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Percussion panel - refinements round 3 #25810
Percussion panel - refinements round 3 #25810
Conversation
d77891b
to
bd31f7f
Compare
bd31f7f
to
15fd861
Compare
15fd861
to
4b21bd2
Compare
src/notation/qml/MuseScore/NotationScene/PercussionPanelPadSwapDialog.qml
Outdated
Show resolved
Hide resolved
src/notation/qml/MuseScore/NotationScene/PercussionPanelPadSwapDialog.qml
Outdated
Show resolved
Hide resolved
src/notation/qml/MuseScore/NotationScene/PercussionPanelPadSwapDialog.qml
Outdated
Show resolved
Hide resolved
src/notation/view/percussionpanel/percussionpanelpadlistmodel.cpp
Outdated
Show resolved
Hide resolved
src/notation/view/percussionpanel/percussionpanelpadlistmodel.cpp
Outdated
Show resolved
Hide resolved
src/notation/view/percussionpanel/percussionpanelpadlistmodel.cpp
Outdated
Show resolved
Hide resolved
} | ||
} | ||
|
||
//! NOTE: Can't use radioButton.text because it won't wrap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should improve it and add the ability to specify the wrap mode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed - I'll address this in a separate PR.
} | ||
|
||
FlatButton { | ||
id: useNewPercussionPanel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really like the fact that we will have to support both the old and new percussion panels. We should get rid of the old panel as soon as possible
4b21bd2
to
2338eba
Compare
2338eba
to
a728361
Compare
Looks good to me! |
This is really excellent info @avvvvve. Quite a few points in there I wasn't aware of - thanks! Point 1 - As noted in some private discussions, this crash seems quite difficult to repro (I haven’t been able to do it on my end yet). However, there is a related problem where the panel doesn’t always update visually on undo/redo or reset layout (point 11). I have a fix for this ready and I’ll be sticking it in my next refinements PR. Point 5 - The navigation order of the panel itself is a known issue, but it should only be rectified after #22050. I haven’t actually been able to repro the “skipping entirely” bug myself, but it has been mentioned before so we’ll keep an eye on that. I’ve noted down everything else you mentioned, and plan to address in a separate PR. For now, I think we should be OK to merge this PR as it doesn’t cause any regressions for the wider app, and none of the panel-specific regressions seem overly critical. |
This round of refinements:
2.1. The last active pad is focused when finishing editing
2.2. Focus remains on the "destination pad" after a pad swap
2.3. When adding a row, focus moves to the first pad in the new row
2.4. Entering notes via write mode no longer switches focus to the notation (ab11c42 & 3dd2de2)
notation/percussion
translation context (a728361)