← Back to team overview

kicad-developers team mailing list archive

Re: Jumpy canvas on other platforms?

 

I'm still seeing this issue on windows as of commit 218f66a08.  The
scrollbars are shown greyed out initially after the zoom extents but it
appears that on windows, the paint area does not include the scollbar
width when the scollbar is greyed out but does include them as soon as
you pan and they get enabled.  This is what is causing the jumpy
behavior.  The drawing canvas size is be reported differently even
though the scrollbars are always shown.

On 3/5/2018 12:07 PM, Jeff Young wrote:
> Thanks, everyone.  I think it’s more sensitive to a trackpad than mouse, but I merged a fix yesterday anyway.
> 
>> On 5 Mar 2018, at 16:41, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:
>>
>> I see it now.  I was moving the cursor too fast.  You have to move it
>> very slowly to see the issue.  Hmm, never noticed that before.
>>
>> On 3/5/2018 11:39 AM, Andrey Kuznetsov wrote:
>>> I notice the jerkiness on WIndows!
>>>
>>> When you start panning, very slowly, by a little bit, there is a period
>>> when it looks like the view window tries to center itself, so it jumps
>>> back and forth between where it used to be and where the mouse is going,
>>> until it's far enough and it snaps out of it and at the same time the
>>> scroll bars appear.
>>>
>>> On Mon, Mar 5, 2018 at 5:54 AM, Wayne Stambaugh <stambaughw@xxxxxxxxx
>>> <mailto:stambaughw@xxxxxxxxx>> wrote:
>>>
>>>    I'm not seeing this on my windows 7 builds.  The panning after zoom
>>>    extents works smoothly.  I even tried resizing the main frame several
>>>    times but I still didn't notice it.
>>>
>>>    On 3/4/2018 5:00 PM, Jeff Young wrote:
>>>> There is actually code in there to make them always on, but there seems
>>>> to be something defeating it.  I’ll poke around some more.
>>>>
>>>>> On 4 Mar 2018, at 21:57, Jon Evans <jon@xxxxxxxxxxxxx <mailto:jon@xxxxxxxxxxxxx>
>>>>> <mailto:jon@xxxxxxxxxxxxx <mailto:jon@xxxxxxxxxxxxx>>> wrote:
>>>>>
>>>>> Ah yes, I can reproduce that on Windows too.  I guess I didn't notice
>>>>> before because generally the scrollbars are visible (I noticed that
>>>>> "zoom extents" doesnt *always* result in the scrollbars being hidden,
>>>>> for whatever reason)
>>>>> Any reason why we hide the scrollbars?  Seems like it might be simpler
>>>>> to just always show them...
>>>>> -Jon
>>>>>
>>>>> On Sun, Mar 4, 2018 at 4:52 PM, Bernhard Stegmaier
>>>>> <stegmaier@xxxxxxxxxxxxx <mailto:stegmaier@xxxxxxxxxxxxx>
>>>    <mailto:stegmaier@xxxxxxxxxxxxx <mailto:stegmaier@xxxxxxxxxxxxx>>>
>>>    wrote:
>>>>>
>>>>>      Do a “fit to window” and then pan left/right… I use the touchpad.
>>>>>      After “fit to window” there is no scrollbar.
>>>>>      When the scrollbar comes back due to panning, I see almost always
>>>>>      a small shift of the whole view down and then up again.
>>>>>      Sometimes, but not always if you just pan left/right it will make
>>>>>      this small jump downwards every time you cross center, just as if
>>>>>      it would “snap" to middle position.
>>>>>
>>>>>
>>>>>>      On 4. Mar 2018, at 21:25, Jon Evans <jon@xxxxxxxxxxxxx <mailto:jon@xxxxxxxxxxxxx>
>>>>>>      <mailto:jon@xxxxxxxxxxxxx <mailto:jon@xxxxxxxxxxxxx>>> wrote:
>>>>>>
>>>>>>      Maybe I don't really understand what you mean, but I can't see
>>>>>>      any jumpiness on Linux when panning around (with middle-mouse drag).
>>>>>>      What do you mean by "it automatically fits to window, so there's
>>>>>>      not really any place to go"?  It does not do any kind of
>>>>>>      auto-fitting except for the zoom-extents on file load on Linux,
>>>>>>      and I don't have my Mac machine handy to compare.
>>>>>>
>>>>>>      On Sun, Mar 4, 2018 at 3:11 PM, Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>
>>>>>>      <mailto:jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>>> wrote:
>>>>>>
>>>>>>          If I open an eeschema file on OSX and pan around (it
>>>>>>          automatically fits to window, so there’s not really any place
>>>>>>          to go), the screen jumps around a bit.  True also on other
>>>>>>          platforms, or Mac-specific?
>>>>>>
>>>>>>          Thanks,
>>>>>>          Jeff.
>>>>>>          _______________________________________________
>>>>>>          Mailing list: https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>
>>>>>>          <https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>>
>>>>>>          Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>>>>>          <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>>
>>>>>>          Unsubscribe : https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>
>>>>>>          <https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>>
>>>>>>          More help   : https://help.launchpad.net/ListHelp
>>>    <https://help.launchpad.net/ListHelp>
>>>>>>          <https://help.launchpad.net/ListHelp
>>>    <https://help.launchpad.net/ListHelp>>
>>>>>>
>>>>>>
>>>>>>      _______________________________________________
>>>>>>      Mailing list: https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>
>>>>>>      <https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>>
>>>>>>      Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>>>>>      <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>>
>>>>>>      Unsubscribe : https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>
>>>>>>      <https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>>
>>>>>>      More help   : https://help.launchpad.net/ListHelp
>>>    <https://help.launchpad.net/ListHelp>
>>>>>>      <https://help.launchpad.net/ListHelp
>>>    <https://help.launchpad.net/ListHelp>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>
>>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>
>>>> More help   : https://help.launchpad.net/ListHelp
>>>    <https://help.launchpad.net/ListHelp>
>>>>
>>>
>>>    _______________________________________________
>>>    Mailing list: https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>
>>>    Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>>    Unsubscribe : https://launchpad.net/~kicad-developers
>>>    <https://launchpad.net/~kicad-developers>
>>>    More help   : https://help.launchpad.net/ListHelp
>>>    <https://help.launchpad.net/ListHelp>
>>>
>>>
>>>
>>>
>>> -- 
>>> Remember The Past, Live The Present, Change The Future
>>> Those who look only to the past or the present are certain to miss the
>>> future [JFK]
>>>
>>> kandrey89@xxxxxxxxx <mailto:kandrey89@xxxxxxxxx>
>>> Live Long and Prosper,
>>> Andrey
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
> 


Follow ups

References