Issue 93080 - setVisible does not show again the main toolbars
Summary: setVisible does not show again the main toolbars
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.4.1
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-24 20:08 UTC by bmarcelly
Modified: 2013-01-29 21:50 UTC (History)
1 user (show)

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


Attachments
Document with macro to hide then show the window (10.70 KB, text/plain)
2008-08-24 20:09 UTC, bmarcelly
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bmarcelly 2008-08-24 20:08:05 UTC
Next attachment is a document containing this Basic macro:

currWin = StarDesktop.CurrentFrame.ContainerWindow
currWin.Visible = False
Wait 2*1000 ' 2 seconds
currWin.Visible= True

Open another OpenOffice document or another window of this document.
From the document window, run the macro. It will hide the current window during 2 
seconds, then show it again.
When the document window reappears, it has lost its Standard toolbar and Formatting 
toolbar. Minimize the window, restore the window, the toolbars reappear.

Close all other OpenOffice windows. Run again the macro, the window reappears with 
its toolbars.

Problem is specific to the Standard and the Formatting toolbars.
It is also present in Calc.
It also appears on OOo version 2.3.1.
Problem does not occur with OpenOffice.org version 1.1.5.
Comment 1 bmarcelly 2008-08-24 20:09:15 UTC
Created attachment 55976 [details]
Document with macro to hide then show the window
Comment 2 mci 2008-08-25 10:11:34 UTC
just for the records: i can't see this problem using SO8PU9 on Solaris,
but I can see this on WindowsXP using OOo2.4.1