Chris replied:
>> If you create a segment with 1 or more tracks, edit the staff in the
>> notation editor, creating a clef and a key signature, and repeatedly
>> insert and delete notes and rests in arbitrary order, you sometimes
>> see the Clef and the Key Signature become duplicated such that there
>> are two identical adjacent clefs and two identical adjacent key
>> signatures.
>
>The description's obviously a bit vague there -- I'm guessing because
>it's something that just happens occasionally and you don't really
>know how to reproduce it reliably.
Yes. Well, it's not occasional; it happens almost every time I do any complex
editing and it usually happens either very soon after I start doing any
notation editing on a sufficiently complex score such as one from imported MIDI
("complex" because I use very fine temporal quantisation leaving lots of
brief notes) or after completing a total of roughly 15-20 edit operations
spanning the set of "Insert Clef", "Insert Key Signature", "Insert Note",
"Insert Rest", "Cut-and-Close", "Undo", and "Redo".
>However, I'd like to know how sure you are that
>the operations you're doing are just inserts and deletes, or
>whether there's some undo/redo in there as well. We have had
>problems in the past with the undo of a cut or delete operation
>getting a bit confused and restoring some events that were never
>actually deleted in the first place (hence the doubled clefs).
Indeed, the segmentation violation occurs only if I use "Undo"/"Redo".
I'm not sure if it's necessary to use "Redo" to trigger the condition(s) that
cause the crash, and I'm not sure whether the bug also depends on
having created a clef and a key signature. I've not done enough tests without
a clef, key signature and redos to verify whether those dependencies exist.
My usual pattern is to create a clef and a key signature, in that order, at the
very beginning of creating a new composition.
The crash does not necessarily happen immediately after using "Undo" or "Redo".
The precise circumstances are difficult to replicate because the crash
happens only if I do a sufficiently complicated sequence of editing
steps or if I edit a sufficiently complex score, e.g. from imported MIDI.
When I do "simple" editing the crash does not happen.
Alternatively, is there anything wrong or unusual in the way I'm using RG4?
I let RG4 start and wait for the segment(?) window to appear (real name unknown
but I mean the window with the numbered rows on the lefthand side and
a large blank grey area on the righthand side).
I do not click on "Add Tracks" on the "Tracks" pulldown menu.
I then click with mouse button one on the righthand side of the segment window,
causing a small rectangular area to be highlighted in black on the grey
background, meaning presumably that one track is selected for editing.
I then either press Return to start the default editor (notation editor)
or select "Open in Default Editor" on the "Segments" pulldown menu,
which starts the notation editor. I then create a clef, a key signature,
and start adding notes and rests, undoing, re-doing, etc.
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel