New issue
Advanced search Search tips

Issue 24495 link

Starred by 1 user

Issue metadata

Status: Verified
Closed: Oct 2009
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

  • Only users with Commit permission may comment.

Sign in to add a comment

Status bubble needs delays and fades

Project Member Reported by, Oct 10 2009

Issue description

The Mac status bubble shows up instantaneously on mouseover, and 
disappears instantaneously on mouseout.  This is wrong.

Steps to reproduce: mouse over anything.
Expect: delays and fades.
Observe: the status bubble shows up and disappears immediately, without 
delay or fade.

The status bubble should fade in and fade out.  There should also be a 
delay before fading a bubble in and before fading a bubble out.  This is 
supposed to reduce flicker.  It's also probably supposed to reduce jank, but 
I don't really know what jank means.

See  bug 17491  for GTK (fades).

The timings used on Windows 
(chrome/browser/views/ are:

kShowDelay = 80 (ms to wait before showing a bubble when hidden)
kHideDelay = 250 (ms to wait before hiding a bubble when shown)
kShowFadeDurationMS = 120 (ms to play the fade-in transition)
kHideFadeDurationMS = 200 (ms to play the fade-out transition)

In chrome/browser/cocoa/, I see 
kShowFadeDuration (0.12) and kHideFadeDuration (0.2) and both seem to 
be used, so I'm not sure what's missing here, but I'm certainly not seeing 
any fading.

In that file, I also see:

// TODO(avi):
// - do display delay

so Avi gets a Cc here.

Comment 2 by, Oct 11 2009

Status: Started
I have a fix for the delay stuff too.

Comment 3 by, Oct 13 2009

Status: Fixed

Comment 4 by, Oct 14 2009

The following revision refers to this bug: 

r28749 | | 2009-10-12 15:27:56 -0700 (Mon, 12 Oct 2009) | 19 lines
Changed paths:

Status bubbles should wait before showing and hiding, and should fade in and
out on the Mac.

This fixes the fades, which were actually written but unfortunately not
working due to a silly bug.  It also adds the delays, cleaning up a TODO.
It fixes some questionable logic ("hide by calling Hide() and then FadeIn()").
Finally, it allows better reuse of the status bubble NSWindow, and fixes a bug
that prevented the status bubble window from properly attaching to its parent
window if the parent was offscreen at attachment time.  Unit tests for the new
behavior are included, and as a bonus, I've added better testing for some
existing behavior.

See for the design of
the status bubble.  Also, consult chrome/browser/views/
for the implementation used on Windows.

BUG= 24495 
TEST=Mouse over some links
Review URL:

Status: Verified
Project Member

Comment 6 by, Oct 12 2012

Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.

Sign in to add a comment