musescore / musescore/MuseScore

Copying a tempo element to a palette doesn't save whitespace between "=" and digits

Open
#28,859 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

P2 UX/interaction
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

UX/Interaction bug (incorrect behaviour)

Description with steps to reproduce
  1. Create a tempo element
  2. Modify the whitespace between "=" and the tempo digits by either changing the font used, or size (pt) of the whitespace character
  3. Control + Shift + Left click drag into a palette to create a custom palette item
  4. Saved element will delete the white space between "=" and digits
Supporting files, videos and screenshots
Image
  1. (changing the font, or the size, or both will affect this behaviour)
Image
  1. (newly added element added highlighted in red)
Image
  1. (Adding custom element back onto the score, whitespace removed, you can also see it in the preview)
Image
What is the latest version of MuseScore Studio where this issue is present?

Musescore 4.5.2

Regression

I was unable to check

Operating system

Windows 11

Additional context

Adding additional whitespaces or removing it entirely between "=" and digits has the correct behaviour

e.g.
Image

Additionally, this may also affect control + c copying

Checklist
  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in MuseScore Studio 4.5.2 on Windows 11 by modifying the whitespace in a tempo element, copying it into a palette, and adding it back to a score. Compare the original, palette preview, and restored element, then check whether Control+C shows the same behavior. Done means the customized whitespace between '=' and the tempo digits is preserved.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.