Issue 12883 - OOBean does not work when the system parent is not known yet
Summary: OOBean does not work when the system parent is not known yet
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Linux, all
: P3 Trivial
Target Milestone: ---
Assignee: svante.schubert
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-31 15:44 UTC by ooo
Modified: 2013-02-24 21:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ooo 2003-03-31 15:44:07 UTC
For example the SAG GUI, and other environments, need to load an OOBean before
they can assign a system parent window.  

This shold be fixed by using a fake parent and re-parenting.  The latter is an
upcoming feature in CWS:VCL07.
Comment 1 ooo 2003-04-03 14:26:28 UTC
SAP GUI, of course, not SAG GUI
Comment 2 ooo 2003-04-04 14:10:30 UTC
some preps, depends one a cws:vcl07
Comment 3 ooo 2003-04-17 08:56:19 UTC
"not" was missing in the summary
Comment 4 ooo 2003-06-02 16:00:47 UTC
There are several problems with Java AWT.  Thus, this bug has to be
moved to sdk03.
Comment 5 ooo 2003-06-03 08:20:25 UTC
Open issues with Java AWT require to postpone this bugfix.  It will
hopefully be fixed in sdk03.
Comment 6 ooo 2003-06-11 23:00:52 UTC
fixed in cws:sdk03 (toolkit+odk)
Comment 7 ooo 2003-06-13 09:38:54 UTC
Now this happens: Open Bean, Open a normal DocWindow, Close Bean =>
Office terminates

The cause seems to be that WB_APP is set at the bean window, I have no
idea why Toolkit/VCL are doing this yet.  But if a workwindow with
WB_APP is closed, the application is termianted. 
Comment 8 ooo 2003-06-13 14:03:06 UTC
The problem was that two constant groups which constant values need to
be disjuct were not: com::sun::star::awt:VclWindowPeerAttribute and
com::sun::star::awt:WindowAttributes. 
WindowAttribute::SYSTEMDEPENDENT is not actually used, neither
necessary, thus marked as deprecated. And of course not used anymore.
Comment 9 ooo 2003-06-13 15:47:08 UTC
source review with Mathias Bauer: 1 issue found and fixed
Comment 10 ooo 2003-06-13 16:28:40 UTC
verified in unxlngi5.pro.

You may want to test the bean too when it is created in a visible
parent: just remove the setVisible(true|false) lines from
BasicOfficeBean.java in the example code.
Comment 11 ooo 2003-06-16 14:04:09 UTC
erorrneously marked veryfied
Comment 12 ooo 2003-06-16 14:04:42 UTC
but it is fixed
Comment 13 ooo 2003-06-17 15:02:52 UTC
verified on unxlngi5.pro and wntmsci8
Comment 14 thorsten.ziehm 2003-06-18 16:50:13 UTC
Set to 'resolved fixed', that should the the correct status.
Comment 15 svante.schubert 2003-06-19 19:36:18 UTC
Works under Windows and Linux -> verified
Comment 16 svante.schubert 2003-06-26 12:24:57 UTC
changes are integrated under Windows and Linux