Apache OpenOffice (AOO) Bugzilla – Issue 65942
Throwing a TerminationVetoException() from a hidden task prevents OO windows from closing
Last modified: 2013-02-07 21:55:08 UTC
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
considering the thread in the url, perhaps the status should be changed ?
*** Issue 65942 has been confirmed by votes. ***