Apache OpenOffice (AOO) Bugzilla – Issue 123044
Page preview crashes writer when a template is being edited
Last modified: 2017-05-20 10:15:11 UTC
- Open templates dialog from the start center - Choose a template (ott-file) and click "edit" - click on page preview in the toolbar - OO crashes
No crash with Rev. 1513819 Win 7.
I could not reproduce a crash on Windows 7 in AOO 4.0.0 my steps: - create simple Text Document template - just an empty text document with a page header - imported this template into the "My Templates" area - restart AOO - open templates dialog from the start center - choose my template and click "edit" - switch to Page Preview via corresponding toolbar button --> template document shown in Page Preview May be it is not an issue on Windows 7. Can someone please check the other platforms? May be it is an issue of a certain templace. @Kai Unger: Could you attach a sample template document? Thx in advance.
I'm sorry I can't attach the template which crashes oow since it contains personal data. I tried to replace [:alnum:] by character 'x' but then it does not chrash oow any longer. Still trying to delete the personal data and keep the ability to crash ...
In trying to replicate your steps Kai, I was a bit unclear as to what the "start center" was and how you selected a .ott file. But with some review and playing around I think I figured it out. Like Oliver I was unable to reproduce your crash with my system set up. I have: Windows 7 Service Pack 1 Open Office 3.3.0 (build 9567) HP EliteBook 8440p MS Word 2010 Version 14.0.61.29.5000 Replicating the Report: My steps to recreate this bug were: Create a doc with a page title and save the new doc as a .ott Steps to do this: Open - Open Office On the page that displays after opening center a page title a few lines down from the top Save the document with a .ott (ODF Text Document Template listed under the save as type: From the file save as option on the Navigation Bar Then save the new document as a template that can be reused: File Templates Save The default is My Templates (I also did Presentation Backgrounds) so you just have to name it entering a name in the New Template box Then click "OK" Exit and reopen Open Office Close the open window to the "Home" select Templates (see attached screen shot for help) File Templates Edit Change the All Files (*.*) to be ODF Text Document Template (*.ott) Select your document Document opens on the screen On the tool bar find the icon "page preview" it is the one with a magnifying glass Click on it The page adjusts and does not crash Open Office I compared this to MS Word 2010 When done in MSWord and saved as a .dotx (Microsoft Work Template) it acts like it saves but did not hold that file type. When I Googled it, I found that ott is not an option in Word. Since it does not read it it does not save it.
Created attachment 81654 [details] File example file example
Also during my follow-up testing I attempted the following file extensions and did not get a crash of Open Office. • .odt • .sxw • .stw • .txt • .html Also during my follow-up testing I attempted the following formatting actions. • added pictures • added tables • changed formatting • changed fonts • changed text colors
Irreproducible per comment 6.