New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 662198 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Sometimes notification doesn't popup on non-primary display

Project Member Reported by yoshiki@chromium.org, Nov 3 2016

Issue description

On multi-display environment, sometimes notification doesn't popup in non-primary display. This is due to the bug of this code:
https://cs.chromium.org/chromium/src/ui/message_center/views/message_popup_collection.cc?rcl=0&l=179

Even on non-primary display, the vertical geometry is calculated based on the primary display. And it sometimes prevents notification from popping up.


Context:
https://bugs.chromium.org/p/chromium/issues/detail?id=661723#c9
 
Project Member

Comment 2 by bugdroid1@chromium.org, Nov 5 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6171d1a24ab95e88598cbd499cfd908b8819ecba

commit 6171d1a24ab95e88598cbd499cfd908b8819ecba
Author: yoshiki <yoshiki@chromium.org>
Date: Sat Nov 05 02:03:13 2016

Fix a bug of PopupAlignmentDelegate on non-primary display

Previously, PopupAlignmentDelegate assumed the display's y-axis origin is 0. But it is not true in case of non-primary display which is not vertically aligned with the primary display. This patch makes PopupAlignmentDelegate consider such a non-primary display and fixes the issue.

BUG= 662198 
TEST=none

Review-Url: https://codereview.chromium.org/2472233002
Cr-Commit-Position: refs/heads/master@{#430126}

[modify] https://crrev.com/6171d1a24ab95e88598cbd499cfd908b8819ecba/ash/common/system/web_notification/ash_popup_alignment_delegate.cc
[modify] https://crrev.com/6171d1a24ab95e88598cbd499cfd908b8819ecba/ash/common/system/web_notification/ash_popup_alignment_delegate.h
[modify] https://crrev.com/6171d1a24ab95e88598cbd499cfd908b8819ecba/ash/system/web_notification/web_notification_tray_unittest.cc
[modify] https://crrev.com/6171d1a24ab95e88598cbd499cfd908b8819ecba/ui/message_center/views/desktop_popup_alignment_delegate.cc
[modify] https://crrev.com/6171d1a24ab95e88598cbd499cfd908b8819ecba/ui/message_center/views/desktop_popup_alignment_delegate.h
[modify] https://crrev.com/6171d1a24ab95e88598cbd499cfd908b8819ecba/ui/message_center/views/message_popup_collection.cc
[modify] https://crrev.com/6171d1a24ab95e88598cbd499cfd908b8819ecba/ui/message_center/views/popup_alignment_delegate.h

Status: Fixed (was: Started)

Sign in to add a comment