Issue 123044 - Page preview crashes writer when a template is being edited
Summary: Page preview crashes writer when a template is being edited
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 4.0.0
Hardware: Mac Mac OS X 10.7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2013-08-15 19:17 UTC by Kai Unger
Modified: 2017-05-20 10:15 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
File example (169.21 KB, application/vnd.oasis.opendocument.text)
2013-09-25 20:23 UTC, anne_onion
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Kai Unger 2013-08-15 19:17:00 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
Comment 1 Edwin Sharp 2013-08-16 08:33:28 UTC
No crash with Rev. 1513819 Win 7.
Comment 2 Oliver-Rainer Wittmann 2013-08-21 12:28:22 UTC
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.
Comment 3 Kai Unger 2013-09-19 19:09:50 UTC
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 ...
Comment 4 anne_onion 2013-09-25 20:21:17 UTC
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.
Comment 5 anne_onion 2013-09-25 20:23:02 UTC
Created attachment 81654 [details]
File example

file example
Comment 6 anne_onion 2013-09-25 20:29:34 UTC
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
Comment 7 Edwin Sharp 2013-12-14 19:13:00 UTC
Irreproducible per comment 6.