Issue 91174 - UIConfigurationManager of statusbar/toolbar loses properties (e.g. HelpID) at the storing settings
Summary: UIConfigurationManager of statusbar/toolbar loses properties (e.g. HelpID) at...
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.4.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needmoreinfo
Depends on:
Reported: 2008-06-28 15:12 UTC by hanya
Modified: 2013-01-29 21:54 UTC (History)
2 users (show)

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

Proposed patch on OOO330m7 (2.42 KB, text/plain)
2010-10-18 16:25 UTC, hanya
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description hanya 2008-06-28 15:12:36 UTC
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
3. The status bar of the Basic IDE is flatten and alignment status is changed.

Sub BasicIDEStatusbar
  sStatusBarName = "private:resource/statusbar/statusbar"
  oMgrSup = CreateUnoService( _
    "" )
  oMgr = oMgrSup.getUIConfigurationManager( _
    "" )
  oSettings = oMgr.getSettings( sStatusBarName, True )
  oMgr.replaceSettings( sStatusBarName, oSettings )
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: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:statusbaritem xlink:href=".uno:ModifiedStatus"
statusbar:align="center" statusbar:width="14" statusbar:helpid="helpid:5584"/>
Comment 1 Olaf Felka 2009-08-06 07:04:45 UTC
@ hanya: is this issue still valid in OOo 3.1?
@ jsk: Please have a look.
Comment 2 hanya 2009-10-05 09:27:49 UTC
still there in OOo 3.1.1.
Comment 3 hanya 2010-10-18 16:25:14 UTC
The status bar of the office has been changed on OOo 3.2 but an item of the
status bar can be provided by extensions. And someone want to make it and would
to modify settings of the statusbar. This problem should be fixed, because of
the helpid is gone also.
Proposed patch.
Comment 4 hanya 2010-10-18 16:25:51 UTC
Created attachment 72094 [details]
Proposed patch on OOO330m7
Comment 5 cno 2010-10-19 12:59:45 UTC
I can confirm this, as far as concerns the lost of the HelpID with basic code as
shown in this thread
Comment 6 hans_werner67 2011-03-28 11:52:37 UTC
Assign to new default-assignee