Apache OpenOffice (AOO) Bugzilla – Issue 121751
crash after undo language change
Last modified: 2017-05-20 11:42:11 UTC
Openoffice Writer. Reproduce by: 1. Add a frame to a new document. 2. Change language to English (US) for all text 3. Undo the change. Crash. Happens on both Openoffice v3.3.0 and v3.4.1
note: to change the language for all text some text needs to be there. Just a few words will do.
I assume your starting point is a different language for the document? What language? Dutch?
(In reply to comment #2) > I assume your starting point is a different language for the document? What > language? Dutch? Yes, but it doesn't really matter. English to Dutch to English (by undoing) shows the same behaviour. N.B. the text doesn't need to be within the frame. Just in the document. There is no crash unless there is a frame though, so to reproduce make a frame anywhere in the document.
Hello, I don't think this is a problem, I checked in AOO and MS and also happens that.
Tried the following Windows 7 - OO 3.4.1 Open OO Select Text Document Verify Default Language - USA English Type text - 'Good Morning' Insert Frame Tools - Language - For All Text - More - Select Dutch Belgium Type text in frame - 'Good Morning' Tools - Language - For All Text - More - Select USA English Now press CTRL Z OO crashes
Created attachment 80878 [details] Stacktrace of the crash Reproduced the crash on Windows7 (switching from English to German and back...or not). Stack trace is attached.
working on a fix
set showstopper flag
defect cause: The Undo resp. Redo action of changing for all text does not restore the current cursor respectively the current selection. The selection needed to undo/redo this change is only an internal one which is currently not supported at the user interface. On the visualization of this internal selection the office crashes.
"orw" committed SVN revision 1496901 into trunk: 121751: - restore cursor/selection on Undo/Redo language change for all text
fixed on trunk for AOO 4.0
I do not see the crash in RC, Rev. 1502185