musescore / musescore/MuseScore
Pressing enter should finish editing dynamic, not add a line break
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
Choose option...
Description with steps to reproduce
- Create a new dynamic by pressing Cmd+D
- Type f
- Press enter
Expected: new forte dynamic is created, exit text editing mode.
Actual: line break inserted below f, still in text editing mode.
(You can exit text editing mode by pressing Esc, but that is less ergonomic, and feels incorrect: I want to keep my changes, so Enter is the natural key for that.)
Supporting files, videos and screenshots
Not needed
In which versions of MuseScore Studio is this issue present?
4.7, main
Regression
I was unable to check
Operating system
macOS
Additional context
I don't know if anyone ever wants multiple lines of text in their dynamic, but if so, another key like Shift-Enter could be used.
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
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
Start by reproducing the dynamic editing workflow in MuseScore Studio 4.7 or main: create a dynamic with Cmd+D, type f, and press Enter. Trace the keyboard handling for dynamic text editing; done means Enter creates the forte dynamic and exits editing instead of inserting a line break.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100