musescore / musescore/MuseScore

Changing two notes to dotted equivalent removes tie to next note

Open
#31,608 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community
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. imported a MIDI file in 3/4
  2. all dotted half notes (notes that take a full bar in 3/4) are represented as a half note tied to a quarter note - not great but OK. Maybe that's the way the MIDI contains these notes but it would be great if Musescore was smart enough to know that these notes take a full bar and make them dotted half notes during the import.
  3. many of these notes are tied to the same combo in the next measure ie. one measure has half then quarter, next measure has half then quarter, and they are all tied together for one long note that spans the 2 measures
  4. manually changing all the tied half+quarter notes to dotted half notes (not very pleasant) but when I select a half-note and hit the . key to change it to dotted, it loses the tie to the next measure, so I have to then hit T to replace the deleted tie
    When changing notes like this to dotted, if no rest needs to be inserted, ties should be maintained
    Same issue if just changing notes within a measure, it's not related to spanning between measures. You can see in the video that when I hit . on the second measure, the tie is properly maintained to the measure before, but when I hit . in the first measure, the tie is not maintained to the measure after.

Note that Tools > Regroup rhythms does seem to maintain the ties properly

Supporting files, videos and screenshots

https://github.com/user-attachments/assets/63cab7bd-c64a-4da9-b5ba-596039ab8825

In which versions of MuseScore Studio is this issue present?

MuseScore Studio version (64-bit): 4.6.5-253511702, revision: github-musescore-musescore-653f38d

Regression

I was unable to check

Operating system

OS: Windows 10 Version 22H2 or later, Arch.: x86_64,

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

Reproduce the issue by importing the described MIDI file, then changing a half note with the dot key and compare the result with Tools > Regroup rhythms. Trace the note-duration change and tie handling from those entry points; done means converting a note without requiring a rest preserves the tie to the following note or measure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.