Issue 118977 - Writer does not remember the document's layout mode
Summary: Writer does not remember the document's layout mode
Status: CLOSED DUPLICATE of issue 119292
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: 3.4.0
Hardware: All All
: P3 Major with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-26 10:47 UTC by Andreas Säger
Modified: 2012-06-19 05:46 UTC (History)
4 users (show)

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


Attachments
4 *.odt documents (34.24 KB, application/zip)
2012-05-01 11:15 UTC, Andreas Säger
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Andreas Säger 2012-02-26 10:47:35 UTC
Ariel's inofficial build http://people.apache.org/~arielch/packages/r1291124/linux_x86/OOo-Dev_OOO340m1_Linux_x86_install-deb_en-US.tar.gz
opens all database forms in page layout rather than web layout which makes my forms unusable or very ugly at least. Same with Oracle 3.4 beta and all LibO versions since 3.4.0.
This may be related to https://issues.apache.org/ooo/show_bug.cgi?id=117545 which fixed the issue for the form design mode of embedded forms. But this does not help if your well designed form gets crammed into page layout when you try to use it.
This bug affects my stand-alone Writer documents as well, with or without forms. All Writer documents open in page layout after restarting the office. With 3.3.x versions the layout mode seems to be stored in the document and the application opens each document in its respective layout mode. So I assigned the issue to the Writer component although it may be most annoying for Base designers.

This is the one and only reason why I can't upgrade from LibO 3.3.4 nor switch back to OpenOffice.org.
Comment 1 Ariel Constenla-Haile 2012-02-26 13:30:11 UTC
Confirmed.
Comment 2 Oliver Brinzing 2012-02-26 16:31:52 UTC
.
Comment 3 Andreas Säger 2012-02-26 17:41:32 UTC
I did some additional tests with 2 Writer documents saved with both layout modes.
AOO-dev 3.4 opens them correctly. The issue depends on the existence of a form control. 
After adding a push button, AOO-dev opens the web-layout document in page layout. 
After removing that push button the same document opens in web-layout. So it has nothing to do with the remaining empty form. A hidden form control does not trigger the problem neither. 
But a regular form control does even when it is set to be invisible.
Comment 4 Andreas Säger 2012-05-01 11:15:00 UTC
Created attachment 77505 [details]
4 *.odt documents

Issue still exists in AOO 3.4 RC1. Even OOo 1.1.5 does it right.

I attach a zip with 4 odt files:
no_button_page.odt (ordinary text opens in page layout)
no_button_web.odt (ordinary text opens in web layout)
button_page.odt (text with button opens in page layout)
button_web.odt (text with button *should* open in web layout)
Comment 5 Oliver-Rainer Wittmann 2012-05-11 11:54:50 UTC
I have overseen this issue, when I have made the fix for bug 119292.
Both issue are describing the same problem.
As I have already fixed bug 119292 I am marking this issue as duplicate

*** This issue has been marked as a duplicate of issue 119292 ***
Comment 6 binguo 2012-06-19 05:46:16 UTC
Verified it on Aoo_Trunk_20120616.1800.1350879 and it does not reproduce, the primary bug is fixed yet, so close it as fixed.