Issue 49452 - OOoBean:scrunched menu bar.
Summary: OOoBean:scrunched menu bar.
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: joachim.lingner
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-18 13:11 UTC by joachim.lingner
Modified: 2013-02-24 21:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
The Java window with the embedded OOoBean (14.22 KB, image/png)
2005-05-18 13:18 UTC, joachim.lingner
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description joachim.lingner 2005-05-18 13:11:23 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();
   }
               
 });
Comment 1 joachim.lingner 2005-05-18 13:18:46 UTC
Created attachment 26274 [details]
The Java window with the embedded OOoBean
Comment 2 joachim.lingner 2005-05-20 12:41:47 UTC
.
Comment 3 joachim.lingner 2005-06-13 11:21:41 UTC
Seems to be fixed as a side effect of the fixes i49709 , i49791 , i49899 
Comment 4 joachim.lingner 2005-06-13 11:23:39 UTC
.