dismissing tooltips

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

dismissing tooltips

FParsons
Hi! I have a trigger for which I do want to display a tooltip. However, I want that trigger to display a small dialog below it with a small menu of triggers (using the "neighbor" attribute on the "show dialog").  The problem is that when that dialog appears, the tooltip is still being displayed, which is annoying.

I thought about putting the text that would be in the tooltip in the dialog itself, but I wanted the trigger displaying the dialog to be consistent with the others next to it (the trigger has only an icon for a label, and the user wouldn't know what it is for until they clicked it).

Is there a way to:
  • "dismiss" a tooltip being displayed ?
  • change the z-order of the dialog so that the tooltip doesn't obscure it?
  • at the very least change the latency of the tooltip so it doesn't become annoying?

I did check the archives, and there were a couple posts about changing the latency, but wasn't clear if if the .js change mentioned really worked. I saw another about a trick of changing hints to display as inline text, but that's probably not something I want to use.

Any info at all on tooltips would be appreciated...it seems unlikely that there is a way to "dismiss" tooltips, but just wanted to check.

--- Francis
-- 
--- Francis


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
-- Francis
Reply | Threaded
Open this post in threaded view
|

Re: dismissing tooltips

Alessandro  Vernet
Administrator
Francis,

To change the latency, you would have to change the xforms.js. But
maybe a workaround would be just not to have any tooltip for that
button, or am I misunderstanding what you're describing?

Alex

On Tue, May 25, 2010 at 6:58 PM, Francis Parsons <[hidden email]> wrote:

> Hi! I have a trigger for which I do want to display a tooltip. However, I
> want that trigger to display a small dialog below it with a small menu of
> triggers (using the "neighbor" attribute on the "show dialog").  The problem
> is that when that dialog appears, the tooltip is still being displayed,
> which is annoying.
>
> I thought about putting the text that would be in the tooltip in the dialog
> itself, but I wanted the trigger displaying the dialog to be consistent with
> the others next to it (the trigger has only an icon for a label, and the
> user wouldn't know what it is for until they clicked it).
>
> Is there a way to:
>
> "dismiss" a tooltip being displayed ?
> change the z-order of the dialog so that the tooltip doesn't obscure it?
> at the very least change the latency of the tooltip so it doesn't become
> annoying?
>
> I did check the archives, and there were a couple posts about changing the
> latency, but wasn't clear if if the .js change mentioned really worked. I
> saw another about a trick of changing hints to display as inline text, but
> that's probably not something I want to use.
>
> Any info at all on tooltips would be appreciated...it seems unlikely that
> there is a way to "dismiss" tooltips, but just wanted to check.
>
> --- Francis
>
> --
> --- Francis
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: dismissing tooltips

FParsons
Thanks for the reply.  I tried finding information on changing xforms.js
but couldn't find it.

The reason I wanted the tooltip for that trigger is that I wanted to have
the labels as just icons, so I want the user to know what it does before
attempting to click it. However, this particular trigger uses this in the
action:
<xxforms:show ev:event="DOMActivate" dialog="insert-dialog"
neighbor="show-insert-dialog-trigger"/>

The dialog is of appearance "minimal". When the dialog appears, the tooltip
is still displayed *over* the dialog -presumably because the mouse pointer
is still positioned over the trigger. You have to either wait for it to go
away, or move the mouse pointer over the dialog - which I imagine would be
kind of annoying for the user. So, ideally, I'd like to either have:

* the dialog appear *over* the tooltip
* get rid of the tooltip *sooner* than the latency setting
* make the dialog appear a set distance below what "neighbor" property
gives
* make the or change the latency setting to something shorter (least
preferred).

I tried putting in a "<xforms:setfocus control="insert-dialog" />" after
the <show> but it made no difference.


On Wed, 26 May 2010 09:47:11 -0700, Alessandro Vernet <[hidden email]>
wrote:
> Francis,
>
> To change the latency, you would have to change the xforms.js. But
> maybe a workaround would be just not to have any tooltip for that
> button, or am I misunderstanding what you're describing?
>
> Alex
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
-- Francis
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: dismissing tooltips

Alessandro  Vernet
Administrator
Francis,

Sorry for the late response on this one, but now I understand what the
situation is with the trigger, the tooltip, and the minimal dialog.
You suggest a few good options, and I like the one using an
<xforms:setfocus>. You can't set the focus to the dialog itself, but
you could set the focus to a control inside the dialog, and when that
happens the JavaScript code could hide the tooltip. Something to keep
in mind (or even better: to implement!).

Alex

On Wed, May 26, 2010 at 11:25 AM, Francis Parsons <[hidden email]> wrote:

> Thanks for the reply.  I tried finding information on changing xforms.js
> but couldn't find it.
>
> The reason I wanted the tooltip for that trigger is that I wanted to have
> the labels as just icons, so I want the user to know what it does before
> attempting to click it. However, this particular trigger uses this in the
> action:
> <xxforms:show ev:event="DOMActivate" dialog="insert-dialog"
> neighbor="show-insert-dialog-trigger"/>
>
> The dialog is of appearance "minimal". When the dialog appears, the tooltip
> is still displayed *over* the dialog -presumably because the mouse pointer
> is still positioned over the trigger. You have to either wait for it to go
> away, or move the mouse pointer over the dialog - which I imagine would be
> kind of annoying for the user. So, ideally, I'd like to either have:
>
> * the dialog appear *over* the tooltip
> * get rid of the tooltip *sooner* than the latency setting
> * make the dialog appear a set distance below what "neighbor" property
> gives
> * make the or change the latency setting to something shorter (least
> preferred).
>
> I tried putting in a "<xforms:setfocus control="insert-dialog" />" after
> the <show> but it made no difference.
>
>
> On Wed, 26 May 2010 09:47:11 -0700, Alessandro Vernet <[hidden email]>
> wrote:
>> Francis,
>>
>> To change the latency, you would have to change the xforms.js. But
>> maybe a workaround would be just not to have any tooltip for that
>> button, or am I misunderstanding what you're describing?
>>
>> Alex
>>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet