[Patternfly] tooltip delay

Greg Sheremeta gshereme at redhat.com
Mon Jun 2 12:58:14 UTC 2014



----- Original Message -----
> From: "Petr Vobornik" <pvoborni at redhat.com>
> To: "Greg Sheremeta" <gshereme at redhat.com>, "Matt Carrano" <mcarrano at redhat.com>
> Cc: patternfly at redhat.com, "Einav Cohen" <ecohen at redhat.com>
> Sent: Monday, June 2, 2014 8:40:46 AM
> Subject: Re: [Patternfly] tooltip delay
> 
> Hello,
> 
> has anybody tried to use the proper intent solution with PF/bootstrap
> tooltips?

I have not.

> 
> IMHO it looks like a much better approach than a simple delay because
> one setting might fit almost all use cases.

You have a good point. I'll look into it.

> 
> Petr
> 
> On 31.5.2014 00:47, Greg Sheremeta wrote:
> > For oVirt, we have tooltips all over the place. One of the places is a
> > question mark icon that we use to indicate context-sensitive help is
> > available. Here, I think it's ok to pop the tooltip immediately on hover.
> > The user expects that. However, for our application menu items, they are
> > very central on the screen and having instant popup makes it very
> > distracting when you're simply doing regular mouse actions. You don't
> > intent to hover over them to see a tooltip -- you just can't help but pass
> > over them as you move the mouse around the screen.
> >
> > Perhaps a pattern that makes sense is:
> > - if a tooptip is being used in an obvious 'help me' context, instant is
> > ok.
> > - else, if the trigger element is somewhere off in the corner of the
> > screen, instant is ok (depends on context, perhaps)
> > - else -- especially anything in the middle of the application screen -- 2
> > second delay.
> >
> > Greg
> >
> >
> > ----- Original Message -----
> >> From: "Matt Carrano" <mcarrano at redhat.com>
> >> To: "Robb Hamilton" <rhamilto at redhat.com>
> >> Cc: "Greg Sheremeta" <gshereme at redhat.com>, patternfly at redhat.com, "Einav
> >> Cohen" <ecohen at redhat.com>
> >> Sent: Friday, May 30, 2014 3:58:02 PM
> >> Subject: Re: [Patternfly] tooltip delay
> >>
> >> See below...
> >>
> >> ----- Original Message -----
> >> From: "Robb Hamilton" <rhamilto at redhat.com>
> >> To: "Matt Carrano" <mcarrano at redhat.com>
> >> Cc: "Greg Sheremeta" <gshereme at redhat.com>, patternfly at redhat.com, "Einav
> >> Cohen" <ecohen at redhat.com>
> >> Sent: Friday, May 30, 2014 3:18:32 PM
> >> Subject: Re: [Patternfly] tooltip delay
> >>
> >>
> >> On May 30, 2014, at 9:35 AM, Matt Carrano <mcarrano at redhat.com> wrote:
> >>
> >>> We can definitely consider a "tooltip" pattern.  But in the mean time it
> >>> seems like this is easily customizable.  Robb, do you think it makes
> >>> sense
> >>> to add a second set of tooltip examples with the delay set to 2 seconds?
> >>> People might want the immediate pop-up or delayed tip depending on
> >>> context.
> >>
> >> sure, we can definitely do that.  but i think we should be supplying the
> >> context, too (e.g., when would i use a delay and how long should the delay
> >> be?).  do we have a vetted answer?
> >>
> >> Agree.  I can definitely do that.  Do you think we should just put this
> >> info
> >> into the widget page, or does this start to become more like a pattern?
> >> As
> >> for vetting the answer, I can write it up and submit for review like
> >> anything else we do.  I'm also happy to have input on this.  Does anyone
> >> feel like 2 seconds is too long or too short?  Robb, what would probably
> >> help is to create a quick prototype example and float it out to the list
> >> for
> >> people to try.  It's the type of thing that you need to interact with to
> >> get
> >> a feel for.
> >>
> >> Thoughts?
> >>
> >>>
> >>> Matt
> >>>
> >>> ----- Original Message -----
> >>> From: "Greg Sheremeta" <gshereme at redhat.com>
> >>> To: "Matt Carrano" <mcarrano at redhat.com>
> >>> Cc: patternfly at redhat.com, "Einav Cohen" <ecohen at redhat.com>
> >>> Sent: Thursday, May 29, 2014 2:03:20 PM
> >>> Subject: Re: [Patternfly] tooltip delay
> >>>
> >>> I just pulled it from SO :) Can you put a hard time 'pattern' on the
> >>> patternfly site?
> >>>
> >>> Greg
> >>>
> >>> ----- Original Message -----
> >>>> From: "Matt Carrano" <mcarrano at redhat.com>
> >>>> To: "Greg Sheremeta" <gshereme at redhat.com>
> >>>> Cc: patternfly at redhat.com, "Einav Cohen" <ecohen at redhat.com>
> >>>> Sent: Thursday, May 29, 2014 2:02:17 PM
> >>>> Subject: Re: [Patternfly] tooltip delay
> >>>>
> >>>> Hi Greg,
> >>>>
> >>>> These timings feel a bit long.  In my past experience, I've found that a
> >>>> dwell time of 2-3 seconds works pretty well.
> >>>>
> >>>> Matt
> >>>>
> >>>> ----- Original Message -----
> >>>> From: "Greg Sheremeta" <gshereme at redhat.com>
> >>>> To: patternfly at redhat.com
> >>>> Cc: "Einav Cohen" <ecohen at redhat.com>
> >>>> Sent: Thursday, May 29, 2014 1:56:00 PM
> >>>> Subject: Re: [Patternfly] tooltip delay
> >>>>
> >>>> data-delay='{"show":"5000", "hide":"3000"}'
> >>>>
> >>>> Cool.
> >>>>
> >>>> Greg
> >>>>
> >>>>
> >>>> ----- Original Message -----
> >>>>> From: "Greg Sheremeta" <gshereme at redhat.com>
> >>>>> To: patternfly at redhat.com
> >>>>> Sent: Thursday, May 29, 2014 11:55:12 AM
> >>>>> Subject: [Patternfly] tooltip delay
> >>>>>
> >>>>> Are there plans to implement a hover-intent-like delay to tooltips?
> >>>>> As-is,
> >>>>> they can be distracting.
> >>>>> https://www.patternfly.org/widgets/#tooltip
> >>>>>
> >>>>> Examples of a delay:
> >>>>> http://cherne.net/brian/resources/jquery.hoverIntent.html
> >>>>>
> >>>>> Thanks,
> >>>>> Greg
> >>>>>
> >>>>> Greg Sheremeta
> >>>>> Red Hat, Inc.
> >>>>> Sr. Software Engineer, RHEV
> >>>>> Cell: 919-807-1086
> >>>>> gshereme at redhat.com
> --
> Petr Vobornik
> 




More information about the PatternFly mailing list