GNOME Bugzilla – Bug 167529
Can't place guides directly over line 1000
Last modified: 2008-01-15 12:47:57 UTC
Distribution/Version: Fedora 3 It's not possible to place a guide with the menupoint "new guide" (hope that's the translation, I've got the german Version) in a line or col over 1000. It's always placed in line 1000, if you enter a value greater 1000.
Yeah, that spinbutton has an upper limit of 1000. Not really a good idea but it should be easy to fix that script.
Created attachment 37518 [details] [review] Raises limit to 250000 Will have to be reviewed in a few years again when 600dpi e-paper screens are out, to edit them 4 TeraPixel digital photos.
250000 is pretty close to the maximum image dimensions used throughout GIMP. The value GIMP_MAX_IMAGE_SIZE is defined in libgimpbase/gimplimits.h and is currently 262144.
Okay, committed to both branches: 2005-02-16 Bill Skaggs <weskaggs@primate.ucdavis.edu> * app/plug-ins/script-fu/scripts/guides-new.scm: committted slightly modified patch from Joao S. O. Bueno Calligaris to raise guide position limit to 262144. Too bad MAX-IMAGE-SIZE is not defined in script-fu land.
It is defined now along with MIN-IMAGE-SIZE, MIN-RESOLUTION and MAX-RESOLUTION.