musescore / musescore/MuseScore

Double-clicking a placeholder field should automatically select the field's contents

Open
#17,018 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Your idea

When double-clicking on a text field in a new file, it simply places the text cursor where the user clicked. This is fine if a user is modifying text that they had already entered, but when double-clicking the placeholder text (i.e "Untitled score") it would be better if the text was automatically selected so that they can immediately begin typing.

Problem to be solved

Rather than placing the cursor into the field when double-clicking a placeholder element,
image

It should instead highlight/select the placeholder text so the user can immediately type their own value in without having to first delete the placeholder data
image

Prior art

No response

Additional context

No response

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 locating the desktop editor code that handles double-clicks and placeholder text such as "Untitled score". Check the existing text-field behavior and add or update focused tests if the project has coverage for it. Done means double-clicking placeholder text selects it for immediate replacement, while existing text retains normal cursor behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.