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
Fix #289006: Expose "Select Instrument" in Inspector for Instrument Change text #5010
Fix #289006: Expose "Select Instrument" in Inspector for Instrument Change text #5010
Conversation
15fa9e4
to
c5af214
Compare
Nice! I should point out I also have a related complementary PR #4958, to allow staff name changes via Staff Properties. If/when that gets merged, we could consider adding a staff Properties button here too. Another possibility is just add instrument names fields to the Inspector, but that might require a little more hook up. @joshwd36 this is the kind of thing your project is about, right? Any ideas on what might makes sense as a short term solution? |
Hmm, how about "Staff Properties..." and "Measure Properties..." buttons both being present whenever any note, rest, or range is selected (just like how they're in the menu when right-clicking on any note, rest, or empty space in a staff)? When more than one staff or measure is in the range, the dialog could simply open to the first one. |
That's for another PR, though. |
Heyyyy, what if those buttons went in the status bar? 😲 |
@MarcSabatella, yes, this is the kind of thing that my GSoC project is looking to fix. My idea was to have the instrument change dialog come up when the object is added, and also have a button in the inspector (and possibly the right click menu too). This would then change the staff properties automatically. |
// selectInstrument | ||
//--------------------------------------------------------- | ||
|
||
void Ms::ScoreView::selectInstrument(InstrumentChange* ic) |
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.
The function name selectInstrument()
is not very clear, if you don't know it's related to instrument change. Maybe something like selectNewInstrument()
or simply changeInstrument()
is better?
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 think it should match the title of the dialog it opens, but that also could be "Change Instrument."
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.
Actually, SelectInstrument is also the internal name of the object. I'm inclined to keep it that way.
c5af214
to
7a32a58
Compare
Updated and rebased |
another rebase needed |
This is partially included in #5782, and the inspector is being under a redesign now. Wouldn't it be better to wait for a redesign to happen in this case? |
7a32a58
to
95e59f6
Compare
95e59f6
to
82f4334
Compare
Addresses problem raised by Tantacrul in https://youtu.be/4hZxo96x48A?t=1149