bugDenemo - Bugs: bug #29571, TimeSignature change in middle of...

 
 

bug #29571: TimeSignature change in middle of measure impossible to delete after paste

Submitter:  None
Submitted:  Fri 16 Apr 2010 02:39:09 AM UTC
   
 
Category:  None
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 17 Apr 2010 05:03:35 PM UTC, comment #1: 

This is an important issue: the scripting idea was based around an
imaginary user operating the commands in the denemo menu system. This
meant we could create a complete system with little work, just wiring
every command to a d-XXX scheme procedure.
However, it has lead to us fighting features which the original author
put into commands never thinking that they would be used like this. The
one we have hit most often is the cursor move when the cursor is on the
last object in a measure. A new state is entered, the cursor does not go
to the first object in the next measure (if there is such a measure and
if there is any object in it).
The example Dan has raised here is going to involve some disruption to
fix, as there is no-one available to study the code in depth and fully
design a solution.
I propose instead to make some changes and then await reports on any
problems. I will do some testing, before pushing to git, but it will be
unwise to trust git in the way you normally do while we are trying to
resolve this.
OK, that said, I think the first ploy might be to turn off all special
handling of timesignature changes by denemo. "Special Handling" means
all built-in behavior of the cursor around timesig-change objects and
the delete and the insert of timesig-change objects. The danger is that
in the calculations that Denemo makes to decide whether a measure is
full there could be inconsistencies arising and, say, floating point
exceptions. So, e.g. on inserting a timesig change, some "prevailing
timesig" is calculated, and how this will behave if the timesig is not
at the start of a measure, will need some attention.

I think there is a maybe 80% chance that this will be just fine. It
would be easy to put a dialog up to warn users if they are inserting a
timesig change not at the beginning of a measure; the dialog only firing
for non-scripted use.

I have checked in code now; I decided there was no need to change the behavior of the timesig change dialog - it will always insert at the start of a measure. But the deletion bug is now fixed.

Richard Shann <rshann>
Group administrator
Fri 16 Apr 2010 02:39:09 AM UTC, original submission:  

Let's say you copy and paste a passage that includes a timesig change.  Then you try to delete that time signature, if it is not at the beginning of a measure.  It's impossible to delete with the delete/backspace commands.
Here's what I mean:
Blank score, 4/4 time.
Enter 4 quarter c's, next bar insert TimeSig change to 3/4.
Put in three quarter notes in that bar.
Now copy the last quarter note in Bar 1.
Paste it into Bar 2 when the cursor is on top of the TimeSig change.
The note will appear BEHIND the time sig change.  That in itself is a bit of a weird situation but not terrible.  The problem is that you can't delete that 3/4 timesig-if you try, you just delete notes!!  You can finally delete it only when it's been backed up to the barline.
-Dan W.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by steele (Updated the item)
  • -email is unavailable- added by rshann (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-04 steele Open/ClosedOpen Closed
    2010-04-17 rshann StatusNone Fixed

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code