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 168488 - Disable the paste functionality of the winclipboard plug-in
Disable the paste functionality of the winclipboard plug-in
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.2.x
Other Windows
: Normal enhancement
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-02-25 10:25 UTC by Michael Schumacher
Modified: 2008-01-15 12:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch that removes paste functionality (for gimp 2.4) (11.00 KB, patch)
2005-03-08 11:57 UTC, Sven Neumann
none Details | Review

Description Michael Schumacher 2005-02-25 10:25:29 UTC
On the Win32 platform, there is a special plug-in for copying to and pasting
from the system clipboard. It is limited in some ways - doesn't handle RGBA when
pasting, and only copies the whole image (instead of a selection or layer) - but
until now provided the only way to interact with other programs by copy&paste.

Since GTK+ 2.6.x (or is this something in GIMP?), it seems to be possible to
paaste from the system clipboard directly. At least this is waht happens on my
systems. Copying is not yet possible - is this a bug or a still missing feature?

We could disable the pasting functionality of the winclipboard plug-in now. This
would eliminate "File->Acquire from clipboard" and "Edit->Paste from clipboard"
and concentrate on fixing either the copy of GTK+ or winclipboard.

This bug report is partly a reminder for myself to do this change and a requestr
for comments - is there anything that heavily relies on paste from clipboard?
Comment 1 Sven Neumann 2005-02-25 12:19:24 UTC
Yes, our goal should be to eliminate the winclipboard plug-in. If gtk+-2.6
implements access to the system clipboard, then we should add a runtime version
check to the winclipboard plug-in that disables the paste functionality. It
would also be good to find out whether pasting to the system clipboard is
supposed to work in GTK+-2.6. I am adding Tor to the Cc: in the hope that he can
add a comment here.
Comment 2 Tor Lillqvist 2005-02-25 13:00:24 UTC
There is a pending patch to GTK+ in bug #168173 that, if I understand it
correctly (haven't actually tried it yet) will also improve the situation.
Comment 3 Sven Neumann 2005-03-08 11:57:34 UTC
Created attachment 38408 [details] [review]
patch that removes paste functionality (for gimp 2.4)

Would be nice if someone could test this patch on Win32 and give feedback. I
cannot even check if it compiles at all.
Comment 4 Michael Schumacher 2005-03-12 19:48:23 UTC
2005-03-12  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/common/winclipboard.c: applied a patch from 
	Sven Neumann that removes the paste functionality from the
	plug-in. Since GTK+ 2.6.x, this isn't needed anymore. 
	Fixes bug #168488.