hide / show empty staves has temporary side effects

• Mar 16, 2016 - 21:19
Type
Functional
Severity
3
Status
active
Project

Seen on 2.0.3 today nightly.

Steps:

  • Create a new score with Piano and Guitar staves
  • Enter a note on the second guitar line (leave all the other measures with rests)
  • Go to Style->General
  • Check the "Hide empty staves" checkbox
  • Click OK
  • Press Ctrl+Z

The Piano and Guitar staves aren't no more linked by a solid vertical line, plus, instruments names get horizontally displaced.

If I enter any other note, everything turns normal; it looks like a relayout issue or something.


Comments

Severity

Yes, see also #25618: Score corruption upon time signature change. Maybe other similar reports. The problem is that certain layout decisions need to be done early enough in the process that we can decide how many measures to fit on the system, but it's not until then that we can know if the system wil turn out to be empty, nd if so, it makes the initial decision wrong. That sort of thing.