musescore / musescore/MuseScore

Pressing enter should finish editing dynamic, not add a line break

Open
#34,381 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community P2 UX/interaction
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
  1. Create a new dynamic by pressing Cmd+D
  2. Type f
  3. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.