[Kst] [Bug 131740] New: Problem with resizing while maintaining aspect ratio

Duncan Hanson duncan.hanson at gmail.com
Wed Aug 2 19:52:14 CEST 2006


This is kind of by design. The ideal aspect ratio is set whenever the
user manually resizes the object. The idea was to make it possible for
them to intentionally stretch an image out. The drawback is that it
becomes possible for a (fairly determined) user to bork the image
aspect.

I suppose a reasonable workaround would be to only set _idealSize if the
resize is done without +_maintainAspect.

I'll try this out.

dh.

On Wed, 2006-08-02 at 17:43 +0000, Andrew Walker wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>          
> http://bugs.kde.org/show_bug.cgi?id=131740         
>            Summary: Problem with resizing while maintaining aspect ratio
>            Product: kst
>            Version: unspecified
>           Platform: unspecified
>         OS/Version: Linux
>             Status: NEW
>           Severity: normal
>           Priority: NOR
>          Component: general
>         AssignedTo: kst kde org
>         ReportedBy: arwalker sumusltd com
> 
> 
> Version:           HEAD (using KDE KDE 3.5.0)
> OS:                Linux
> 
> PROBLEM:
> If an object is resized while maintaining the aspect ratio the original size is not recovered
> 
> STEPS TO REPRODUCE:
> Start Kst
> Create a plot within the default window
> Switch to layout mode
> Select the right central resize point
> While holding the shift key (to maintain the aspect ratio) drag the resize point to the left and back to its original position and then release the mouse button
> The previous step can be repeated several times
> 
> RESULTS:
> The width of the plot has decreased
> 
> EXPECTED RESULTS:
> The width of the plot should remain unchanged
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst



More information about the Kst mailing list