New issue
Advanced search Search tips

Issue 673362 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 26
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Tracking bug for Cocoa browser RTL work

Project Member Reported by lgrey@chromium.org, Dec 12 2016

Issue description

This is a catch-all tracking bug for work related to Cocoa browser RTL.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Dec 14 2016

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

commit 4f56da4755ccc370cd682cce472d4ba1c0781207
Author: lgrey <lgrey@chromium.org>
Date: Wed Dec 14 16:38:58 2016

There's a bunch of weird glitches right now that cause the text to flip to the left. AFAICT, these two changes fix all of them:
1) Set the alignment of the text field directly.
2) RFC 3987 requires us to set the writing direction of URLs to LTR so that we get שלום.com instead of moc.שלום. This appears to change the alignment of the string if it's not set explicitly. So: set it explicitly.

BUG= 648554 ,  673362 

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

[modify] https://crrev.com/4f56da4755ccc370cd682cce472d4ba1c0781207/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
[modify] https://crrev.com/4f56da4755ccc370cd682cce472d4ba1c0781207/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
[modify] https://crrev.com/4f56da4755ccc370cd682cce472d4ba1c0781207/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
[modify] https://crrev.com/4f56da4755ccc370cd682cce472d4ba1c0781207/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm

Project Member

Comment 3 by bugdroid1@chromium.org, Dec 16 2016

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

commit 1e35b7bb1d2f0ea5bce687a07872277b495428d3
Author: lgrey <lgrey@chromium.org>
Date: Fri Dec 16 20:56:57 2016

[Mac] Reverse back/forward toolbar buttons in RTL

BUG= 647206 ,  673362 

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

[modify] https://crrev.com/1e35b7bb1d2f0ea5bce687a07872277b495428d3/chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.mm

Project Member

Comment 6 by bugdroid1@chromium.org, Jan 9 2017

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

commit d0eda8fc58bd6357bb5a18e4d977b98de988857a
Author: lgrey <lgrey@chromium.org>
Date: Mon Jan 09 16:10:28 2017

Revert of [Mac] Flip toolbar in RTL (patchset #5 id:80001 of https://codereview.chromium.org/2607533004/ )

Reason for revert:
Caused  crbug.com/679249 

Original issue's description:
> [Mac] Flip toolbar in RTL
>
> Browser actions will be reordered in a future change.
>
> BUG= 648558 ,  648563 ,  673362 
>
> Review-Url: https://codereview.chromium.org/2607533004
> Cr-Commit-Position: refs/heads/master@{#441925}
> Committed: https://chromium.googlesource.com/chromium/src/+/8b0fd02afc2107ba123774e0a464a43407a108cf

TBR=tapted@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG= 648558 ,  648563 ,  673362 

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

[modify] https://crrev.com/d0eda8fc58bd6357bb5a18e4d977b98de988857a/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm
[modify] https://crrev.com/d0eda8fc58bd6357bb5a18e4d977b98de988857a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
[modify] https://crrev.com/d0eda8fc58bd6357bb5a18e4d977b98de988857a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
[modify] https://crrev.com/d0eda8fc58bd6357bb5a18e4d977b98de988857a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
[modify] https://crrev.com/d0eda8fc58bd6357bb5a18e4d977b98de988857a/chrome/browser/ui/cocoa/toolbar/toolbar_controller_unittest.mm

Project Member

Comment 7 by bugdroid1@chromium.org, Jan 12 2017

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

commit 882ccc67f27351913c6ae4384c1a79441e1becea
Author: lgrey <lgrey@chromium.org>
Date: Thu Jan 12 20:32:21 2017

[Mac] Flip toolbar in RTL (reland)

This was reverted due to  crbug.com/679174  which is fixed by using the
browser action container view's |animationEndFrame| instead of its
frame when calculating the size of the location bar.

Browser actions will be reordered in a future change.

BUG= 648558 ,  648563 ,  673362 

Review-Url: https://codereview.chromium.org/2607533004
Cr-Commit-Position: refs/heads/master@{#441925}
Committed: https://chromium.googlesource.com/chromium/src/+/8b0fd02afc2107ba123774e0a464a43407a108cf

patch from issue 2607533004 at patchset 80001 (http://crrev.com/2607533004#ps80001)

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

[modify] https://crrev.com/882ccc67f27351913c6ae4384c1a79441e1becea/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.mm
[modify] https://crrev.com/882ccc67f27351913c6ae4384c1a79441e1becea/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
[modify] https://crrev.com/882ccc67f27351913c6ae4384c1a79441e1becea/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
[modify] https://crrev.com/882ccc67f27351913c6ae4384c1a79441e1becea/chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
[modify] https://crrev.com/882ccc67f27351913c6ae4384c1a79441e1becea/chrome/browser/ui/cocoa/toolbar/toolbar_controller_unittest.mm

Project Member

Comment 10 by bugdroid1@chromium.org, Apr 25 2018

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

commit c13382bd9685a3f8e0a3577a4ba6c0beb3e5ee77
Author: Leonard Grey <lgrey@chromium.org>
Date: Wed Apr 25 15:15:26 2018

[MacRTL] Enable by default

Bug:  673362 
Change-Id: Id318b8c8b7e6c3def6f38c51961032b3f3270a65
Reviewed-on: https://chromium-review.googlesource.com/1026476
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Leonard Grey <lgrey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553554}
[modify] https://crrev.com/c13382bd9685a3f8e0a3577a4ba6c0beb3e5ee77/chrome/common/chrome_features.cc

Labels: Hotlist-DesktopUIValid Hotlist-DesktopUIChecked
*** UI Mass Triage***

Seems like WIP and bug is valid, hence tagging with appropriate label.
Status: Fixed (was: Started)
This is both fixed and obsolete :p

Sign in to add a comment