Adding articulations is slow
I've noticed that adding articulations is quite slow in 3.1 in page view.
For example, starting in measure 279 of the attached score in the Violin II part.
When I added the tremolos, the result was almost instant. When I added the Accents and Staccato there was a long lag. From my perspective, in m283, it doesn't matter if I select all of them and press S or one and press S it seems to take about the same amount of time.
Comments
In the same score, the bass clef added to the horn in the first measure is way too close to the time signature.
In reply to In the same score, the bass… by mike320
The clef space issue is likely due to my fix for #285535: clef change in one staff adds unnecessary spacing in other staves. Not sure what the best solution will be, but could you file an issue for this?
In reply to The clef space issue is… by Marc Sabatella
Actually, I'm wrong, it was this way in 3.0.5 as well. Looks like we just don't add any special padding for that case - same if the clef change occurs right after a key signature. Not a problem to use the appropriate style setting.
In reply to Actually, I'm wrong, it was… by Marc Sabatella
What does that mean?
In reply to What does that mean? by mike320
It means it's a bug I didn't cause, but I can fix :-) And an issue to attach the PR to helps...
We have all these style settings in Format / Style / Measure for distance from clef to key signature, time signature to first note, barline to accidental, etc - and we have this code that laboriously checks every pair of elements to see which of those to use. Somehow, the case of a clef change right at the start of a measure just fell through the cracks. So, we just need to check for it and apply the right style setting - "System header distance" or "System header with time signature distance" (hmm, currently mislabeled in the dialog as "System header to time signature distance").
In reply to It means it's a bug I didn't… by Marc Sabatella
You know I'll open an issue if you confirm it. Your soliloquy was not clear. Issue opened at #290061: Not enough space between Time signature and clef change.
For some reason, adding articulations apparently triggers a full relayout. I suspect this was not intentional, it seems to be just a matter of the code that figures out what tick range needs layout can't find the tick for the articulation, and that's only because it hasn't had its "parent" set yet at that point. Techno-babble I know, but anyhow, if you file an issue for this, it should be easy enough to fix.
In reply to For some reason, adding… by Marc Sabatella
Issue #290053: Adding articulation causes full relayout created.