To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65942
Issue #:|65942
Summary:|Throwing a TerminationVetoException() from a hidden
|task prevents OO windows from closing
Component:|framework
Version:|OOo 2.0.2
Platform:|All
URL:|http://api.openoffice.org/servlets/BrowseList?list=de
|v&by=thread&from=1389043
OS/Version:|All
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|tm
Reported by:|tobiaskrais
------- Additional comments from [EMAIL PROTECTED] Tue May 30 23:36:35 -0700
2006 -------
I added a terminate Listener to my xDesktop:
-----%<-----
xDesktop.addTerminateListener(new com.sun.star.frame.XTerminateListener() {
public void queryTermination(EventObject arg0)
throws com.sun.star.frame.TerminationVetoException {
// Disallow termination
throw new com.sun.star.frame.TerminationVetoException();
}
public void notifyTermination(EventObject arg0) {
}
public void disposing(EventObject arg0) {
}
});
-----%<-----
My task runs in hidden mode. If a user now wants to close his last OO windows
(File -> Exit), this is prevented.
Please allow closing open Windows if hidden tasks are running and throwing a
TerminateVetoException.
Please read also the Thread in the URL. Mathias Bauer described the problem very
well.
Thanks, Tobias
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]