Indeed I don't see the problem when the pointer is outside the segment
and the modification of the update() call seems to fix the bug.
(I only quickly tested the current issue and didn't look for any
possible regression.)

Yves



Le  3 juin 2022 à 22H42 (+0200)
Philip Leishman <leish...@web.de> a écrit :

> I have been experimenting a bit here.
> 
> I can only reproduce the error if the pointer position is within the
> segment.
> with the pointer position at the start of the composition try a
> segment starting at bar 2. I do not get the error.
> Move the pointer to bar 3 and create a segment from bar 2 to bar 4.
> Now I get the error.
> 
> Looking into Panned.cpp:
> There are 2 showPositionPointer routines. One is used by the notation
> editor and one by the matrix editor.
> The Notation editor version uses viewport()->update(). The matrix
> editor version calls viewport()->update(newRect).
> If I change to the viewport()->update() call the bug seems to
> disappear !!!!
> 
> Don't ask me to explain this but maybe someone can confirm this
> behavior.
> 
>    Philip
> 
> 
> On 6/2/22 20:38, Ted Felix wrote:
> > On 6/2/22 1:06 PM, mark_at_yahoo via Rosegarden-devel wrote:  
> >> I'm looking forward to seeing the fix. :)  
> >
> >   Yeah.  This is a strange one.  So everyone sees it no matter what
> > version of Qt.  I'm guessing it was introduced when we added the
> > toolbar undo history dropdown.  21.06 doesn't seem to have the
> > problem.  Haven't actually bisected to see if that's really it,
> > though.
> >
> >   Don't have a lot of hope for fixing this for 22.06.  Ah well. I'll
> > see if I can come up with something clever given that it is likely
> > to affect anyone who uses the toolbar.
> >
> > Ted.
> >
> >
> > _______________________________________________
> > Rosegarden-devel mailing list
> > Rosegarden-devel@lists.sourceforge.net - use the link below to
> > unsubscribe
> > https://lists.sourceforge.net/lists/listinfo/rosegarden-devel  
> 
> 
> 
> _______________________________________________
> Rosegarden-devel mailing list
> Rosegarden-devel@lists.sourceforge.net - use the link below to
> unsubscribe
> https://lists.sourceforge.net/lists/listinfo/rosegarden-devel


_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to