Issue 86557 - DDE link doesn't work for table with UTF-8 name
Summary: DDE link doesn't work for table with UTF-8 name
Status: CLOSED WONT_FIX
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.4 RC1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: CJK
Depends on:
Blocks: 84405
  Show dependency tree
 
Reported: 2008-02-29 03:49 UTC by redflagzhulihua
Modified: 2008-02-29 16:40 UTC (History)
2 users (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 redflagzhulihua 2008-02-29 03:49:12 UTC
1. Create a new writer document;
2. Insert a table in it;
3. Select the table;
4. Ctrl+C;
5. Click out of the table;
6. Click the right side of the Paste and choose "DDE Link".

I expect there is a table pasted at the caret position. But there is only a
something like a frame there. And type in the table, nothing happened in the
"frame".
Comment 1 peter.junge 2008-02-29 04:10:03 UTC
I tried this with an OOo 2.3 on Ubuntu Linux. I can confirm your
observation. No problem while I use English localization. If I switch to
Chinese, the same office installation will reproduce the described
behavior. The case seems to be quite clear, the writer tables have
localized (Chinese is this case) names; press 'F5' to verify in the OOo
navigator. When pasting the table as DDE link it is bound to fail,
because DDE is only specified to be used with ASCII encodings.
However, this is no problem of the Chinese version, but a general problem. If
you insert a table in an English version and rename this table using Chinese
characters, it will also be reproducible. Trying the vice versa case and rename
the table in Chinese version using ASCII characters, will work around. I changed
the summary accordingly.
I bet this issue is already known and on resolutions 'wontfix' because it's an
limitation of the DDE specification.
Comment 2 redflagzhulihua 2008-02-29 04:40:20 UTC
Hi, Peter,

I agree.

What if disable DDE link item in the paste list on this condition?
Comment 3 peter.junge 2008-02-29 05:25:32 UTC
Hi Zhu Lihua,

the idea is not bad. However, the exact conditions of disabling the DDE option
must be specified. There might also be technical challenges, because I do not
know, what the Paste Special Dialog knows about the clipboard at runtime. It
might be an enormous effort to implement it.

Peter
Comment 4 michael.ruess 2008-02-29 16:40:08 UTC
Peter is right, DDE does not support non-ascii stuff. AFAIK, DDE is a fossilized
mechanism that survived Win16 times just because of "compatibility".
Comment 5 michael.ruess 2008-02-29 16:40:54 UTC
Closed.