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

Issue 726812 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

Make close button in notifications always visible

Project Member Reported by sky@chromium.org, May 26 2017

Issue description

The close button in notifications is only visible when you mouse over the notification. This makes it rather frustrating to close as you don't have a real target until you get over the notification. Additionally if you are using touch, you don't see the close button at all. We don't hide the close button for tabs or other UI, so why are hiding it here?
 
Cc: yoshiki@chromium.org edcourtney@chromium.org mitsuji@chromium.org yhanada@chromium.org
Components: UI>Shell>Notifications
Status: Assigned (was: Untriaged)
The intention of this change is to ensure the consistency between notifications from Android apps and Chrome notifications. Android app can use their own custom notification view for a notification, so there is a risk to hide notification content by the close button and the settings button (for example, the notification from Play Music app uses upper right corner to show a cover image). This change was made to avoid that situation.

Notifications can be removed by swiping when using touch.

Sebastien and Hiro, please correct me if I'm wrong.
Status: WontFix (was: Assigned)
#1 is correct. Close and settings buttons are there to enable mouse usage but shouldn't hinder usage or visuals for touch.

Comment 3 by sky@chromium.org, Jun 8 2017

Status: Assigned (was: WontFix)
> The intention of this change is to ensure the consistency between notifications from Android apps and Chrome notifications.

I'm running on a windows desktop! Why would consistency with a completely different platform matter?

How can you close the button with touch if you never see it (yes, you can use touch on windows desktop too).

I'm rather surprised we're going with hidden UI, isn't that typically a bad idea?

I'm reopening one more time. Feel free to close again if you still disagree.
Owner: sgabr...@chromium.org
Sebastien, what do you think about making the buttons always visible on non Chrome OS platforms?
I thought other platform would be moving to their respective system notification system  so I was only talking for ChromeOS. Feel free to make them always visible on Windows only, at this point this is more a browser team decision than a Cros team decision.
Owner: yhanada@chromium.org

Comment 8 by sky@chromium.org, Jun 9 2017

Labels: -OS-Chrome
I'm removing chromeos from the list of effected Os's then. yhanada, please reenable for non-chromeos platforms. Also, I don't think you always show the close button correctly on mouse movement. In particular if you move the mouse directly over the close button it's possible to get in a situation where the close button doesn't show.
Status: Started (was: Assigned)
I've sent the fix[1] to review. Thank you for your advice!

[1]: https://chromium-review.googlesource.com/c/530726/
Project Member

Comment 10 by bugdroid1@chromium.org, Jun 13 2017

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

commit 5af9b8213c9a95a05d452b56b39f96cf33ceca42
Author: yhanada <yhanada@chromium.org>
Date: Tue Jun 13 03:26:14 2017

Make the control buttons on a notification always show on non Chrome OS platform.

BUG= 726812 
TEST=Checks that the close button is always shown on Linux and
     it is shown only when the mouse hovers on Chrome OS.

Change-Id: I42aaefe989780f9740bd4a7061ddd41cb0b8f64c
Reviewed-on: https://chromium-review.googlesource.com/530726
Reviewed-by: Yoshiki Iguchi <yoshiki@chromium.org>
Commit-Queue: Yuichiro Hanada <yhanada@chromium.org>
Cr-Commit-Position: refs/heads/master@{#478886}
[modify] https://crrev.com/5af9b8213c9a95a05d452b56b39f96cf33ceca42/ui/arc/notification/arc_notification_content_view.cc
[modify] https://crrev.com/5af9b8213c9a95a05d452b56b39f96cf33ceca42/ui/message_center/views/notification_view.cc

Labels: M-60 Merge-Request-60
Project Member

Comment 12 by sheriffbot@chromium.org, Jun 14 2017

Labels: -Merge-Request-60 Hotlist-Merge-Review Merge-Review-60
This bug requires manual review: M60 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: amineer@(Android), cmasso@(iOS), josafat@(ChromeOS), bustamante@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Merge-Review-60 Merge-Rejected-60
We're pretty late into M60 and cracking down on merges for this milestone, I'd prefer to wait until M61.  If this is a critical bug that can't wait until M61, feel free to add back the Merge-Request-60 label and justification/reasoning why this should be considered for 60 and we'll re-review.
Status: Fixed (was: Started)
Thank you for reviewing.

Comment 15 by peter@chromium.org, Jun 21 2017

Cc: mgiuca@chromium.org ainslie@chromium.org
 Issue 709314  has been merged into this issue.

Comment 16 by peter@chromium.org, Jun 21 2017

Cc: picksi@chromium.org bustamante@chromium.org
Labels: -Merge-Rejected-60 Merge-Request-60
+bustamante@ explicitly

#c10 is a trivial CL that restores the intended UX for our non-Chrome OS desktop users. Given that we show billions of these a day and I've heard confusion from other sources too, I think that we should consider it despite being late in the release cycle. Re-adding the label -- what do you think?
Project Member

Comment 17 by sheriffbot@chromium.org, Jun 21 2017

Labels: -Merge-Request-60 Merge-Review-60
This bug requires manual review: M60 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: amineer@(Android), cmasso@(iOS), josafat@(ChromeOS), bustamante@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Started (was: Fixed)
bustamante@: ping?

Comment 19 by sky@chromium.org, Jun 22 2017

I'm curious, wouldn't the confusion also apply to ChromeOS?
Sorry for the late response, we're splitting merge reviews among multiple milestone owners as we're no longer auto-approving CL's.  Please follow up with Abdul on this (abdulsyed@) as he already started the review.
Labels: -Merge-Review-60 Merge-Approved-60
Approving merge to M60. Since this is an issue faced by users, safe merge, approving it for M60. 

Comment 22 by peter@chromium.org, Jun 26 2017

Thanks! I uploaded https://codereview.chromium.org/2954373002/ for the merge, but would like to ask the yhanada@ and/or yoshiki@ to verify (and submit if OK) since it's a manual merge.

Comment 23 by peter@chromium.org, Jun 26 2017

(To be clear, because a file got renamed, not due to other scary reasons.)
Project Member

Comment 24 by bugdroid1@chromium.org, Jun 27 2017

Labels: -merge-approved-60 merge-merged-3112
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/afbceb46878cee15b862ed364670c01336deb73a

commit afbceb46878cee15b862ed364670c01336deb73a
Author: peter <peter@chromium.org>
Date: Tue Jun 27 02:25:31 2017

Make the control buttons on a notification always show on non Chrome OS platform.

BUG= 726812 
TEST=Checks that the close button is always shown on Linux and
     it is shown only when the mouse hovers on Chrome OS.
NOTRY=true
NOPRESUBMIT=true

Change-Id: I42aaefe989780f9740bd4a7061ddd41cb0b8f64c
Reviewed-on: https://chromium-review.googlesource.com/530726
Reviewed-by: Yoshiki Iguchi <yoshiki@chromium.org>
Commit-Queue: Yuichiro Hanada <yhanada@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#478886}
Review-Url: https://codereview.chromium.org/2954373002
Cr-Commit-Position: refs/branch-heads/3112@{#475}
Cr-Branched-From: b6460e24cf59f429d69de255538d0fc7a425ccf9-refs/heads/master@{#474897}

[modify] https://crrev.com/afbceb46878cee15b862ed364670c01336deb73a/ui/arc/notification/arc_custom_notification_view.cc
[modify] https://crrev.com/afbceb46878cee15b862ed364670c01336deb73a/ui/message_center/views/notification_view.cc

Comment 25 by peter@chromium.org, Jun 27 2017

Status: Fixed (was: Started)
peter@: Thank you for merging this CL.

Re #19: Consistent UI is better than separated UI for two kinds on notifications even if one of the usual UIs is changed, I think.
Cc: rbasuvula@chromium.org
Labels: Needs-Feedback
Tested the issue on Windows-10 & 7 and Ubuntu 14.04 using chrome latest Beta M60-60.0.3112.50 by following below steps.

Steps Followed:
1.Install chrome and add " Notifications Galore" app from web store.
2.Checked notifications as per screen cast.Observed that close icon in notifications displaying as expected.

@yhanada: Could you please let me know if i have missed anything and if possible,Please provide the specific URl / steps  of the issue which would help us to verify the issue further.

Thanks in Advance!
726812.ogv
7.2 MB View Download
It looks working correctly. This CL make the close button visible without hovering on the notification.
Labels: TE-Verified-M60 TE-Verified-60.0.3112.50
@yhanada: Thanks for immediate feedback.As per comment #27 & 28. Observed that close icon in notifications displaying as expected. Hence adding TE-Verified label.

Thank You!

Sign in to add a comment