Scaling-Tool edit field for height not acting proportional

Bug #1365405 reported by Georg Eckert on 2014-09-04
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

When pressing Ctrl+M the transformation tool shows up. In the tab "Scale/Resize" (don't know exactly, using the german version) one can specify height and width of the selected element. Then you can activate the option "scale proportional" - which changes the second dimension according to changes made to the other. That works great when changing width, but usually does not if changing height. One have to change width first, only after that step it works with changing height, too.

Hope it's clear what I mean, if not I am happy to give further information.

su_v (suv-lp) on 2014-09-04
tags: added: transformations ui
removed: resize scale scaling
Changed in inkscape:
importance: Undecided → Low
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.48.5 r10040 and 0.91pre2 r13543 on OS X 10.7.5.

Changed in inkscape:
status: New → Confirmed
Geoff (geoff-lankow) wrote :

I've just been looking into this. It seems that the width value is often only updated on the second or later change to the height value. This patch fixes the bug as I see it, but I'm not totally convinced it's a good solution.

jazzynico (jazzynico) wrote :

Patch tested on Xubuntu 15.04, Inkscape trunk rev. 14380, but unfortunately it doesn't seem to work and the first change on the height value is still ignored.

Changed in inkscape:
status: Confirmed → Triaged
jazzynico (jazzynico) on 2015-09-22
Changed in inkscape:
assignee: nobody → jazzynico (jazzynico)
milestone: none → 0.92
status: Triaged → In Progress
jazzynico (jazzynico) wrote :

New patch attached (tested with Inkscape trunk rev. 14380).
The _scalar_scale_vertical.setProgrammatically boolean must be reset to false when the Scale proportionally box is checked.

Please test!

jazzynico (jazzynico) wrote :

Fixed in the trunk, revision 14386.

Changed in inkscape:
status: In Progress → Fix Committed
tags: added: backport-proposed
su_v (suv-lp) wrote :

Fix backported to 0.91.x in rev 13817.

Changed in inkscape:
milestone: 0.92 → 0.91.1
tags: removed: backport-proposed
jazzynico (jazzynico) on 2017-01-22
Changed in inkscape:
milestone: 0.91.1 → 0.92
status: Fix Committed → Fix Released
theozh (theozh) wrote :

What does "Fix Released" mean? Is it in the current version?
I am still observing this behaviour (maybe slightly different) in Inkscape 0.92.1 r15371, Win7/64

Directly after applying (proportional) scaling, a new entry in the Height-field will not update the width field.

For example:
1. Draw a circle, select it
2. Transform (Shift+Ctrl+M)
3. Check "Scale proportionally"
4. Enter Width 50%, press Enter, Height-field will be updated
5. Apply (circle will be correctly reduced)
6. Enter Height 200%, press Enter, Width-field will NOT be updated
The Width-field gets updated only if you enter another value different from 200%.

jazzynico (jazzynico) wrote :

Thanks for your findings, theozh!
Follow-up report added:
Bug #1683793 "Transform tool doesn't scale proportionnaly when using the height field after applying"

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers