Issue 1651 - Cut-&-Paste CJK Characters causing soffice unrecoverable error
Summary: Cut-&-Paste CJK Characters causing soffice unrecoverable error
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: www (show other issues)
Version: current
Hardware: PC Windows ME
: P2 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@l10n
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-10 16:14 UTC by Unknown
Modified: 2013-08-07 15:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2001-09-10 16:14:40 UTC
To simulate:

1. Run the Chinese version
2. Select the Chinese name in the "My Computer" icon
3. Cut the Chinese name by pressing Ctrl-C
4. Paste in a OO writer text document by press Ctrl-v.
5. Repeatly doing a Ctrl-V for a few times and an error message saying "soffice 
causing unrecoverable error in kernel32.dll" appeared.
Comment 1 Dieter.Loeschky 2001-10-15 12:31:49 UTC
DL->JP: The bug appears in Writer.
Comment 2 Unknown 2001-10-16 03:13:45 UTC
The same problem happens in Calc. It seems something related to 
clipboard handling.
Comment 3 jp 2001-10-16 13:49:11 UTC
If it happen in both applications, then I think this may be a 
platform depended problem from Windows ME; so it is a problem of OBR.
Comment 4 nospam4obr 2001-10-22 11:49:02 UTC
Seems to be a windows only problem. Please have a look at it.
Comment 5 stx123 2002-03-12 19:10:07 UTC
Has this been resolved with the most recent clipboard changes?
Comment 6 Unknown 2002-03-13 03:37:27 UTC
Not yet.
Comment 7 tino.rachui 2002-12-03 12:34:19 UTC
Hi,

which Operating System do you use Win95/98/ME or Windows NT/2000/XP?
Does the problem still exist with the newest OO version?

Best Regards,
Tino
Comment 8 tino.rachui 2002-12-05 19:52:52 UTC
Hi Wolfram,

maybe you want to verify this and close the bug.

Best Regards,
Tino
Comment 9 wolframgarten 2002-12-06 09:03:33 UTC
Back to you, Tino.
Comment 10 tino.rachui 2002-12-16 12:04:01 UTC
Changed platform, assuming PC is right.
Comment 11 tino.rachui 2003-01-29 08:56:11 UTC
Still happens (unfortunately).

Comment 12 tino.rachui 2003-02-03 10:16:49 UTC
Hi *,

I fixed a problem in the Windows clipboard bridge but a problem still
remains in the application code (DVO will further investigate it). 
But be aware of the following problem: If someone copies text into the
Windows clipboard he may additionally copy a format CF_LOCALE for
specifying the code page of this text. When someone closes the
clipboard, if it contains CF_TEXT data but no CF_LOCALE data, the
system automatically sets the CF_LOCALE format to the current input
language(!).
For the current scenario this means, if the input language is english
and somebody copies the chinese text of the "My Computer" icon into
the clipboard, the system adds the format CF_LOCALE with an english
locale to the clipboard. The default code page for this locale is
1252. The Windows clipboard bridge converts the text on the clipboard
into unicode text based on the code page 1252. So what will be seen
after pasting this text into an OO application is garbage. This
problem is not fixable by OO. The Windows desktop simply neglect to
provide an appropriate locale when copying text into the clipboard and
the Windows clipboard bridge cannot determine that locale and text are
not compatible.
Comment 13 waiterevo 2003-02-03 10:50:15 UTC
If the clipboard data does not include CF_LOCALE informatoin, is it 
more reasonable to assume the CF_TEXT in the clipboard (for Me/9x) 
has a locale equivalent to GetOEMCP()? Because using a CJK locale to 
convert English characters to Unicode will generate less problem. All 
characters in DBCS code page requires the ASCII value of lead byte 
greater than 127. Of course, using such an approach will have problem 
if the CF_TEXT contains some Roman characters with ASCII value > 127. 
However, the confusing suitation is a instinsic problem of the 
WinMe/9x platform.
Comment 14 tino.rachui 2003-02-11 09:40:12 UTC
Fixed.
Comment 15 Joost Andrae 2003-02-17 10:30:58 UTC
JA: re-prioritized according to new priority guide lines
Comment 16 tino.rachui 2003-02-18 11:44:42 UTC
Have to wait for integration of hdu01 and vcl05 to verify the fix.

Regards,
Tino
Comment 17 michael.bemmer 2003-02-19 09:13:36 UTC
Tino, if you fixed the bug, which is great, I guess you could update
the status to resolved fixed, even if you couldn't verify it yet. It's
annoying for me to read through many bugs to find out that they are
already fixed. Thanks.
Comment 18 tino.rachui 2003-02-19 11:46:18 UTC
Hi Michael,

of course can I do this but then I have to reopen the bug later to
change the ower etc. or am I wrong?.
Nevertheless I will change the state to fixed.

Kind Regards,
Tino
Comment 19 tino.rachui 2003-02-24 07:52:52 UTC
Reopen
Comment 20 tino.rachui 2003-02-24 07:54:42 UTC
Hi Erik,

the issue is fixed. Please be aware that the problem did only occur if
the current input language was english instead of chinese. 

Kind Regards,
Tino
Comment 21 eric.savary 2003-04-30 16:23:42 UTC
Ok in 644m13
Comment 22 eric.savary 2003-04-30 16:24:00 UTC
closed