GNOME Bugzilla – Bug 56397
Cannot use copy n paste buttons on keyboard within gtk 2.0
Last modified: 2004-12-22 21:47:04 UTC
I am running tests on cut n paste/drag n drop for gtk 2.0. running these tests on an ultra 10 machine with a type 5c keyboard... Cutting and pasting text from a Java AWT application to a GTK 2,.0 application (source built from CVS cnapshot 16th June 2001).... you cannot use the copy and paste buttons on the keyboard when copying from Java AWT to gtk 2.0 - and you cannot use the same buttons when copying and pasting within the same gtk 2.0 application..... you CAN use the same buttons when copying/cutting/pastiung text within the test Java Awt application - so this problem looks gtk 2.0 specific if you need more info - let me know.....
using the testtext application that comes as part of the gtk 2.0 build... following error message was sent to standard out: testtext (pid:501): Gdk-WARNING **: Error converting to UTF-8 from '646': Conversion from character set '646' to 'UTF-8' is not supported
I think there are two unrrelated bugs going on here: 1) #55152, a portability problem to Solaris, that needs to be resolved by someone with access to Solaris. 2) Lack of the bindings to the Sun cut-copy-paste keys. You can actually add the binding in your ~/.gtkrc-2.0 or /etc/gtk/gtkrc-2.0 something like: binding "entry" { bind "F15" { cut_clipboard() } bind "F16" { copy_clipboard() } } class "GtkEntry" binding "entry". I don't remember the exact function keys used by sun for cut/copy/paste, so adjust the same as necessary. I consider the fact that X keysymbols were never assigned to these keys and that function keys were reused ugly, so I'm basically of the opinion that this customization should live in Sun's /etc/gtk-2.0/gtkrc rather than inside the library as a standard binding.
Resolving as a duplicate, since I don't see adding the bindings for the Sun function keys to the standard GTK+ distribution. *** This bug has been marked as a duplicate of 55152 ***