https://issues.apache.org/ooo/show_bug.cgi?id=122433

Andre <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Andre <[email protected]> ---
The reasons for this behavior all come from the fact that the Symphony property
panels do not use the toolbar controllers that the AOO toolbars use.  Instead
the panels implement the functionality of every toolbar button themselves. 
They bring their own help text and do not reuse the existing help text that is
bound to slots/commands.

In some cases that is a positive thing.  The extended tooltips make sense
because panels show more contextual information than toolbars.  Take for
example the control for modifying the line width in the "Line" property panel. 
The panel is called "Line", the control is labeled "Width".  The default
tooltip text "Line Width" would not add any new information.  "Select the width
of the line" is not much better but at least does not simply repeat title and
label.

For the extended tooltips the situation is different.  The panels don't bring
their own help text.  Like for the normal tooltip, there is no reuse of
existing extended help text from slots/commands.  The fallback is the general
help text for sidebar panels.

There are several ways to improve this:

1. The best solution but also the most time consuming would be to drop the
duplicated code and use the AOO toolbar controllers.  That would solve not only
the tooltips but other problems with handling UNO commands as well.  The only
downside of this approach would be that the standard tooltips would be too
short.  In our example above it would be "Line Width" and not be very helpful.

2. Add UNO command URLs to the toolbar button descriptions in the resource
files.  I think this is basically what Regina has proposed above.  This is a
requisite for 1.

3. Add the UNO command URLs to the button controllers in the panel
implementation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to