Issue 121442 - Impossible to extend the status bar with extensions
Summary: Impossible to extend the status bar with extensions
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 3.4.1
Hardware: All All
: P3 Normal (vote)
Target Milestone: 4.0.0
Assignee: Ariel Constenla-Haile
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-06 02:18 UTC by Ariel Constenla-Haile
Modified: 2022-10-28 12:54 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ariel Constenla-Haile 2012-12-06 02:18:16 UTC
It is impossible to extend the status bar with extensions, other UI elements like toolbars and menus can be extended in different ways.

There is no way to add a new control to the status bar. For menus and toolbar it is possible to extend them using the Addons.xcu configuration file.

There is an API to implement a component that controls a status bar item, a com.sun.star.frame.StatusbarController, but it is impossible to implement in UNO: a StatusbarController needs to access the status bar item it controls, in order to reflect the state of the feature it represents, but there is no way to access the status bar with the current API. The internal StatusbarControllers access directly the underlying VCL StatusBar to reflect status updates, this shows a gap in the API design.
Comment 1 SVN Robot 2012-12-06 13:27:33 UTC
"arielch" committed SVN revision 1417845 into trunk:
#i121442# - Add support for StatusBar merging via configuration
Comment 2 SVN Robot 2012-12-06 13:27:44 UTC
"arielch" committed SVN revision 1417846 into trunk:
#i121442# - Allow redrawing a single status bar item
Comment 3 SVN Robot 2012-12-06 13:28:13 UTC
"arielch" committed SVN revision 1417847 into trunk:
#i121442# - Extend css::awt::XGraphic to draw images
Comment 4 SVN Robot 2012-12-06 13:28:32 UTC
"arielch" committed SVN revision 1417849 into trunk:
#i121442# - API wrapping StatusBar functionality
Comment 5 SVN Robot 2012-12-06 13:28:50 UTC
"arielch" committed SVN revision 1417850 into trunk:
#i121442# - StatusbarController API Modifications
Comment 6 SVN Robot 2012-12-06 13:29:05 UTC
"arielch" committed SVN revision 1417851 into trunk:
#i121442# - Read Statusbar merging configuration
Comment 7 SVN Robot 2012-12-06 13:29:26 UTC
"arielch" committed SVN revision 1417852 into trunk:
#i121442# - framework refactoring and new code to support status bar merging ...
Comment 8 SVN Robot 2012-12-06 13:29:43 UTC
"arielch" committed SVN revision 1417853 into trunk:
#i121442# - Adapt existing code in other modules
Comment 9 SVN Robot 2012-12-06 13:29:56 UTC
"arielch" committed SVN revision 1417856 into trunk:
#i121442# - Refactor UNO StatusbarControllers
Comment 10 SVN Robot 2012-12-06 13:30:15 UTC
"arielch" committed SVN revision 1417857 into trunk:
#i121442# - Remove unused UNO StatusbarControllers
Comment 11 SVN Robot 2012-12-06 13:31:46 UTC
"arielch" committed SVN revision 1417866 into trunk:
#i121442# - Add sed and cat as dependencies
Comment 12 SVN Robot 2012-12-06 13:32:19 UTC
"arielch" committed SVN revision 1417867 into trunk:
#i121442# - Add a StatusbarController example replacing the existing ".uno:Mo...
Comment 13 SVN Robot 2012-12-06 13:32:53 UTC
"arielch" committed SVN revision 1417869 into trunk:
#i121442# - Add a StatusbarController example replacing the existing ".uno:Se...
Comment 14 SVN Robot 2012-12-06 13:33:47 UTC
"arielch" committed SVN revision 1417873 into trunk:
#i121442# - Add a StatusbarController example displaying the Word Count in Wr...
Comment 15 SVN Robot 2012-12-06 13:34:06 UTC
"arielch" committed SVN revision 1417874 into trunk:
#i121442# - Add StatusbarController examples
Comment 16 Ariel Constenla-Haile 2013-07-21 10:51:12 UTC
Fixed for 4.0.0