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 166935 - Wish to be able to cut and paste guides (one, a selection, or all)
Wish to be able to cut and paste guides (one, a selection, or all)
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: General
2.2.x
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-02-10 14:56 UTC by Leon Brooks
Modified: 2018-05-24 11:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Leon Brooks 2005-02-10 14:56:26 UTC
The ability to copy guides between images would help when comparing them, and 
when altering a set of related images
Comment 1 Joao S. O. Bueno 2005-02-12 03:49:59 UTC
Seens reasonable, and it could be done with a couple script-fus - a "copy 
guides" would attach the guides info to a GIMP parasite, and be completed by a 
paste guides script. 
 
Any other ideas or suggestions? 
 
Comment 2 Leon Brooks 2005-02-12 14:47:58 UTC
I get the impression from using GIMP 2.2.3 that quite a lot of stuff is being pushed out to 
ScriptFu; is that a good thing or not? 
Comment 3 Sven Neumann 2005-02-12 16:10:50 UTC
What would be bad about it? It allows users to easily implement missing features
and to share them with other users. All that w/o cluttering the user interface
for those who don't need the feature.
Comment 4 Joao S. O. Bueno 2005-02-12 23:38:34 UTC
IMHO the only problem about using script-fu for core features is the 
unfirndship of scheme to human reading, and higher level tasks. I'd be much 
better with python scripts, but most of the core developers either don't care 
or keep treating python-fu as  a "toy" and script fu as the holy grail of 
scripting languages. So...all hail Scheme. :-) 
 
But back on topic - I had been thinking putting both scripts under the Image 
->guides menu, one being a "guides copy" and a "guides paste". I thought about 
amking them with no dialogs - just like ordinary copy & paste, and, if pasting 
in an image with a different size than the original, to change the guides 
location proportionally.  
Or would it be better to make absolute positioning of the guides, on pasting? 
Or maybe a dialog on the paste script just asking whether to paste the guides 
with absolute or proportional coordinates? 
Comment 5 Leon Brooks 2005-02-15 02:17:49 UTC
WRT sven's question, I would expect that the more features could be written in the 
base language rather than interpreted at runtime, the faster and more efficient 
overall The GIMP will be. 
 
WRT Joao's thoughts, I would add a configuration option, Absolute, Proportional or 
Ask and default to Ask. 
 
WRT the off-topic language evangelism, d'ya think anybody would be offended if I did 
a Ruby binding for The GIMP? (-: If none exists already :-) 
Comment 6 Nathan Summers 2005-02-15 19:49:23 UTC
Why would anyone possibly be offended?  The more languages, the better.

Go ahead and do a COBOL binding as well if you want. :)
Comment 7 Maurits Rijk 2005-02-22 08:23:10 UTC
http://sourceforge.net/projects/ruby-gnome/ seems to have a Ruby binding for
GIMP. However this project is obsolete and replaced by
http://sourceforge.net/projects/ruby-gnome2/ which doesn't have a GIMP binding
anymore.
Comment 8 Leon Brooks 2005-02-22 11:06:15 UTC
OK, It seems that if I'm to Rubify The GIMP, I should start by seeing how hard it is 
to jam ruby-gnome into ruby-gnome2, pass the rubber mallet. 
 
Providentially, I might be able to cross-pollinate this with a magazine article and do 
it for fun _and_ profit. I'll keep y'all posted if I can do this. 
Comment 9 Leon Brooks 2005-03-30 02:11:44 UTC
Hammurabi, I beg to report... downloaded ruby-gnome2-all-0.12.0 and built it 
(ruby extconf.rb; make; su; make install) on Mandrake 10.1 with all-but-one 
results: 
 
----- 
SUCCEEDED: glib gdkpixbuf atk gtk gconf gstreamer libart rsvg gnomecanvas 
gnomevfs 
FAILED: pango 
----- 
Done. 
 
For completness' sake, I'll have a quick look at making ruby-pango happy before 
having a whack at a GIMP binding. 
Comment 10 Leon Brooks 2005-03-30 02:19:39 UTC
Ha, lookie dere! Mandrake already 10.1 has packages for an older version of 
this. 
 
/ME wanders off to Mandrake Cooker, for a source RPM, might as well start with 
all required dependencies in place. Cooker has the latest version. 
Comment 11 Leon Brooks 2005-03-30 04:33:22 UTC
Hmmm, it's getting messy. It requires a later pango, which in turn needs later 
bits of GNOME, which will devolve into hundreds of megabytes of downloads and 
days of recompiling. 
 
I have a laptop to reinstall sometime in the next week, so I'll do that from 
Cooker and try my luck then. 
Comment 12 Michael Schumacher 2005-03-30 07:43:34 UTC
Hm, if the ruby binding is going to need GNOME - which seems to be the case - it
probably won't spread very far. This should be changed.

But shouldn't the creation of a Ruby binding be discussed somewhere else - the
developers list, for example?
Comment 13 Sven Neumann 2005-03-30 09:06:25 UTC
Well, Leon is wrong here. Pango doesn't need bits of GNOME. GIMP already uses
Pango, so that shouldn't become a problem.
Comment 14 Leon Brooks 2005-03-30 11:25:03 UTC
To be more specific, Mandrake's pango src.rpm was asking for a later version of 
the Gtk+ libraries, which then cascaded to other things, including GNOME, which 
depended on Gtk+. 
Comment 15 GNOME Infrastructure Team 2018-05-24 11:25:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/126.