Skip to content
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

Wrong icon in the Accidentals palette #25266

Closed
2 tasks done
FrancRos31 opened this issue Oct 21, 2024 · 7 comments · Fixed by #25653
Closed
2 tasks done

Wrong icon in the Accidentals palette #25266

FrancRos31 opened this issue Oct 21, 2024 · 7 comments · Fixed by #25653
Assignees
Labels
community Issues particularly suitable for community contributors to work on good first issue Issues suitable for first-time contributors. See https://github.com/musescore/MuseScore/contribute

Comments

@FrancRos31
Copy link

FrancRos31 commented Oct 21, 2024

Bug report

(edited after @bkunda comment)

The "Add square brackets" element in the Accidentals palette has the wrong icon
2

Checklist

  • This request follows the guidelines for reporting issues
  • I have verified that this feature request has not been logged before, by searching the issue tracker for similar requests
@muse-bot muse-bot added the feature request Used to suggest improvements or new capabilities label Oct 21, 2024
@cbjeukendrup cbjeukendrup added good first issue Issues suitable for first-time contributors. See https://github.com/musescore/MuseScore/contribute community Issues particularly suitable for community contributors to work on needs design Design is needed labels Oct 21, 2024
@cbjeukendrup
Copy link
Contributor

I think the square bracket icon is actually the wrong icon: it seems to be IconCode::Code::BRACKET, which is apparently for brackets at the start of a staff, while the correct icon would be BRACKET_PARENTHESES_SQUARE (strange name…).

About the sizes: each palette has its own scale factor, and cells can also have individual scale factors. A designer should specify the desired scales.

Once the desired scales are clear, this should be easy to implement for anyone who wants to try that; see palettecreator.cpp.

@FrancRos31

This comment was marked as outdated.

@bkunda
Copy link

bkunda commented Oct 22, 2024

So of the two issues here, I think this is the more pertinent one:

  • Correct icon needs to be used

As to whether they should be moved out of "More", we already have a (nicer) way of parenthesising accidentals via the Properties panel. If someone wants to add them to the top level of the accidentals palette, it's easy enough to do this too.

In light of this, I don't think they need to be moved out of "more" by default.

@bkunda bkunda changed the title Brackets refinement in palettes Brackets refinement in palettes (icon needs correcting) Oct 22, 2024
@bkunda bkunda removed needs design Design is needed feature request Used to suggest improvements or new capabilities labels Oct 22, 2024
@WhyMeAgain233
Copy link
Contributor

Hi,
I'm interested in this good first issue. Would it be possible for me to take it on?

@oktophonie oktophonie moved this from Available to Tentatively in progress in Community Projects Oct 22, 2024
@WhyMeAgain233
Copy link
Contributor

Thanks for assigning me this issue! I'm looking forward to working on it.

@FrancRos31 FrancRos31 changed the title Brackets refinement in palettes (icon needs correcting) Wrong icon in the Accidentals palette Oct 23, 2024
@WhyMeAgain233
Copy link
Contributor

Sorry for the long delay. I've been a little busy with my schoolwork recently, and it took some time to understand the code structure and to figure out where the issue is located.

@cbjeukendrup cbjeukendrup moved this from Tentatively in progress to In progress in Community Projects Nov 26, 2024
@cbjeukendrup
Copy link
Contributor

No worries, thanks for the PR! My palettecreator.cpp hint was a bit less specific than I had realised at first. So, therefore even more, good job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Issues particularly suitable for community contributors to work on good first issue Issues suitable for first-time contributors. See https://github.com/musescore/MuseScore/contribute
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants