Extension icons in PWA title bar shifts other title bar elements |
|||
Issue descriptionChrome Version: 70 OS: Windows 7, Linux What steps will reproduce the problem? (1) Install Quick Tabs: https://chrome.google.com/webstore/detail/quick-tabs/jnjfeinjfmenlddahdjdmgpbokiacbbb (2) Visit soft-puppy.glitch.me and wait for it to load. (3) App menu > Install Soft Puppy. (4) App menu > Quick Tabs icon What is the expected result? Items in the titlebar shouldn't move around, the Quick Tabs icon should appear. What happens instead? The Quick Tabs icon is clipped, other titlebar elements are shifted downwards.
,
Sep 18
This works fine in Chrome OS.
,
Sep 18
,
Sep 25
Before and after screenshots for Linux/Windows 7 of WIP CL: https://chromium-review.googlesource.com/c/chromium/src/+/1242584
,
Sep 27
Minor changes were made to browser action icon layout for this CL, adding screenshots to show existing layout in the main browser hasn't been affected.
,
Sep 27
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/43526ef32411ad97ba0eb2dd16237e2f7090bfcb commit 43526ef32411ad97ba0eb2dd16237e2f7090bfcb Author: Alan Cutter <alancutter@chromium.org> Date: Thu Sep 27 11:04:26 2018 [Linux & Windows] Fix overly dynamic hosted app title bar height In hosted app windows extension browser action icons may exceed the vertical size of the menu button causing the title bar to increase in size when shown. This CL fixes the title bar height to ignore hosted app buttons other than the menu button to ensure title bar height consistency. Before: https://bugs.chromium.org/p/chromium/issues/attachment?aid=359771&signed_aid=KtAw0K1pvNkili8_InVRHg==&inline=1 After: https://bugs.chromium.org/p/chromium/issues/attachment?aid=359772&signed_aid=BomSSrucsiT4t0Ixn8hGdw==&inline=1 Bug: 885011 Change-Id: Iedcc6eeaaff649d106e5cd1e1c7be1cfe13047ef Reviewed-on: https://chromium-review.googlesource.com/1242584 Commit-Queue: Alan Cutter <alancutter@chromium.org> Reviewed-by: Bret Sepulveda <bsep@chromium.org> Cr-Commit-Position: refs/heads/master@{#594662} [modify] https://crrev.com/43526ef32411ad97ba0eb2dd16237e2f7090bfcb/chrome/browser/ui/views/frame/hosted_app_button_container.cc [modify] https://crrev.com/43526ef32411ad97ba0eb2dd16237e2f7090bfcb/chrome/browser/ui/views/frame/hosted_app_button_container.h [modify] https://crrev.com/43526ef32411ad97ba0eb2dd16237e2f7090bfcb/chrome/browser/ui/views/frame/opaque_browser_frame_view.h [modify] https://crrev.com/43526ef32411ad97ba0eb2dd16237e2f7090bfcb/chrome/browser/ui/views/frame/opaque_browser_frame_view_browsertest.cc [modify] https://crrev.com/43526ef32411ad97ba0eb2dd16237e2f7090bfcb/chrome/browser/ui/views/toolbar/browser_actions_container.cc
,
Sep 28
|
|||
►
Sign in to add a comment |
|||
Comment 1 by alancutter@chromium.org
, Sep 1812.4 KB
12.4 KB View Download