New issue
Advanced search Search tips

Issue 605161 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Mar 2018
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug


Show other hotlists

Hotlists containing this issue:
MacViews-Task-Queue


Sign in to add a comment

MacViews: fix MenuButton look & feel

Project Member Reported by ellyjo...@chromium.org, Apr 20 2016

Issue description

MenuButtons need mac-specific look & feel, as used in the site info dialog.
 
Labels: -Hotlist-MacViews Proj-MacViews
Attached: screenshot of what these look like after https://codereview.chromium.org/1904753002/
Screen Shot 2016-04-20 at 1.31.35 PM.png
5.2 KB View Download

Comment 3 by tapted@chromium.org, Apr 21 2016

:)
Screen Shot 2016-04-21 at 10.44.02 AM.png
19.1 KB View Download

Comment 4 by tapted@chromium.org, Apr 21 2016

We need to ensure we handle subclasses of MenuButton too.

E.g. the OIB. It looks like it overrides the border, or adds a second dotted-rectangle focus border. or something.
Screen Shot 2016-04-21 at 4.47.55 PM.png
93.8 KB View Download

Comment 5 by tapted@chromium.org, Apr 29 2016

Screen Shot 2016-04-29 at 4.43.45 PM.png
87.2 KB View Download

Comment 6 by tapted@chromium.org, May 10 2016

before/after screengrabs for Windows. Context: https://codereview.chromium.org/1904753002/diff/120001/ui/views/controls/button/menu_button.cc#newcode330

Note:
 - the alignment of the dropdown arrow changes
 - the extra border around the Chrome menu and extension toolbar buttons
windows_before.png
34.6 KB View Download
windows_after.png
39.6 KB View Download
Project Member

Comment 7 by bugdroid1@chromium.org, May 17 2016

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

commit 9412ffff054dd142ec06804e1e1303d3f6f064cf
Author: ellyjones <ellyjones@chromium.org>
Date: Tue May 17 22:41:11 2016

Views: factor out Combobox background and const-ify style

This change:
* Factors background sizing out of Combobox
* Makes ComboboxBackgroundMac reusable for other controls
* Removes the ability to change the style of comboboxes dynamically
* Introduces caching of arrow images for comboboxes

BUG= 605161 

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

[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/chrome/browser/ui/views/translate/translate_bubble_view.cc
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/gfx/BUILD.gn
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/gfx/gfx.gyp
[add] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/gfx/scoped_canvas.cc
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/gfx/scoped_canvas.h
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/views/controls/combobox/combobox.cc
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/views/controls/combobox/combobox.h
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/views/controls/combobox/combobox_unittest.cc
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/views/examples/combobox_example.cc
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/views/examples/examples.gyp
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/views/style/mac/combobox_background_mac.cc
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/views/style/mac/combobox_background_mac.h
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/views/style/platform_style.cc
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/views/style/platform_style.h
[modify] https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf/ui/views/style/platform_style_mac.mm

Project Member

Comment 8 by bugdroid1@chromium.org, Jun 9 2016

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

commit 5acf0c2022fc685f2250a54eea3b6e2bfc90dc60
Author: ellyjones <ellyjones@chromium.org>
Date: Thu Jun 09 22:07:58 2016

PermissionSelectorView: use Combobox on MacViews builds.

The Cocoa version of this dialog uses the cocoa equivalent of Comboboxes. Also,
Comboboxes on MacViews have appropriate styling, whereas MenuButtons don't and
changing them to have it seems quite involved.

This CL involves adapting the permission selector's MenuModel to a
ComboboxModel, then creating a Combobox instead of a MenuButton on Mac.

BUG= 605161 

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

[modify] https://crrev.com/5acf0c2022fc685f2250a54eea3b6e2bfc90dc60/chrome/browser/ui/views/website_settings/permission_selector_view.cc
[modify] https://crrev.com/5acf0c2022fc685f2250a54eea3b6e2bfc90dc60/chrome/browser/ui/views/website_settings/permission_selector_view.h
[modify] https://crrev.com/5acf0c2022fc685f2250a54eea3b6e2bfc90dc60/chrome/browser/ui/views/website_settings/permissions_bubble_view.cc
[modify] https://crrev.com/5acf0c2022fc685f2250a54eea3b6e2bfc90dc60/chrome/browser/ui/views/website_settings/website_settings_popup_view_unittest.cc

Project Member

Comment 9 by bugdroid1@chromium.org, Jun 15 2016

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

commit 5acf0c2022fc685f2250a54eea3b6e2bfc90dc60
Author: ellyjones <ellyjones@chromium.org>
Date: Thu Jun 09 22:07:58 2016

PermissionSelectorView: use Combobox on MacViews builds.

The Cocoa version of this dialog uses the cocoa equivalent of Comboboxes. Also,
Comboboxes on MacViews have appropriate styling, whereas MenuButtons don't and
changing them to have it seems quite involved.

This CL involves adapting the permission selector's MenuModel to a
ComboboxModel, then creating a Combobox instead of a MenuButton on Mac.

BUG= 605161 

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

[modify] https://crrev.com/5acf0c2022fc685f2250a54eea3b6e2bfc90dc60/chrome/browser/ui/views/website_settings/permission_selector_view.cc
[modify] https://crrev.com/5acf0c2022fc685f2250a54eea3b6e2bfc90dc60/chrome/browser/ui/views/website_settings/permission_selector_view.h
[modify] https://crrev.com/5acf0c2022fc685f2250a54eea3b6e2bfc90dc60/chrome/browser/ui/views/website_settings/permissions_bubble_view.cc
[modify] https://crrev.com/5acf0c2022fc685f2250a54eea3b6e2bfc90dc60/chrome/browser/ui/views/website_settings/website_settings_popup_view_unittest.cc

Status: WontFix (was: Started)
MacViews triage: this bug is extremely obsolete.

Sign in to add a comment