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 85595 - Copy/Cut/Paste for text doesn't work
Copy/Cut/Paste for text doesn't work
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
0.90
Other Linux
: Normal normal
: ---
Assigned To: Lars Clausen
Lars Clausen
: 71847 89493 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-06-17 12:26 UTC by Akira TAGOH
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Akira TAGOH 2002-06-17 12:26:21 UTC
Well, when I select some text on other application, and then I did 'Paste Text'. it doesn't work for Japanese. perhaps it may not works except for iso8859-1. part of Japanese characters was changed another characters like ~ . I presume this is caused since we shift to UTF-8 internally. and it's broken by gtk_selection_*() because handling the encoding is different between gtk+ and dia.

Also, 'Cut Text' is always disabled. I can't do that.
'Copy Text' doesn't also work because maybe I can't do the selection on the text object.
Comment 1 Lars Clausen 2002-06-17 14:41:13 UTC
I can look at the cut/copy problem.  Pasting Japanese text will be more ... interesting.
Comment 2 Steffen Macke 2002-08-01 17:02:09 UTC
*** Bug 89493 has been marked as a duplicate of this bug. ***
Comment 3 Steffen Macke 2002-08-01 17:05:03 UTC
*** Bug 71847 has been marked as a duplicate of this bug. ***
Comment 4 Steffen Macke 2002-08-01 17:06:36 UTC
I could confirm this using dia 0.90 on windows and
using dia CVS on Linux:

* Create a text object
* edit the text
* try to paste
Comment 5 Lars Clausen 2002-08-01 17:55:47 UTC
Some problems with copying/cutting ASCII text fixed.  Can't remove text in cut.  For the non-ASCII stuff, I'm not sure who's at fault.
Comment 6 Lars Clausen 2002-08-02 20:15:00 UTC
I've fixed the problems with Cut in CVS.  For the Japanese
pasting, just like Japanese input, we need to figure out how to
transform the input to UTF-8.

Comment 7 Lars Clausen 2002-08-05 14:45:40 UTC
Cut and paste should now work with Japanese.  We now use gtk_clipboard, which
does encodings for us.  It should work both with the locale encoding and UTF-8.
Note that not all programs copy text in the way you may expect.