#446 scroll bar range is wrong

2.0
closed-fixed
scroll bar (1)
3
2014-07-13
2013-12-17
LordOfBikes
No

Open the attached ScrollBarIssue.dxf. Pick the vertical scroll bar and move it up/down.
On opening nearly the whole drawing is visible. Moving the scroll bar lets the drawing disappear. Moving the scroll bar to the bottom limit, the upper part of the drawing gets visible. But one couldn't make the whole drawing visible with the scroll bar.

2 Attachments

Discussion

  • LordOfBikes

    LordOfBikes - 2013-12-17
     
  • Dongxu Li

    Dongxu Li - 2013-12-18
    • status: open --> closed-accepted
    • assigned_to: Dongxu Li
     
  • Dongxu Li

    Dongxu Li - 2013-12-18
    • status: closed-accepted --> open-accepted
     
  • Dongxu Li

    Dongxu Li - 2013-12-22

    This bug was introduced with implementation of saved view from dxf (i.e., saved zooming factor and viewport location). Scrollbar information is not updated when the viewport location is set to saved positions, therefore, scrollbars hold invalid location of the current view, and subsequent scrolling actions cause incorrect scrolling.

    pushed an fix in master, commit ef4474b

    I changed the way of allowed scrolling range. If the old behavior of scrolling range needs to be restored, please let me know.

     
    Last edit: Dongxu Li 2013-12-22
  • Dongxu Li

    Dongxu Li - 2013-12-22
    • status: open-accepted --> open-fixed
     
  • Dongxu Li

    Dongxu Li - 2013-12-23

    fixed scrollbar for auto zooming, commit: ec1205f

     
  • Dongxu Li

    Dongxu Li - 2014-07-13
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks