Apache OpenOffice

Tuesday June 04, 2013

The Sidebar: New And Improved

Usually the phrase "new and improved" does not make much sense because something either is new or did already exist and was improved upon.  For the sidebar the situation is a little different.  The core implementation is new but the content, the panels, did already exist.  The concept, but not the name, of a sidebar has existed for many years both in Apache OpenOffice (and OpenOffice.org before that) and in IBM Lotus Symphony.  In OpenOffice.org it was named "task pane" and was used primarily in Impress to give access to backgrounds, layouts, and shape and slide animations.  Symphony renamed this to "property panel", extended it to all applications and covered even more frequently used tasks.

Screenshot of Impress with sidebar.

So, what did you improve?

The sidebar panels come from three different sources and have been improved in the migration process:

  • The property panels that let you for example change the size of text or the color of shapes have all been migrated from Symphony.  In the process we have cleaned up the code, made some improvements and fixed many bugs.  While the property panels work really well, their implementation could profit from more cleanup.  Removing duplicated code could reduce their code size and their complexity considerably.  The one new property panel for inserting shapes into draw documents has roughly one tenth the number of code lines of the text property panel and still has about the same number of controls.
  • The Impress panels come from OpenOffice.  They allow you for example to control animations of slides and shapes.  The new framework of the sidebar made big cleanups of their implementations possible.  They are not view shells anymore; they are now regular controls.  If you don't know what a view shell is, good for you.
  • The third group consists of non-modal dialogs like the Navigator, the Gallery, or the Styles and Formatting dialog.  Only small changes were necessary to plug them into the sidebar.

And what is new?

The core implementation of the sidebar and the framework provided for panel developers is completely new.  The sidebar looks similar to the Symphony property panel but shares no code with it.  One important new feature is that the sidebar is easily configurable via the, well, configuration.  Another one is that extensions can now add new decks and panels that can freely mix with existing decks and panels.  More on that later.

What exactly is "the sidebar"?

The sidebar is a window at the right side of the edit view of Writer, Calc, Impress and Draw.  It provides access to frequently used tasks when editing documents. The content in the sidebar is organized into decks and panels.  Decks are containers of panels, one or more of them.  In very few cases there may not yet be a panel available for the current task. You can switch between decks by clicking on buttons in the tab bar at the right side of the sidebar. A menu allows you to hide decks that you don't need.

The deck that is open by default is the "Properties" deck.  Its set of panels is context sensitive and varies depending on what you are currently doing.  For example, if you are editing text in Writer then the "Text" panel allows you to change the font, text attributes, text and background color.  The "Paragraph" panel has controls for changing bullet style, text alignment and various indents.  The "Page" panel lets you change page size and orientation.  It is collapsed by default.  That means that you can only see its title bar.  One click on it and you can see the panel.  This avoids cluttering the user interface with panels that are only used occasionally while at the same time making them easily accessible for when they are used.

The different parts of the sidebar

Why do you call it sidebar and not...?

The Symphony name "property panel" did not work for us because the sidebar contains more than just information about document properties.

The OpenOffice.org name "task pane" came from the never realized idea of making OpenOffice.org more task oriented.  For example for the creation of form letters this could have been an adapted version of the mail merge wizard that would have displayed the general workflow and given access to templates, address books and so on.  This idea proved to be too difficult to realize.

The name "sidebar" is generic enough to host very different content such as document properties, clip art, navigator or third party extensions.  At the same time it is descriptive enough to be remembered easily.  Should you ever turn off the sidebar by accident then you will have no problem finding the menu entry for the "bar" at the "side" of the edit view and turn it back on.

Why add the sidebar now, why at all?

Up to now, we, the OpenOffice community (developers, UXers, testers), were busy getting the project going at our new home in the Apache community.  After that came two releases and then graduation.

Only after that did we finally have the time to tackle the major task of combining the sidebars of OpenOffice and Symphony.

Many users have asked us in the past to add a Symphony-like sidebar to OpenOffice.  The feedback in the Apache community regarding the sidebar in the coming release is very positive.  Even downstream has started to integrate our implementation.  Some of the benefits of the sidebar are:

  • As in toolbars you have the most important functions for the current task available on a single click.  Unlike the toolbars it does that in a single place while some toolbars are docked above the edit view, some are docked below, and still others are displayed floating in front of it.
  • The position on the right side takes advantage of the form factor of most modern screens that have much more space in the horizontal direction than in the vertical.
  • The sidebar provides more space to its panels than the tool bar areas provide to tool bars.  Therefore panels can display more information better.
  • The sidebar has a constant size (unless you decide to change that size).  Context changes lead to different panels being displayed but do not change the size of the sidebar or the edit view.  Dock a context sensitive tool bar and you will know how annoying such size changes can be.

What about extensions?

A little known feature of OpenOffice is that extensions can provide panels for the task panel (now called sidebar).  These extensions are still supported.  But now there is a better way to do this.

You can add a panel that is implemented in any language supported by the UNO API and display this panel in a deck of your choice or even in the properties panel.  The panel can react to context changes such as different selections.  But it does not have to.  You want a panel that is only displayed when editing tables in Writer documents? No problem.  You want to analyze a Calc document and display the result in real-time and always visible?  That is possible. Or you can display the current time or weather.

Here is an example:  an extension adds a deck (see the clock icon in the tab bar) and a panel that shows the current time.

Clock added to sidebar by extension.

We need your input

The toolbars and dialogs such as gallery and navigator are not yet scheduled to be disabled by default or even to be removed.  Not because we don't think that the sidebar works.  It does.

The reason for keeping these established user interface elements is to let you become familiar with the sidebar in your own time.  We hope that you will use the toolbars and dialogs less and less.

Apache OpenOffice is an open source project.  You can help by telling us what you don't like and what you miss. Share your ideas about how to make the sidebar better. Write a comment in the comment section below or subscribe to our development mailing list if you are willing to invest a little more time.  And Apache also accepts donations (not project specific).


Two golden rules in good GUI design: 1. Every pixel is precious (especially in laptops) 2. Duplication (i.e. many ways to perfom a task) should be avoided. Sidebar obeys neither of the above. Writing a letter, calculating numbers in a spreadsheet, creating a presentation are very different tasks. A GUI for one application is not necessarily good for the other. Sidebar however is common to all.

Posted by Don on June 04, 2013 at 06:36 PM UTC #

This is great news! I really hope that sidebars will help to clean up the GUI overall. I mean, when you look at the first screenshot in your post, then you have: Menu bar; two rows of Toolbars; the sidebar; bottom Toolbar for shapes etc. This is so much overload and for the normal user quite confusing I guess. Will most of those then be hidden when 4.0 arrives (hopefully)? Anyways, I am really looking forward to 4.0! PS: Just for curiosity: I read somewhere in the wiki a proposition to adopt Qt as a toolkit. Any news on this front? Best wishes!

Posted by P.Jay on June 04, 2013 at 06:42 PM UTC #

@Don and @Jim, The screenshot above is showing all the UI elements expanded. This is like showing a Swiss Army knife with all of the tools extended, showing the capabilities, but not necessarily how you would use it. The UI is configurable and with a click the sidebar can be collapsed. User can also remove toolbars, etc.

Posted by Rob Weir on June 04, 2013 at 11:07 PM UTC #

@Don: many office users are conservative to such UI changes and look critical on it. It's not easy to find the right balance. But we know for sure that we will improve it and that we will find the best solution together with and based on feedback from our users. We appreciate any kind of feedback and ideally people with good background knowledge of UI design join our efforts and help us to improve it. And as Rob pointed out the user can easy disable the sidebar or can close the toolbars. In 4.0 the user can decide which concept is preferred. And in the future we will probably switch to a default, enabled and improved sidebar (maybe configurable) and the toolbars as optional alternative.

Posted by jsc on June 05, 2013 at 07:43 AM UTC #

This is great. I wonder if sidebar could manage Find and Replace? Thank you for your work.

Posted by Johnas on June 05, 2013 at 09:44 PM UTC #

Good work! A little bit disappointed, why table toolbar is not included in this sidebar? Maybe a RFE for a next release?

Posted by Valioud on June 07, 2013 at 01:24 PM UTC #

I think that monitors are wider so there is more space on the horizontal side then in the vertical side...and this is the main reason I don't like MS Ribbon. We also use paper in landscape and portrait orientaion so shouldn't be a bad idea to have the possibility to quicly switch between the sidebar and the old menu. I would appreciate a single button to switch on/off the sidebar but I really think that it also should switch off/on the menu substituted by the sidebar.

Posted by Massimo Manca on June 09, 2013 at 04:44 PM UTC #

I'd like to try it. I am usually the guy who cries when the user interface is changed but this time I'd like to use it at work while I am writing project documentation... and we document a lot! As Massimo Manca wrote, I see that desktop monitors (and even laptops) are larger, they grow day by day and sometimes I feel the need to put something more useful than a background around a version description document.

Posted by Gabriele Gobbin on June 10, 2013 at 07:02 PM UTC #

Hello OpenOffice developers, I am truly happy about this upgrade!!! As soon as it is released i'm so uninstalling Microsoft Word!!! :) Keep up the good work!

Posted by jessica on June 12, 2013 at 02:48 AM UTC #

hallo, seit OOo 1.1.5 bin ich mit dieser Software verbun- den. Die Seitenleiste ist eine sehr gute neue Idee. Doch so neu ist sie garnicht. Lotus Smartsuite hatte eine "Info Box". Diese Box ist m.E. wesentlich effektiver gewesen. Doch sei`s drum - ich freue mich auf die neue Version 4.0. Letzter Satz: Wann wird AOO das für mich lästige java entfernen? herzliche Grüße H.P.

Posted by Helmuth Paschen on June 18, 2013 at 11:15 AM UTC #

I am thinking of adopting OpenOffice. I already use LibreOffice but I have problems of legibility using track changes if I proofread documents written using other software. What kind of experience are people having with track changes on OpenOffice?

Posted by Dr Richard Armstrong on June 25, 2013 at 04:59 PM UTC #

IMHO the best approach is to have OOo *ask* the first time it's started up, with neither as default. I use OOo to write fiction and tried Symphony, but most of my writing involves simple styling via a simple keyboard shortcut or clicking one of a few icons, which is perfect for a toolbar UI -- a panel UI version takes up far more room, either in unnecessary text label use, rarely-used dialogs, or simply vertical whitespace below buttons.

Posted by D.D. on June 27, 2013 at 12:40 PM UTC #

Word Count! Everyone, myself and everyone wants a word count in the toolbar, out in the open. Visible. Not under a drop down menu of any sort. Help!

Posted by Adam Madigan on June 28, 2013 at 04:40 AM UTC #

The sidebar in Symphony was great - the single reason I used the program. The icon design was dreadful and the toolbars replicated functions in the sidebar, making the whole experience incoherent - I hope you can sort out the things that didn't work and then you might have a winner ... particularly as LibreOffice seems to have decided to duck these hard questions about creating a better UI (and Microsoft has gone down the wrong route with the ribbon) ...

Posted by Paul Brasington on July 01, 2013 at 12:42 AM UTC #

Post a Comment:
Comments are closed for this entry.



Hot Blogs (today's hits)

Tag Cloud