On Tuesday 06 March 2007 3:25 pm, Fargo Holiday wrote:
> >> I'm also fascinated by this issue. I'm glad Fargo finds what's
> >> happening!

>
> Figured I'd reply to this one. So far I haven't been able to replicate
> the issue. The test application, so far, runs just fine on my FC6 box,
> kernel 2.6.18-1.2200, gtk2 2.8.20-1, and my XP machine (aside from
> horrifying flicker). I might still be running Ubuntu on one of the
> machines here, if so I'll try it there. I'll also try it on the other
> FC6 box.
>
> Thanks,
> Fargo

Hi Fargo,
Something Interesting. You mentioned the flicker in the test app so I put in 
code to minimize it and the sluggishness disappeared too. Then I decided to 
count how many times the drag event fired. I now have this in the drag event:

  If InitX<>X or InitY<>Y then
    me.Refresh
    pg.DrawRect X-20, Y-20, 40, 40
  End If
  InitX=X  // these 3 are properties of the window
  InitY=Y  
  Count=Count+1

Running this code, it does not flicker so bad (this is just the test) and it 
is not sluggish. If I drag quickly from upper left to lower right, I see 
numbers like 6500 to 9500 in the count variable after the drag.

If I remove the if statement, and quickly drag, I can watch the square slowly 
move behind the cursor, taking about 3 full seconds. The count shows numbers 
like 750 to 900. i.e. Much LESS. I had expected it to be many times higher. 
So it is sluggish when it refreshes fewer times.

Could my check to see if it has moved somehow interrupt some built in checking 
that thte system mdoes that is not working properly?

Don
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to