Mac/Linux Views Page Info can go off screen to the left |
||||||||||||
Issue descriptionChrome 56.0.2894.0 OSX 10.11.6 What steps will reproduce the problem? (1) Enable #mac-views-webui-dialogs (2) Start Chrome with in an RTL language (3) Move the Chrome window to the left of the screen. (4) Open Page Info What is the expected output? The entire Page Info bubble can be seen. What do you see instead? The bubble goes off-screen (screenshot). Please use labels and text to provide additional information.
,
Oct 19 2016
> But, also, that looks bad for Linux.. does RTL on Linux just clip this bubble? Ohhh except a views browser properly puts the origin chip on the right, but CocoaMac doesn't.
,
Oct 19 2016
> But, also, that looks bad for Linux.. does RTL on Linux just clip this bubble? Yes, Linux clips any bubble that goes past the window. :-(
,
Oct 19 2016
,
Oct 19 2016
,
Oct 20 2016
,
Oct 20 2016
In a popup window with a URL bar, the security indicator is on the very left of the window, and even an LTR bubble can go off the left of the screen.
,
Nov 24 2016
https://codereview.chromium.org/2532613002
,
Nov 30 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c60452305f151964dee9b5eaff7c9b0356c41c16 commit c60452305f151964dee9b5eaff7c9b0356c41c16 Author: tapted <tapted@chromium.org> Date: Wed Nov 30 10:42:07 2016 MacViews: fix bubble direction in RTL. The Cocoa browser doesn't have good RTL support, and doesn't flip its UI in RTL. Bubble direction should not flip by default. Add BUILDFLAG(MAC_VIEWS_BROWSER) to accomplish this. BUG= 657244 Review-Url: https://codereview.chromium.org/2532613002 Cr-Commit-Position: refs/heads/master@{#435207} [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/build/config/ui.gni [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/chrome/browser/BUILD.gn [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/chrome/browser/ui/BUILD.gn [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/chrome/test/BUILD.gn [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/components/constrained_window/BUILD.gn [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/tools/grit/grit_rule.gni [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/ui/base/BUILD.gn [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/ui/base/ui_features.gni [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/ui/views/BUILD.gn [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/ui/views/bubble/bubble_dialog_delegate.cc [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/ui/views/style/platform_style.cc [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/ui/views/style/platform_style.h [modify] https://crrev.com/c60452305f151964dee9b5eaff7c9b0356c41c16/ui/views/style/platform_style_mac.mm
,
Nov 30 2016
moving to Available for remaining pieces: - *Linux* needs to adjust the Page Info bubble in RTL for Popup windows (the location bar is not flipped then - I guess flipping it would be another option) - Mac (and Linux) should still try to adjust things that might go offscreen to deal with some weird corner cases, or windows partially offscreen - Mac: as --enable-features=ExperimentalMacRTL becomes default the fix in r435207 will need to be revisited
,
Dec 1 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6992f1f07971bf7f2100b6538cf302d8556124ec commit 6992f1f07971bf7f2100b6538cf302d8556124ec Author: tapted <tapted@chromium.org> Date: Thu Dec 01 08:38:24 2016 Move mac_views_browser grit define out of tools/grit. tools/grit used to add it, but it should move to chrome_grit_defines instead to avoid a ui dependency there. It's currently breaking WebRTC. It's currently used by chrome/app/theme/theme_resources.grd. (ui_resources.grd might need it later, but it doesn't right now). BUG= 657244 TBR=scottmg@chromium.org, sky@chromium.org Review-Url: https://codereview.chromium.org/2535753007 Cr-Commit-Position: refs/heads/master@{#435582} [modify] https://crrev.com/6992f1f07971bf7f2100b6538cf302d8556124ec/chrome/common/features.gni [modify] https://crrev.com/6992f1f07971bf7f2100b6538cf302d8556124ec/tools/grit/grit_rule.gni
,
Apr 12 2017
,
May 4 2017
,
Nov 29 2017
> - Mac: as --enable-features=ExperimentalMacRTL becomes default the fix in r435207 will need to be revisited Since MacViews bubbles are shipping by default this is relevant again. tapted@ what's the best way to take the experiment into account for this?
,
Nov 29 2017
We're disabling MacViews bubbles on the beta branch for m64, so the pressure is off for a milestone :). Is there likely to be a solid/stuck landing for ExperimentalMacRTL in m64 or m65? If yes, we probably don't need special logic -- we can just revert r435207. But if it's still in flux, we probably need to expose a temporary interface on views::ViewsDelegate or views::LayoutProvider so that the decision can be fed through to the lower layer.
,
Nov 29 2017
Not sure. We're waiting on download bar to be baked. I'll look into the ViewsDelegate thing (seems better than LayoutProvider since it already has a bunch of OS-specific defines.)
,
Dec 6 2017
Issue 792386 has been merged into this issue.
,
Dec 6 2017
,
Dec 8 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/780534183c285fc2f43821b905c5191694b873a2 commit 780534183c285fc2f43821b905c5191694b873a2 Author: Leonard Grey <lgrey@chromium.org> Date: Fri Dec 08 14:46:33 2017 [Mac] Support #MacRTL feature in MacViews dialogs Per discussion on the linked bug, this adds a temporary interface to views::ViewsDelegate to take the #MacRTL feature into account for bubble anchoring. Also removes the platform style constant since it's now redundant. Bug: 657244 Change-Id: I9b3d32b2891edf9ef90275ccf6b9ef3648e4b0e8 Reviewed-on: https://chromium-review.googlesource.com/811244 Reviewed-by: Trent Apted <tapted@chromium.org> Commit-Queue: Leonard Grey <lgrey@chromium.org> Cr-Commit-Position: refs/heads/master@{#522778} [modify] https://crrev.com/780534183c285fc2f43821b905c5191694b873a2/chrome/browser/ui/views/chrome_views_delegate.h [modify] https://crrev.com/780534183c285fc2f43821b905c5191694b873a2/chrome/browser/ui/views/chrome_views_delegate_mac.cc [modify] https://crrev.com/780534183c285fc2f43821b905c5191694b873a2/ui/views/bubble/bubble_dialog_delegate.cc [modify] https://crrev.com/780534183c285fc2f43821b905c5191694b873a2/ui/views/style/platform_style.cc [modify] https://crrev.com/780534183c285fc2f43821b905c5191694b873a2/ui/views/style/platform_style.h [modify] https://crrev.com/780534183c285fc2f43821b905c5191694b873a2/ui/views/style/platform_style_mac.mm [modify] https://crrev.com/780534183c285fc2f43821b905c5191694b873a2/ui/views/views_delegate.cc [modify] https://crrev.com/780534183c285fc2f43821b905c5191694b873a2/ui/views/views_delegate.h
,
Dec 13 2017
Tested the issue on Ubuntu 14.04 and Mac OS 10.12.6 using chrome latest Canary M65-65.0.3292/3.0 by following steps mentioned in the merged issue 792386 . Observed that Page info bubble displaying as expected. Hence adding TE-Verified label. Please find the screen cast for reference. Note: For linux tested in #65.0.3292.0 due to #65.0.3293.0 build failure. Thank you!
,
Jan 4 2018
This is fixed. |
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by tapted@chromium.org
, Oct 19 2016