Dragging atonal and C major key signatures to custom palette causes crash

• Sep 20, 2018 - 18:57
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project

When you drag the Atonal key signature (the one with an X) to a custom palette from the master palette it causes a crash. I made a custom key signature and it was able to drag to the palette.

Not that it matters, but the reason I wanted to drag the key signature is that is is not included in the Basic palette and that is what I based my custom workspace on.


Comments

This is not a bug, it is an art installation by the dev. team. A real masterpiece of avant-garde C++. The atonal key signature crashes the program and leaves you reflect on the 400+ years of tonal music effectively being "crashed" by contemporary artists. A bold and beautiful conceptual piece hidden in code, that only the most daring, cutting-edge artists like yourself may find.

Title Dragging atonal key signature to custom palette causes crash Dragging atonal and C major key signatures to custom palette causes crash
Status (old) patch (code needs review) fixed
Status fixed

Fixed in branch master, commit f919c65239

fix #276397: add a missing check for staff presence in KeySig::layout

Replace also segment()->tick() calls with more safe KeySig::tick()
calls in KeySig::layout