Issue 95623 - new windows 'reopens' the file when in web layout view active
Summary: new windows 'reopens' the file when in web layout view active
Alias: None
Product: Writer
Classification: Application
Component: viewing (show other issues)
Version: OOO300m9
Hardware: PC Windows Vista
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2008-10-30 05:26 UTC by gstaylor
Modified: 2013-08-07 14:44 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description gstaylor 2008-10-30 05:26:35 UTC
How to reproduce:

1. Open a ODT file in Writer.
2. Choose View -> Web Layout.
3. Choose Window -> New Window.
4. Make edits in one window.  These edits are not reflected in the other window.
 The windows appear to behave as if the document has been opened twice, and both
windows independently edit the document.

If you miss out step 2, so that "Print Layout" is active then the multiple
windows all refer to the same document data and edits in one window are
reflected in the other.
Comment 1 gstaylor 2008-10-30 05:59:12 UTC
Slightly off topic but related:  If after opening a second window view, the view
type of one window is changed, the other window is closed.  It is therefore not
possible to have a web page view and a print layout view of the same file active
at the same time.
Comment 2 michael.ruess 2008-10-30 14:37:43 UTC
MRU->OS: as described, when the view of a document is switched to "Web Layout",
"New window" feature seems to open a new instance of the document and not a
Comment 3 Oliver Specht 2008-10-30 15:33:05 UTC
The Writer doesn't want to have a window opened but the sfx wants to ;-)
In web layout we call SfxViewShell::SetNewWindowAllowed(false) but the
SID_NEWWINDOW handler in sfx2 ignores this for SfxObjectShells with name.