Skip to content

Commit

Permalink
Ash Tray: Fix ARC pop-up notifications not being auto dismissed.
Browse files Browse the repository at this point in the history
Currently, ARC pop-ups stay around forever because the dismiss timer is paused
when hovering on the notification, but mouse exit events are not properly
dispatched to the widget, so the timer is never restarted.

TEST=manual
BUG=995567

Change-Id: Id2892fda60f2c170abddf5c812e23150c61c3d47
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1783701
Reviewed-by: Ahmed Mehfooz <amehfooz@chromium.org>
Commit-Queue: Tim Song <tengs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#693913}
  • Loading branch information
Tim Song authored and Commit Bot committed Sep 5, 2019
1 parent 1f7e7ee commit 8832bce
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -94,6 +94,7 @@ class ArcNotificationContentView::EventForwarder : public ui::EventHandler {
if (located_event->type() == ui::ET_MOUSE_ENTERED ||
located_event->type() == ui::ET_MOUSE_EXITED) {
owner_->UpdateControlButtonsVisibility();
widget->OnMouseEvent(located_event->AsMouseEvent());
return;
}

Expand Down

0 comments on commit 8832bce

Please sign in to comment.