Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Don't toggle the calc formula bar when activating and deactivating a chart|
|Component:||chart||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Version:||3.3.0 or older (OOo)|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description thomas.benisch 2010-12-10 10:26:07 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.
Comment 1 thomas.benisch 2010-12-10 10:27:03 UTC
Comment 2 thomas.benisch 2010-12-10 11:05:36 UTC
fixed in CWS chart51
Comment 3 thomas.benisch 2010-12-10 11:20:33 UTC
This issue was fixed together with firstname.lastname@example.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.
Comment 4 thomas.benisch 2011-02-17 18:15:28 UTC
TBE->KLA: Please verify in CWS chart51.
Comment 5 thomas.benisch 2011-03-03 15:59:12 UTC
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.