musescore / musescore/MuseScore

When starting to edit a text element via keyboard, select the entire contents

Open
#27,346 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community P3 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. Select a text element (i.e. staff text or the score title)
  2. Use a shortcut (i.e. Shift + Enter) to enter text editing mode
  3. See that the cursor is at the beginning of the text

The text should be selected instead.

Supporting files, videos and screenshots

https://github.com/user-attachments/assets/c21906b4-017e-4c6d-b9f5-6f3da441b72d

What is the latest version of MuseScore Studio where this issue is present?

4.5

Regression

No.

Operating system

macOS 15

Additional context

No response

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 tracing the keyboard shortcut path into text editing mode for staff text and score titles, then inspect how the initial cursor position is set. Reproduce the issue on the reported interaction and verify that entering editing mode selects the entire existing text instead of placing the cursor at its beginning.

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.