Apache OpenOffice (AOO) Bugzilla – Issue 106901
Mac:crash when insert latin char with "Character viewer"
Last modified: 2017-05-20 10:29:21 UTC
Hi, The crash has been noticed on Mac os X Leopard and Snow Leopard with Calc and Writer, at least... with OpenOffice 3.1.1 (OOO310m19(Build:9420)) To Reproduce it: ->Start the system ->Open OpenOffice Writer ->Write few charaters with the keyboard ->Launch the "Character View". (This system tool can be enabled from "System preferences/Language & text/Input Sources", then check the box near "Character viewer") ->Into "Character viewer", select the "Latin" charset ->select the "A" character and press the "insert" button ->Then, OpenOffice crashes Other informations: ->It has been reproduced with many palette applications, like "Character Viewer", IPAPalette, or with the palette application we are working on. ->OpenOffice doesn't crash if: -> You don't enter at least one character with the keyboard before inserting one with the palette application -> You don't try to insert Latin characters. We made lost's of tests and it appears that if the unicode code point of the character you try to insert is greater than "0x00ff" (UTF16), then OpenOffice doen't crash Thanks Edgard Baudry
Herbert, please take over.
reassigning to the IME-expert
confirm
A workaround is to return a nonempty marked range in this case (where we are not actually working on a key event). Why this is the case I do not quite understand. Committed the workaround in CWS ooo32gsl06. ekato: if you're interested you might want to have a look at the patch I will committed as a fix.
Created attachment 66153 [details] wrokaround
please verify in CWS ooo32gsl06
Verified with cws ooo32gsl06 = ok