Bug 103094 - WEB LAYOUT: DOC - Enabling read-only mode switches to Print layout
Summary: WEB LAYOUT: DOC - Enabling read-only mode switches to Print layout
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
Depends on:
Blocks: Writer-Web-Layout
  Show dependency treegraph
 
Reported: 2016-10-10 17:52 UTC by vic.orgos+bugslibreoffice
Modified: 2017-10-23 14:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Disabling Edit Mode behaves differently in .odt vs .doc when in Web Layout (181.82 KB, image/png)
2016-10-17 17:15 UTC, vic.orgos+bugslibreoffice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vic.orgos+bugslibreoffice 2016-10-10 17:52:14 UTC
Description:
I have two documents side by side in Web Layout and at a certain zoom factor. I am editing one and referencing the other. In order to prevent unwanted changes to one of them, I switch to Read Only mode by toggling Edit->Edit Mode option.

The majority of the time, when the document switches to Read Only mode it also changes the view mode to Print Layout and the options in the Edit menu are disabled so I cannot switch back to Web Layout.

With the document in Print Layout I then have to play with the zoom factor to get the text as large as possible and at the same time fit the window.



Steps to Reproduce:
1. Open saved document
2. Switch to Web Layout
3. Toggle Edit Menu->Edit Mode

Document will most likely revert to Print Layout

Actual Results:  
Switched to Print Layout without the ability to change to Web Layout

Expected Results:
Expect Writer to respect the View Layout in use or at least allow me to change it when in Read Only mode


Reproducible: Sometimes

User Profile Reset: No since it occurs on fresh install of LO

Additional Info:
Have seen the behaviour in both LO v5.0.5.2 on Win7x64 and on ArchLinux 32bit using LO v5.1.5.2


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Comment 1 vic.orgos+bugslibreoffice 2016-10-11 08:04:53 UTC
In original comment, second paragraph, I stated that

"the options in the Edit menu are disabled"

I meant the Layout options under the View Menu are disabled.
Comment 2 Yousuf Philips (jay) (retired) 2016-10-17 07:21:55 UTC
Hello vic.orgos,

Thank you for reporting the bug. Unfortunately i wasnt able to reproduce this with the steps you provided. If possible, create and attach a screencast showing the steps. There are various free screencast software available for use, including Camstudio (Windows), Simple Screen Recorder (Linux) or screencast-o-matic.com (Web).

Version: 5.3.0.0.alpha0+
Build ID: 45a7137c6796f33fbf5b8f7cb64e293260d991cb
CPU Threads: 2; OS Version: Linux 3.19; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-10-13_23:38:06
Locale: en-US (en_US.UTF-8); Calc: group
Comment 3 vic.orgos+bugslibreoffice 2016-10-17 17:13:16 UTC
Ok. I thought I was going crazy because I couldn't get to do it all of a sudden. Then it hit me. I had started working with .doc files and recently changed to .odt format. 

I opened a .doc file and was able to cause it to happen. So the problem has to do with the .doc format.

I am attaching a screenshot of two documents side by side, set to Web View before disabling Edit Mode in each.
Comment 4 vic.orgos+bugslibreoffice 2016-10-17 17:15:33 UTC
Created attachment 128048 [details]
Disabling Edit Mode behaves differently in .odt vs .doc when in Web Layout
Comment 5 Yousuf Philips (jay) (retired) 2016-10-17 22:44:44 UTC
Yes i can confirm that this behaviour happens with .doc files, but not with .docx and .odt files.

Version: 5.3.0.0.alpha0+
Build ID: 45a7137c6796f33fbf5b8f7cb64e293260d991cb
CPU Threads: 2; OS Version: Linux 3.19; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-10-13_23:38:06
Locale: en-US (en_US.UTF-8); Calc: group
Comment 6 QA Administrators 2017-10-23 14:15:41 UTC Comment hidden (spam)