Inserting a note corrupts the bar when a staff has a local time signature

Aperta
#35,783 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
54/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
backend, desktop

Direzione di ricerca

Reproduce the corruption using the two score setups and insertion steps in the issue; the report names no source files or tests. Start by tracing note insertion with Ctrl+I when a staff has a local time signature, then identify the affected code and any relevant tests. Done means saving either reproduced score no longer corrupts it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

corruption P2
Issue type

File corruption

Description with steps to reproduce

Part 1: inserting on the staff with the local time signature

  1. Create a new score for e.g. Oboe and Clarinet in B♭, in 4/4
  2. Ctrl+drag 3/4 from the Time signatures palette onto b.1 of the oboe (local time signature)
  3. Enter C D E as quarter notes in b.1 of the oboe
  4. Select the D, press N, then Ctrl+I (Insert input) and type F
  5. Save
    Result: Score is corrupted.

Part 2: inserting on another staff

  1. Create a new score for e.g. Flute and Oboe, in 4/4
  2. Ctrl+drag 3/4 from the Time signatures palette onto b.1 of the oboe (local time signature)
  3. Select the flute's rest in b.1, press N, then Ctrl+I (Insert input), and add a quarter note
  4. Press Esc, then save
    Result: Score is corrupted
Supporting files, videos and screenshots

PART 1:

https://github.com/user-attachments/assets/525f80c1-5961-48c4-8a65-614c7440a789


PART 2:

https://github.com/user-attachments/assets/1f478280-e811-4305-8044-53cae060fe22

In which versions of MuseScore Studio is this issue present?

Nightly main

Regression

No.

Operating system

macOS 27.2.1

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
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.