Bar line doubles on deletion
I can't remember exactly how I ended up with this situation, but here is roughly what happened:
Between bars 8 and 9 of my piece for piano and baritone, I added a bass clef and a time signature. When I looked at it later, it turned out that the bar line of the piano (which I hadn't touched) between these bars appeared to be a double bar line:
I thought that this might be a mistake on my side and tried to delete it. But this didn't work: Instead, if I press on delete, it doubles even further:
It is probably possible to repeat this process infinitely. Very strange bug.
Attachment | Size |
---|---|
Fragments of a broken Mirror - Als ich ein Vogel war-1.png | 7.71 KB |
Fragments of a broken Mirror - Als ich ein Vogel war-2.png | 8.25 KB |
Comments
The problem is found in line 1017:
<tick>12000</tick>
If one removes this line, everything looks perfect.
The bug seems to be that under some circumstances, MuseScore adds a "tick" tag to a "Clef" tag inside a "Measure" tag. This shouldn't happen. I believe there should only be a "tick" attribute for "Clef" tags inside a "cleflist" tag at the beginning of the file.
Maybe it's a good idea to add a debug assertion to the devel version that makes sure that "Clef" tags don't get "tick" tags inside measures?
(Anyway, I find it inconsistent that clefs are being declared at different parts of the XML file...)
Looks like the score got corrupted somehow. See if the attached works for you
Edit: oh, just saw that you found the problem...
What version are you using?
I just realised, I think I had the same problem once! At the time, I may have been using MuseScore 2.0 Nightly Build (5326 - possibly) - Mac 10.6.8.
I think I was applying 'Delete Select Measures' and suddenly, a double bar line appeared on some (not all) instruments. I was struggling to reproduce, but I'm glad I'm not alone and it can hopefully be fixed.
See attached score and PDF - the latter created using MuseScore 2.0 Nightly Build (5626) - Mac 10.7.4.
But thanks, Jojo, anyway!
Chen Lung, I'm using 1.2 on ArchLinux, revision 5470. Can you upload your problematic file uncompressed? I would like to have a look at it.
you can uncompress it yourself, just open it with WinZIP or 7zip.
Thanks, already gzip does the job! Good to know.
Thanks, already gzip does the job! Good to know.
Here, I can't figure out the problem.
Since the bug is about 1.2, we should probably close this.
If you manage to reproduce the problem in a new score, please make another issue.
Thanks :)!
It remains in 1.3, but I can't test it in 2.0. Will let you know.