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

Issue 694154 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug-Regression



Sign in to add a comment

GTK+ theme should never be enabled for supervised users

Project Member Reported by sc00335...@techmahindra.com, Feb 20 2017

Issue description

Chrome Version: 58.0.3018.0 dev
OS: Ubuntu 14.04

What steps will reproduce the problem?
(1)Launch chrome,Sign in and be in GTK+ theme >> Add/Create Supervised user and be in GTK+ theme
(2)Now in main user click on profile icon on top and hover on profile names and observe orange highlight
(3)Now switch to supervised user and observe same.

Expected: Default orange highlight should be seen in supervised user when in GTK+ theme
Actual: Instead Grey focus is only seen even when in GTK+ theme.

Manual Bisect Info:
====================
Good Build: 58.0.3005.2 dev
Bad Build: 58.0.3006.0 dev

NOTE: This issue is not applicable to Windows.
 
Actual_gtk .ogv
989 KB View Download
Expected_gtk .ogv
707 KB View Download
Labels: ReleaseBlock-Stable
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Ubuntu 14.04 using chrome version 58.0.3018.0 
Cc: thomasanderson@chromium.org
Labels: -Pri-1 -Needs-Bisect -ReleaseBlock-Stable -Type-Bug-Regression -M-58 Pri-2 Type-Bug
Summary: Can't enable GTK+ theme for supervised users (was: Regression: GTK theme highlight is missing in profile menu of Supervised User)
The theme highlight shown in the video is correct behavior.  The supervised user is not using the GTK+ theme, while the normal user is.

However, it appears the option to use the GTK+ theme has been disabled for supervised users.  I don't know why this is the case since you can install extension themes.

FYI I authored the CL that added the orange highlight:
https://codereview.chromium.org/2624683002/

And the one that respects theme settings for the profile chooser window (previously, it would fallback on the GTK+ theme, which is incorrect for classic theme users):
https://codereview.chromium.org/2697513008/

Cc: sureshkumari@chromium.org
Labels: -Type-Bug -Pri-2 hasbisect-per-revision M-58 Pri-1 Type-Bug-Regression
Owner: thomasanderson@chromium.org
Status: Assigned (was: Untriaged)
Manual Bisect:
Good Build—-58.0.3005.2 Revision (448507)
Bad Build—--58.0.3006.0 Revision (448862)

Hasbisect-per revision-bisect info:
ChangeLog:
https://chromium.googlesource.com/chromium/src/+log/ecd303a7ad5531522b00dcb6268b769717c14952..f0de79a0e44c878b66df8012e77ff38896fe8faf

Review-Url: https://codereview.chromium.org/2624683002

thomasanderson@ Kindly take a look and please help us to reassign this issue to a right owner if not with respect to this change.

Thanks.
Status: Started (was: Assigned)
Summary: GTK+ theme should never be enabled for supervised users (was: Can't enable GTK+ theme for supervised users)
https://cs.chromium.org/chromium/src/chrome/test/data/webui/settings/appearance_page_test.js?rcl=6a23306766d02a480c7992f91b51e9691d6511b8&l=163

According to that test, the GTK theme should never be available to supervised users, so the bug is that the orange highlights showed up in the first place.  

working on a fix now
Status: Fixed (was: Started)
Cc: jmukthavaram@chromium.org
Labels: Needs-Feedback
Tested this issue on Linux Ubuntu-14.04 using chrome version-58.0.3025.5 as per comment#6 & observed below:

1.Orange highlight is seen when user hover on profile names for the main user with GTK mode in settings
2.switch to supervised user 
3.observed GTK+ theme by default (User unable to change to classic theme) & gray focus is seen when user hover on profile names

thomasanderson@, Could you please confirm, is this the expected behaviour for the same.
Please find the attached screencast for the same.
Thanks in advance.




694154.webm
4.0 MB View Download
#8 That is correct behavior, but you've pointed out another bug in md-settings :)

See the attached screenshots, and notice the difference between the old settings and material design settings.
I've opened bug 697134 for this
Screenshot from 2017-02-28 10:53:38.png
184 KB View Download
Screenshot from 2017-02-28 10:55:35.png
134 KB View Download
jmukthavaram@, thank you for thorough testing and spotting a new bug.

Thank you!

Sign in to add a comment