Comment 22 for bug 816739

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 816739] Re: kicad warps mouse

On 11/1/2011 7:51 AM, jean-pierre charras wrote:
> Le 01/11/2011 11:50, iu1j4 a écrit :
>> Thanks for reply Wayne,
>> I installed wxWidgets 2.8.12 and there is no problems with zommin and zoomout in kicad.
>> It may be wxWidgets 2.9.2 problem, so I will wait for final stable 2.9 branch of it.
>>
>
> Can you test the 2.9.3 version ?
> This is the current svn version and must be downloaded from the wxWidgets SVN server.
> I am using it under Windows and Linux to develop and test KiCad, and it works pretty well.
> With with version I did not noticed this problem (Ubuntu 10 version), at least when the mouse is inside the page limits.
> When the mouse is outside the page limits, this kind of problem exists for some zoom values in all platforms,
> but this is currently a (known) KiCad limit.
>

I see whats happening now! I can duplicated this on Linux with 2.8.12 and
Windows with 2.9.2 and I'm guessing everywhere else as well. You can easily
duplicate this by zooming all the way out in Eeschema or Pcbnew and moving the
cursor to the upper left portion of the drawing area and begin zooming in. You
will see the cursor warping up and to the left until it eventually warps out of
the drawing panel. I thought I had fixed this a long time ago. The reason I
didn't see it before is that as long as mouse cursor is within the drawing area
when zooming in, this behavior doesn't happen. I think this is due to an
offset error when the drawing is zoomed way out and becomes a fraction of the
drawing window. There is a likely mismatch between the scroll bar offset and
the drawing offset when zoomed way out which causes the problem. I'll take a
look at it and see if I can figure it out.