musescore / musescore/MuseScore
Unable to insert special character "Staves" or "Time Signature - numbers"
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Describe the bug
There are couple of issues, when inserting Special Character - Staves - any of staves symbols, or Time Signature symbols - numbers.
If only character is "Staves" symbol, nothing appears. If text already contains other content (text, or other special character), it is possible, to insert "Staves" symbol, but it doesnt take space (EDIT zero width is intended, see comment below).
If other characters are removed, Staves symbol disappears.
To Reproduce
Steps to reproduce the behavior:
- Add Text - Special Characters - Musical Symbols - Staves (or Time Signature)
- Click on any Staves symbol (or number in Time Signture)
- Nothing appears in score
Expected behavior
Staves symbols behave as any other symbol, or character.
Screenshots
https://user-images.githubusercontent.com/1646034/211140003-dab26993-f7d6-468e-87cd-a3f5eb5047d7.mp4
Platform information
- OS: [reported on Linux, Win]
Additional context
Probably, problematic are those symbols, which have zero width.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Reproduce the problem in MuseScore by inserting Staves and Time Signature number symbols into an otherwise empty score and into text containing other characters, then trace special-character insertion and rendering for these zero-width symbols. Done means the symbols remain visible and behave consistently in both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100