MacViews RTL: Focus is weird when dragging tabs |
|||
Issue descriptionDragging a tab triggers focus changes via TabDragController::SaveFocus (https://cs.chromium.org/chromium/src/chrome/browser/ui/views/tabs/tab_drag_controller.cc?q=TabDragController::SaveFocus&sq=package:chromium&dr=CSs&l=548) When this is called in RTL, something goes wrong deep in the focus restoration code, and the wrong thing happens: - If a tab close button is selected, it keeps its focus ring, sometimes drawing on top of the tab being dragged. See attached video - If the omnibox is selected, the omnibox loses focus, unlike in LTR or RTL on other platforms
,
Jul 12
,
Jul 30
Leonard, can you still repro? I can't at e1a4f4114902.
,
Jul 31
Fixed by https://chromium.googlesource.com/chromium/src.git/+/e8975862b8bd4e071e624f02d4fe633336ef0eb0 I think
,
Jul 31
BTW avi@ you need to either log in and out or launch with "-NSForceRightToLeftWritingDirection YES -AppleTextDirection YES" to fully trigger RTL on the OS side (note location of stoplights) |
|||
►
Sign in to add a comment |
|||
Comment 1 by meh...@chromium.org
, Jul 3