Apache OpenOffice (AOO) Bugzilla – Issue 30337
closing letter (created with Autopilot) closes the Office completely
Last modified: 2004-12-09 10:23:52 UTC
Hi AS, we talked about this... src680m43_01: Out of a terminal open Office: /path/to/Office/program/soffice& ==> The empty Office window appears ("Backing Window") File->Autopilot->Letter ==> Office opens a new window Let the Autopilot work and close the Window containing the result (the letter) ==> the first Window closes, too This worked in src680m42. This happens only if no other document is loaded/opened...
AS->TV: as discussed - its your area. You should think about the following concepts: a) A preview frame has not to be added as child of the global desktop object. To much code iterates about the document frames of this desktop object and interpret it in different ways. (e.g. scripting framework, office lifecycle mechanism, addons etcpp). Please create a frame by your own. Example: frame = uno_smgr.createInstance("com.sun.star.frame.Frame") frame.loadComponentFromURL(url, "_self", 0, args) b) If your liefe-preview contained a document only, where the result must base on later ... please dont recylce the preview frame. Close it and open the result as normal office document inside a frame, which is a child of the desktop! If you whish to recycle preview frames ... please ask me for another concept :-) c) Because your frame isnt well known any longer on the desktop object, you have to control the lifetime of your dialog/frame and the office itself(!) by your own. The best solution: be listener on the desktop for termination requests. desktop.addTerminationListener(this) this::queryTermination() { /* agree or disagree */ } this::notifyTermination() { freeAnything(); } d) Remove the menu from the preview document. Because it provides entries for closing the document (especialy the backing-mode-closer), which can make trouble inside this environment. Regards Andreas
TV: will do the proposed changes
TV: fixed in qwizardsbf1.
.
ok on Linux (german version)
Solaris: I get an error message: "Template could not be saved!" The file exists but has a size of 0 Bytes... As dicussed with hi I send this issue back to the developer
reassigned to tv mci->tv: Hi tv, as discussed with hi I send this issue back to you since the bugfix can not be verified on Solaris. Hi told, the message "Template could not be saved!" should not occur anymore in this CWS...
TV: I forgot to rebuild solaris... its fixed with the next installation set.
TV: reopened.
TV: pls verify.
TV: pls verify.TV: Issue is fixed.
Office doesn't open a new window to display the reult after finishing the wizard anymore... ok on Solaris SPARC... ok on Linux... ...as discussed with hi: set to verified...
ok in m65 on Solaris and Linux
ok on Windows in m65 ==> closing... :)