GNOME Bugzilla – Bug 168488
Disable the paste functionality of the winclipboard plug-in
Last modified: 2008-01-15 12:48:45 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?
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.
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.
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.
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.