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 56397 - Cannot use copy n paste buttons on keyboard within gtk 2.0
Cannot use copy n paste buttons on keyboard within gtk 2.0
Status: RESOLVED DUPLICATE of bug 55152
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other Solaris
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-06-19 13:07 UTC by gnome_bugs
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gnome_bugs 2001-06-19 13:07:34 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.....
Comment 1 gnome_bugs 2001-06-19 13:14:57 UTC
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
Comment 2 Owen Taylor 2001-06-19 19:35:44 UTC
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.
Comment 3 Owen Taylor 2001-06-23 13:51:08 UTC
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 ***