Apache OpenOffice (AOO) Bugzilla – Issue 60467
OOoBean: no keyboard events
Last modified: 2013-02-24 21:07:47 UTC
This bug is very similar to i49454. When the test is started a second time (or more) the window does not receive keyboard events. public static void main (String[] args) { try { OOoBean b = new OOoBean(); b.setSize(300,300); b.loadFromURL("private:factory/swriter", null); b.setSize(300,300); java.awt.Frame f = new java.awt.Frame(); f.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } }); f.add(b); f.setSize (600, 600); f.show(); b.aquireSystemWindow(); //b.stopOOoConnection(); } catch(Exception e) { e.printStackTrace(); } } I ran the program from within netbeans and the bug could be reproduced every time. The first time the program runs everything works, but the following times it does not. This could mean that in VCL something is damaged permantly on the first time the program runs.
Created attachment 33733 [details] Java test program
To run the test program you need to set the classpath properly: > set CLASSPATH=.;d:\office\program\classes\officebean.jar;d:\office\program\classes\jurt.jar;d:\office\program\classes\java_uno.jar;d:\office\progra m\classes\unoil.jar;d:\office\program\classes\ridl.jar;d:\office\program\classes\juh.jar > java KeyTest
Created attachment 33742 [details] compiled Java program
I tried it on Linux but could not reproduce this behaviour. It seems to be a windows only problem.
.
*** Issue 60468 has been marked as a duplicate of this issue. ***
Retargeting... Is this still reproducable?
The test program is attached, so you can verify it any time :)
Issue still exist on m175.
set target from 2.x to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
adding mci to CC...
cc ing tkr
@AS: you mentioned some tricks that framework uses for netbeans integration: JL needs to override some methods. Please explain in detail and reassign.
Has this been resolved? I am experiencing the same problem on Solaris 10 x86 OpenOffice 3.3.
(In reply to comment #14) > Has this been resolved? I am experiencing the same problem on Solaris 10 x86 > OpenOffice 3.3. No, the status is CONFIRMED, that is not FIXED.