Issue 84417

Summary: Unable to edit existing chart title with IME or clipboard
Product: General Reporter: tuharsky <tuharsky>
Component: chartAssignee: stefan.baltzer
Status: CLOSED FIXED QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: amy2008, bluedwarf, freemant, IngridvdM, issues, kamataki, masaya.k, stefan.baltzer, thomas.lange, weizhao
Version: 3.3.0 or older (OOo)Keywords: CJK, regression
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: PATCH Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 72764    
Attachments:
Description Flags
Patch provided by weiz. Thanks! none

Description tuharsky 2007-12-10 09:01:43 UTC
In 2.0.4, it has been possible to double click on chart's title and edit.
In 2.3 it is no longer possible. Try to edit title of any chart in the testcase

http://www.openoffice.org/nonav/issues/showattachment.cgi/50201/statistika-v2.ods
Comment 1 kla 2007-12-10 09:55:20 UTC
Sorry, cannot confirm. Works for all charts fine.
Comment 2 kla 2008-01-11 08:20:10 UTC
closed, cannot reproduce.
Comment 3 kamataki 2008-02-12 08:59:55 UTC
Hi kla.

This problem happend when I used Japanese Input Method Editor[*]. I cannot input
Japanese. There is a similar problem in 2.4 beta version.

Please reopen this issue.

*Input Method Editor:
http://en.wikipedia.org/wiki/Input_method_editor
Comment 4 kla 2008-02-13 12:57:14 UTC
reopen
Comment 5 kla 2008-02-13 13:00:46 UTC
@SBA: Stefan, pls have a look. I reopend it, without confirm.
Comment 6 IngridvdM 2008-02-13 16:29:40 UTC
added me to CC and added IME to 'summary'
Comment 7 IngridvdM 2008-03-13 16:53:09 UTC
CWS chart23 does contain several bug fixes around asian font settings in charts.
It is likely that this problem is fixed there, maybe someone could check.
Comment 8 freemant 2008-06-19 05:12:40 UTC
I am also having this issue with the Chinese IME.
Comment 9 amy2008 2008-10-07 06:59:11 UTC
Reproduce it in OOo300m8 on WinXP.
Can't input Chinese characters when editing chart title.
Li Meiying
Comment 10 stefan.baltzer 2008-10-07 10:49:15 UTC
sba->iha: As seen, the chart2 implementation seems to have caused this. To
reproduce:
 - Win XP with IME activated (I tried Japanese, input mode "Hiragana")
 - Have a document with a chart
 - Select the chart
 - [Via Chart main menu] Insert -Title
 - Fill some fields with IME, (input works fine in dialog as well as in chart
wizard)
 - Click OK
[See that the chart gets the correct Japanese title (or subtitle, x-axis...)
displayed
=> Charts with CJK text can be created correctly.
 - Select the title within the chart (double-click)
 - [see that deleting characters works]
-> Try some IME input - it does NOT work
-> Paste from clipboard (context or <Ctrl>-V in Western key input) does not work
either.
Set OS to "All", adjusted summary, put TL on c/c.
Reassigned to IHA.
Comment 11 stefan.baltzer 2008-10-07 10:52:00 UTC
SBA: The WORKAROUND for this is to use the title dialog:
 - Have the chart selected
 - via menu - Edit - Title
-> The title dialog comes up and in there,  the fields (Title, Subtitle,
Axis...) can be edited via IME. 
Comment 12 IngridvdM 2008-10-07 11:00:49 UTC
@weiz, please have a look. As discussed on IRC start the research at
ChartController::StartTextEdit(). I guess that we need to do something to the
here used SdrOutliner.

@TL, as you are the edit engine specialist, do you have an initial idea what we
might have missed when using the edit engine here?

A workaround for the users:
You can use the menu while in chart edit mode: Insert->Title ... In the opening
dialog you can enter all titles within an edit box and here the IME method does
work properly.
Comment 13 weiz 2008-10-17 03:36:03 UTC
It is very strange that I cannot attach the patch to this issue. :-( 
Do anybody on the CC list know how to solve this problem? Thanks in advance!
Comment 14 thomas.lange 2008-10-17 08:22:58 UTC
tl->weiz: Hi! Just drop me an e-mail with the patch file and the issue number
and I'll to attach it.
Comment 15 thomas.lange 2008-10-20 07:52:01 UTC
Created attachment 57281 [details]
Patch provided by weiz. Thanks!
Comment 16 thomas.lange 2008-10-20 07:52:25 UTC
.
Comment 17 IngridvdM 2009-01-14 12:46:56 UTC
@weiz, thanks the patch works fine! :-).
I commited to CWS chart35.
Comment 18 IngridvdM 2009-01-19 15:28:54 UTC
@Kla, please verify in CWS chart35. Thanks!
To test on windows for example:
1)Add japanese keyboard here:
start->control panel->regional and language options->Languages->Details...
->Settings->Installed Services
2)start OpenOffice.org and enable support for Asian languages:
Tools->Options->Language Settings->Languages->Enable for Asian languages
3)Restart Office
4)Start Office, create a chart. insert a title, double click a title
5) In windows taskbar select the Japanese keyboard and input style 'Hiragana'
for example
6)Type for example hiragana into the title -> You should see some Asian characters
Comment 19 stefan.baltzer 2009-01-19 15:56:39 UTC
SBA->KLA: I can take care of that one. 
Comment 20 kla 2009-02-06 08:04:02 UTC
Pls verify im chart35. Thx SBA for support.
Comment 21 stefan.baltzer 2009-02-06 12:34:31 UTC
Verified in CWS chart35.
Comment 22 stefan.baltzer 2009-05-08 11:24:28 UTC
OK in OOO310_m11 (OOo 3.1). Closed.