[Trunk] Omitting staves when creating score causes crash

• Jun 18, 2011 - 04:51
Type
Functional
Severity
S2 - Critical
Status
closed
Project

1. Create new score.
2. Add piano.
3. Remove a stave.
4. Done.

Result: Crash.

Using MuseScore 2.0 Nightly Build (4367) - Mac 10.6.7.


Comments

It also work
* when you remove a stave from an existing score.
* when you remove an only one stave from an instrument with multi stave.

I mean i looks like the problem do not come from an instrument without stave, but from the removing.

Hmmm... not sure i understand you right. Here it also crash when, for example, after loading a mscx i remove a stave.

I'm able to remove a stave of a mscx and mscz without it crashing.

Can you give more details (version, operating system, etc), or provide a file?

It needs to be grand staff I think. The problem is due to the barlines spanning two staves and removing one of these staves.

Status (old) fixed active

I think there might have been a misunderstanding. All of these steps are done during the creation of a score, not after.

1. Create new score
2. Add piano.
3. Remove a stave.
4. Done.

Result: Crash.

Using MuseScore 2.0 Nightly Build (4812) - Mac 10.6.8