After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 132274 - Scale layer ratio not preserved
Scale layer ratio not preserved
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
1.x
Other All
: Normal enhancement
: 2.2
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2004-01-23 09:53 UTC by mimooh
Modified: 2004-08-05 11:13 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description mimooh 2004-01-23 09:53:28 UTC
There's a tool "Scale layer or selection" (shift+t). There are options for
preserving ratio - hight/width (ctrl/alt) that work fine when dragging the
selection. However the ratio is not preserved when values are entered in
hight/width fields. 

BTW, I miss the "ratio chain icon" that appears near most input boxes where
ratio can be applied - that's what people are used to and those seem more
comfortable than options in separate place (the tool options). But there
probably was some reason for it - don't bother to comment. 

mimooh
Comment 1 Pedro Gimeno 2004-01-23 10:12:47 UTC
This is very closely related (if not a duplicate) to bug #61904. That 
one applies to cropping but I think that it could be identically 
applied to scaling.
Comment 2 Pedro Gimeno 2004-01-23 10:18:51 UTC
Oops, the correct bug number is bug #61094, sorry.
Comment 3 Michael Natterer 2004-07-21 19:20:41 UTC
Bug #131111 has a patch implementing this. I'm looking at it...
Comment 4 Michael Natterer 2004-08-05 11:13:27 UTC
Fixed in CVS:

2004-08-05  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpscaletool.c
	* app/tools/gimptransformtool.h: applied patch from Jordi Gay
	(attached to bug #131111) which adds an aspect ratio spinbutton to
	the scale dialog and keeps the aspect ratio intact when with or
	height are changed using the dialog. Fixes bug #132274.

	* app/tools/gimpcroptool.c
	* app/tools/gimpscaletool.c: don't set the aspect spinbuttons to
	"wrap" and decrease their climb_rate.