Apache OpenOffice (AOO) Bugzilla – Issue 49452
OOoBean:scrunched menu bar.
Last modified: 2013-02-24 21:06:29 UTC
When Running a test where the bean is repetedly added and removed to a Java frame, sometimes the menu bar is scrunched. It seemed that all menu names are written one above the other. However, the menus can be activated by the keyboard. final OOoBean bean = new OOoBean(); java.awt.Frame frame = new java.awt.Frame("OpenOffice.org Demo"); frame.add(bean, BorderLayout.CENTER); frame.pack(); frame.setSize(600,300); frame.show(); bean.loadFromURL("private:factory/swriter", null); for (int i = 0; i < 100; i++) { bean.releaseSystemWindow(); frame.remove(bean); frame.add(bean, BorderLayout.CENTER); bean.aquireSystemWindow(); } frame.addWindowListener( new WindowAdapter() { public void windowClosing( java.awt.event.WindowEvent e) { try { bean.stopOOoConnection(); } catch (Exception exc) { } ((java.awt.Window)e.getSource()).dispose(); } });
Created attachment 26274 [details] The Java window with the embedded OOoBean
.
Seems to be fixed as a side effect of the fixes i49709 , i49791 , i49899