Name each kind of added text in the undo history, instead of "Add text"

Aperta
#35,773 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@avvvvve ci sta già lavorando.

Dal 25/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

needs design approval
Your idea

When text is added with a command from Add > Text or its shortcut, the undo step should name what was added (for example Add staff text, Add chord symbol, Add tempo marking, Add dynamic), as most other Add steps do (Add slur, Add hairpin, Add clef, Add figured bass).

Problem to be solved

At the moment, every one of these steps is named Add text:

  1. Select a note and press Ctrl+T, type some text and press Esc
  2. Select a note and press Ctrl+K, type a chord symbol (for example C7) and press Esc
  3. Select a note, press Ctrl+D and choose a dynamic in the popup

Result: the History panel lists three Add text steps.

Screenshot 2026-11-25 at 13 20 17

A run of identical entries makes it hard to find the step to go back to in the History panel, and the same goes for the Undo/Redo labels in the Edit menu. Dynamics are also inconsistent: the same dynamic added from a hairpin's end handle with Ctrl+D is already named Add dynamic.

This covers everything in Add > Text (staff and system text, expression, tempo marking, rehearsal mark, lyrics, fingering, sticking, chord symbols, instrument change, title, subtitle, composer, lyricist), since they share the same command.

Related: choosing a different value in the dynamics popup for an existing dynamic is named Add dynamic, although nothing is added. Change dynamic would describe it better.

Prior art

No response

Additional context

Until the History panel catches up (#35771), step 3 also shows a separate Add dynamic entry. It's merged into the Add text step, so one undo removes both.

Checklist
  • This request follows the guidelines for reporting issues
  • I have verified that this feature request has not been logged before, by searching the issue tracker for similar requests
Lingua principale
C++
Stelle
15.5k
Fork
3.4k
Merge medio
2g 18h
PR unite (30g)
114

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di musescore/MuseScore

Tutte le issue di musescore/MuseScore

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.