Re: [BUG] Cursor Flicker

2009-04-01 Thread Andy Lee
On Apr 1, 2009, at 2:09 PM, Eric Gorr wrote: On Apr 1, 2009, at 2:04 PM, Shawn Erickson wrote: On Wed, Apr 1, 2009 at 7:28 AM, Eric Gorr wrote: In the real application, there are some cursors based on 64x64 images. When switching to these cursors, one sees the cursor quickly jump to a di

Re: [BUG] Cursor Flicker

2009-04-01 Thread Eric E. Dolecki
A quick question - why are you using a 64x64 image? Couldn't you use a smaller image? E. On Wed, Apr 1, 2009 at 2:09 PM, Eric Gorr wrote: > > On Apr 1, 2009, at 2:04 PM, Shawn Erickson wrote: > > On Wed, Apr 1, 2009 at 7:28 AM, Eric Gorr wrote: >> >> In the real application, there are some cu

Re: [BUG] Cursor Flicker

2009-04-01 Thread Eric Gorr
On Apr 1, 2009, at 2:04 PM, Shawn Erickson wrote: On Wed, Apr 1, 2009 at 7:28 AM, Eric Gorr wrote: In the real application, there are some cursors based on 64x64 images. When switching to these cursors, one sees the cursor quickly jump to a different position and then back to where it s

Re: [BUG] Cursor Flicker

2009-04-01 Thread Shawn Erickson
On Wed, Apr 1, 2009 at 7:28 AM, Eric Gorr wrote: > In the real application, there are some cursors based on 64x64 images. When > switching to these cursors, one sees the cursor quickly jump to a different > position and then back to where it should be. This is very jarring and > shouldn't happen.

Re: [BUG] Cursor Flicker

2009-04-01 Thread Eric Gorr
On Mar 31, 2009, at 9:18 PM, Graham Cox wrote: On 01/04/2009, at 4:46 AM, Eric Gorr wrote: There is a bug when changing from [[NSCursor arrowCursor] set] to a NSCursor based on a 64x64 PNG. Basically, there is some horrible cursor flickering. For a demonstration of this bug, please check

Re: [BUG] Cursor Flicker

2009-03-31 Thread Graham Cox
On 01/04/2009, at 4:46 AM, Eric Gorr wrote: There is a bug when changing from [[NSCursor arrowCursor] set] to a NSCursor based on a 64x64 PNG. Basically, there is some horrible cursor flickering. For a demonstration of this bug, please check out the sample application at: http://ericgor

Re: [BUG] Cursor Flicker

2009-03-31 Thread Eric E. Dolecki
For what it's worth, I see the flicker for only about the first second of the app and then it smooths out and seems fine (during that while loop) You do have a warning there on line 25 while ( theEvent = [myWindow nextEventMatchingMask:eventMask] && x < 30 ) { (assignment makes pointer from intege

Re: [BUG] Cursor Flicker

2009-03-31 Thread Eric Gorr
On Mar 31, 2009, at 1:51 PM, Eric E. Dolecki wrote: For what it's worth, I see the flicker for only about the first second of the app and then it smooths out and seems fine (during that while loop) Yes, after the while loop ends, it's not going to flicker and that is why is smoothes out.

[BUG] Cursor Flicker

2009-03-31 Thread Eric Gorr
There is a bug when changing from [[NSCursor arrowCursor] set] to a NSCursor based on a 64x64 PNG. Basically, there is some horrible cursor flickering. For a demonstration of this bug, please check out the sample application at: http://ericgorr.net/cocoadev/CursorFlicker.zip I have filed