On Fri, 2005-12-16 at 23:10 -0500, D. Michael 'Silvan' McIntyre wrote:

> > What is the sequence I need to do in order to see the EventFilterDialog?
> > I would like to see how it is in action before attempting to mimic it.
> 
> From any edit view, select some events, then click on the filter button.  
> Look 
> at eventfilter.*

Ok. Thanks.

> Without looking at your code, I can only speculate, and I don't even really 
> remember what I did wrong, or what Guillaume did to fix it.  You have some 
> kind of layout problem though, and probably suffer from fixed coordinates of 
> some sort.  Maybe try changing your own theme around to different widgets and 
> see if you can't see what I'm talking about.
> 
> You've got some weird things going on here.  See dialog.png

I have made some changes but not rearranging how I layout out like you
want me to mimic in EventFilterDialog. Try resyncing with the repository
and rebuild. I believe I had that fixed.

> No, the dialog called itself "Guitar Tab Editor" or something similar in the 
> title bar.  That's what I'm whining about.  I couldn't care less what the 
> source files are called.  (See dialog.png)

Dialog title is fixed. Changes 

> > What KDE version are you using? Attached is a picture showing the number
> > for a barre C chord. Funny its missing the barre being displayed. The
> > notes are shown. Strange. I will play around with this.
> 
> It might be deeper than KDE, and into the realm of evil X font problems.  See 
> chords.png and observe that I don't get a barre  either, and the 7 is cut 
> off, even if it's not the top staff.
> 
> Qt: 3.3.5
> KDE: 3.4.2
> 
> name of display:    :0.0
> version number:    11.0
> vendor string:    The X.Org Foundation
> vendor release number:    60802000
> X.Org version: 6.8.2

If you look at it closely I believe what you see as a slash is in fact
the curve of the '7' for C major. So it looks like the number describing
the starting fret is being written too high on the pixmap.


> > My first goal was to get a chord diagram displayed. What you want is
> > valid. Just how do you show it? I am open to suggestions here.
> 
> It would have to be shown with spacing.  I'd  have to GIMP you a picture 
> since 
> the fretboards aren't micro-positionable.  Maybe I can find an example of 
> sheet music and show a clip of a scan.

Ok. I look forward to an example. How would I make a chord diagram
micro-positional?

> > A real literal copy of the annoying message would be very helpful in
> > tracking this down. So far grepping for "String number" gets me only
> > comments.
> 
> More than annoying.  Stuff like this makes newbies reboot their computers.
> 
> Guitar::setStringStatus - warning: string number given (3221061099) is 
> outside 
> the range of 1 to 6

I tracked the error message to the Guitar class as you did before you
sent this message. Some how the problem is the arrangment is being
corrupted somewhere along the way its transition from Rosegarden::Event
to being displayed in the Guitar Chord Selector.

What happens is that a chord arrangement (Finginering object) is
selected in the Guitar Chord Selector is:

1. GuitarTabSelectorDialog::slotDisplayChords emits a displayChord
signal to set the chord displayed in the FingeringConstructor.

2. Upon selecting OK in notationtool.cpp
(FretboardInserter::processDialog) creates an Rosegarden::Event for
display.

3. When the event is drawn via Fingering::drawContents there are calls
to Note::drawContents and Barre::drawContents to display each Note and
Barre as contained in the Fingering object.

So somewhere along this change is the problem.

I will rebuild my work so far and commit the code. It is not complete
and this bug will still remain.

Stephen

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to