To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=91174 Issue #|91174 Summary|UIConfigurationManager of the statusbar loses properti |es at the storing settings Component|framework Version|OOo 2.4.1 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|tm Reported by|hanya
------- Additional comments from [EMAIL PROTECTED] Sat Jun 28 14:12:36 +0000 2008 ------- I tried to modify statusbar items of the Basic IDE, but the UIConfigurationManager of the statusbar lost some properties at the storing time. How to reproduce: 1. Run the following code. 2. Restarting OpenOffice.org. 3. The status bar of the Basic IDE is flatten and alignment status is changed. Sub BasicIDEStatusbar sStatusBarName = "private:resource/statusbar/statusbar" oMgrSup = CreateUnoService( _ "com.sun.star.ui.ModuleUIConfigurationManagerSupplier" ) oMgr = oMgrSup.getUIConfigurationManager( _ "com.sun.star.script.BasicIDE" ) oSettings = oMgr.getSettings( sStatusBarName, True ) oMgr.replaceSettings( sStatusBarName, oSettings ) oMgr.store() End Sub This is a part of the setting taken from shared setting. <statusbar:statusbaritem xlink:href=".uno:StatusGetTitle" statusbar:align="right" statusbar:style="flat" statusbar:autosize="true" statusbar:width="240"/> <statusbar:statusbaritem xlink:href=".uno:ModifiedStatus" statusbar:align="right" statusbar:style="flat" statusbar:width="14"/> And here is the resulting setting stored by the code written above: <statusbar:statusbaritem xlink:href=".uno:StatusGetTitle" statusbar:align="left" statusbar:autosize="true" statusbar:width="240" statusbar:helpid="helpid:30808"/> <statusbar:statusbaritem xlink:href=".uno:ModifiedStatus" statusbar:align="center" statusbar:width="14" statusbar:helpid="helpid:5584"/> --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]