incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <arie...@apache.org>
Subject Re: [CODE][UX] Bugs 25945 Show/Hide Scroll Bar Tips on Writer
Date Tue, 24 Jul 2012 22:20:54 GMT
Hi Ricardo, *

On Thu, Jul 19, 2012 at 5:17 PM, RGB ES <rgb.mldc@gmail.com> wrote:
>>> The second problem is is part of a general problem with tool tips: for
>>> example, when you put the mouse pointer over a footnote anchor the
>>> footnote content also shows on only one line, which is sub optimal
>>> when you have long footnotes. If you activate extended tool tip the
>>> footnote content tip wraps and then if more useful, but extended tool
>>> tips seems to not affect the scroll tool tip.
>>
>> May be for kind of content, the help balloon should always wrap the text
>> in multiple lines, without the need to turn extended tips on.
>
> +1

This happens to be already implemented for Input Fields:

- Turn Extended tips off
- Insert an Input fields. In the "Reference" write a text long enough
to be be broken in more than one line.
- Put the mouse over the input field: you'll see a help balloon
instead of a quick help tip

The respective code is in
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/ui/docvw/edtwin2.cxx?revision=1363583&view=markup#l330

case RES_INPUTFLD: // BubbleHelp, da der Hinweis ggf ziemlich lang sein kann
 	bBalloon = sal_True;

When bBalloon is set to true, Help::ShowBalloon is invoked instead of
Help::ShowQuickHelp, despite of "Extended tips" being off.
This could be applied to foot notes:
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/ui/docvw/edtwin2.cxx?revision=1363583&view=markup#l251


Regards

Mime
View raw message