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 320933 - New Guides (by Percent) does not compute proper inch offsets
New Guides (by Percent) does not compute proper inch offsets
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Script-Fu
2.2.x
Other All
: Normal normal
: 2.2
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-11-08 04:05 UTC by Michael J. Hammel
Modified: 2008-01-15 13:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot showing actual location where guide is added. (189.10 KB, image/png)
2005-11-08 04:08 UTC, Michael J. Hammel
Details

Description Michael J. Hammel 2005-11-08 04:05:57 UTC
Distribution/Version: Fedora Core 3

Open a new canvas using the US Letter template at 72DPI.  Add a vertical guide
using "Image->Guides->New Guide (by Percent)" at approximately 99%.  The actual
position should be just about 8.5 inches.  The guide is actually added at 6.75
inches.
Comment 1 Michael J. Hammel 2005-11-08 04:08:34 UTC
Created attachment 54452 [details]
Screenshot showing actual location where guide is added.
Comment 2 Michael Natterer 2005-11-08 09:17:37 UTC
Fixed in both branches:

2005-11-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/guides-new.scm
	* plug-ins/script-fu/scripts/guides-new-percent.scm: look at the
	image's width/height, not the drawable's. Fixes bug #320933.