Bug 153290

Summary: OOdraw creates a new instance incorrectly
Product: [Fedora] Fedora Reporter: Paul F. Johnson <paul>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-05 10:19:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
First picture
none
Picture 2 none

Description Paul F. Johnson 2005-04-04 14:50:11 UTC
Description of problem:
If you open an OOo draw diagram up when draw is already open, another window
instance is created, but the diagram is also loaded into any other draw windows
as a new page.

Version-Release number of selected component (if applicable):
1.9.89-1

How reproducible:
Always

Steps to Reproduce:
1. Open an OOdraw diagram
2. Open another
3.
  
Actual results:
The drawing creates a new window instance, but the diagram is copied into the
first as a new page

Expected results:
The diagram should not create a new window instance, rather replace the original
diagram

Additional info:

Comment 1 Caolan McNamara 2005-04-05 09:27:51 UTC
You know I can't reproduce this either. Give absolutely precise instructions, 
how draw is initially started, e.g. oodraw from the command line, clicking on a
.odg document from nautilus, file new-> from a writer shell. Then if you are
starting off with a blank oodraw, or from an oodraw which has something drawn in
it. Clearly what should happen is that if you have a blank oodraw shell where
nothing has been drawn, then file open etc will open the new document in the
current shell, if something has been drawn then it gets opened in a new shell.
You seem to suggest that if something is opened in a new shell that something
changes in the old shell, a page gets added. I don't see this, so can you even
attach the first drawing, the second drawing and a screenshot of what goes wrong
in the first shell when the 2nd drawing is opened.

C.

Comment 2 Paul F. Johnson 2005-04-05 09:47:09 UTC
oodraw is opened via oowriter (open->new doc->drawing) usually, but the same
results come from the command line.

If I create a drawing, save and delete then open an already created picture, a
new window is created. The original is blank, but two windows appear under the
"window" menu item.

Comment 3 Paul F. Johnson 2005-04-05 09:48:47 UTC
Created attachment 112707 [details]
First picture

This is a typical first picture. Start OO draw via OOwriter and open this file.
Save it. Select and delete. Load in the next attachment. It will be opened in a
new window rather than in the blank one.

Comment 4 Paul F. Johnson 2005-04-05 09:49:15 UTC
Created attachment 112708 [details]
Picture 2

Second picture

Comment 5 Caolan McNamara 2005-04-05 10:19:07 UTC
By select and delete I assume you mean you select the contents of the drawing
and delete. Opening the next document in a new window is intentional, when you
start off with the initial blank oodraw, no document is loaded, so when you load
one it takes over the oodraw shell which is not associated with any document.
Once a document is opened in a shell, even when you delete it's contents after
saving, it's still associated with the document to which is was saved, or loaded
if not saved yet. So when you open a new document it opens in a new shell. If
you are finished with a document you close it with the [x] close and open a new
one that way if you don't want two documents open at a time.