Issue 18622 - No document can be closed while StarBasic is running
Summary: No document can be closed while StarBasic is running
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 1.1.1
Assignee: joerg.skottke
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-25 10:44 UTC by kai.sommerfeld
Modified: 2004-02-12 07:02 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 kai.sommerfeld 2003-08-25 10:44:26 UTC
This behavior was introduced as fix for #i14041#. 

We discussed the problem again and came to the conclusion that the provided fix
 is not acceptable. It is not okay to disable closing of any documents as long
as StarBasic is active. This simply breaks senseful functionality. The document
that cannot be closed might be completely unrelated to the running StarBasic.
Comment 1 Mathias_Bauer 2003-08-25 10:55:06 UTC
We will remove the fix for #i13041#.
To avoid crashes like this one the script programmer must implememnt a
dispose listener at the model (s)he is scripting and on receiving a
notification the macro must be stopped.
Comment 2 Mathias_Bauer 2003-10-23 09:26:01 UTC
Document now can closed at any time.
Comment 3 Mathias_Bauer 2003-10-30 12:28:39 UTC
Kai, would you please verify the fix or add a test case and send it to
QA? The fix is in CWS fwk02pp1
Comment 4 kai.sommerfeld 2003-10-30 15:56:59 UTC
KSO->TM: Could you please verify the fix. Testcase is given in
#i14041#. It must be possible to close the document (using the UI)
while the Basic macro is running. BTW, Office will crash when doing
so, but this is exactly #i14041, which is fixed in CWS fwk02. 
Comment 5 joerg.skottke 2003-10-31 13:39:42 UTC
JSK->MBA:

We now run into a BAIC runtime error everytime the macro is
interrupted. I think that is acceptable.

On the other hand i managed to crash the office once (crashreport was
sent, id=rzvdk8). Could you try to have a look at the report?

The issue is fixed
Comment 6 joerg.skottke 2003-10-31 13:45:14 UTC
verified
Comment 7 Mathias_Bauer 2004-01-12 14:45:41 UTC
Reopening the issue for verifying the fix on the 680 build
Comment 8 Mathias_Bauer 2004-01-12 14:46:21 UTC
Assigning to me until CWS is ready
Comment 9 Mathias_Bauer 2004-01-12 16:39:21 UTC
.
Comment 10 Mathias_Bauer 2004-01-28 10:17:21 UTC
Hi Skotti, please verify this in src680 also
Comment 11 joerg.skottke 2004-01-28 10:39:47 UTC
fixed
Comment 12 joerg.skottke 2004-01-28 10:40:34 UTC
verified. All documents can be closed while IDE is open and infinite loop is
running.
Comment 13 joerg.skottke 2004-02-05 07:58:20 UTC
Verified in 645 master, 680 does not work as of now -> closing delayed, dneed to
investigate
Comment 14 joerg.skottke 2004-02-12 07:02:52 UTC
closing for 645, cloned for src680 to #i25393