Apache OpenOffice (AOO) Bugzilla – Issue 117501
setting frame title can crash oo
Last modified: 2014-02-25 13:35:25 UTC
Created attachment 76165 [details] restore_doc_example.odt steps to reproduce: - create a new writer document, type some text and save as "test.odt" - open attached "restore_doc_example.odt" - press button, select "yes" - "test.odt" will open in a new frame (see issue 109183 for details) - type some text - save "test.odt" - select File - Reload - close "test.odt" via [x] - oo will crash seems crash is caused due to: oRestoreDoc.getCurrentController().getFrame().Title = sTitle
@brinzing: your macro works fine with DEV300_m103 (my own build, tested on Linux). could you try with this latest milestone? (AFAIK it's been uploaded today in the mirrors)
@arielch: i can confirm the problem with m103. setting frame title and step "File - Reload" will make oo crash on close doc. without step "File - Reload" oo will not crash.
@brinzing: you're right. I was missing the File - Reload step. It also crashes on OOO330_m20.
as a workaround set the title via XModel, for example: XComponent document = xComponentLoader.loadComponentFromURL( url, "_blank", 0, mProps); XModel xModel = UnoRuntime.queryInterface(XModel.class, document); XTitle xTitle = (XTitle) UnoRuntime.queryInterface(XTitle.class, xModel); xTitle.setTitle("Hello World");
getting rid of value "enhancement" for field "severity". For enhancement the field "issue type" shall be used.
Confirmed with AOO410m1(Build:9750) - Rev. 1571426 2014-02-25_04:10:58 - Rev. 1571555 Debian