Apache OpenOffice (AOO) Bugzilla – Issue 116037
Don't toggle the calc formula bar when activating and deactivating a chart
Last modified: 2013-02-24 21:20:10 UTC
When activating a chart in a spreadsheet document, the Calc formula bar is hidden. When deactivating the chart, the formula bar is shown again. With the default toolbar configuration the activating and deactivating of a chart in a spreadsheet document changes the position of the chart. This behaviour is rather confusing. A better approach is to show the formula bar also for an activated chart, but in a disabled state.
accepted
fixed in CWS chart51
This issue was fixed together with cd@openoffice.org, who contributed the sfx2 part. The fix relies on the implementation detail, that chart is not a sfx based application and therefore the SfxWorkWindow is not exchanged and keeps all its child windows. The calc formula bar is one of those child windows and is kept visible by setting the SFX_CHILDWIN_NEVERHIDEACTIVEOLE flag. For sfx based applications, e.g. a writer, which was inserted as OLE object, this approach is not working. In this case the SfxWorkWindow is exchanged and the calc formula bar is not available as child window anymore. As a mid-term approach the idea is to implement the calc formula bar as a standard toolbar, so that the framework can keep control.
TBE->KLA: Please verify in CWS chart51.
Created attachment 75983 [details] first attempt with remaining problem This is a first attempt of fixing this issue. Unfortunately there remains the problem, that when activating the chart, a docked navigator doesn't toggle, but an empty sfx child window is still visible.