MacViews: Tabbed dialogs should use Left Arrow / Right Arrow for navigation between tabs. |
||||||
Issue descriptionVersion: 48.0.2564.116 OS: Mac What steps will reproduce the problem? (1) Enable chrome://flags/#mac-views-dialogs. (2) Go to Google.com (3) Click on the "Green lock" icon on the address bar to open Website Settings bubble. (4) Press Tab to shift focus. (5) Observe there is no way to shift focus between Permissions and Connections tabs via keyboard. On Other platforms, focus between different tabs can be changed via Ctrl+Tab and Ctrl+Shift+Tab - https://code.google.com/p/chromium/codesearch#chromium/src/ui/views/controls/tabbed_pane/tabbed_pane.cc&q=tabbed_pane.cc&sq=package:chromium&type=cs&l=370. On Cocoa, generally left/right arrow keys are used to shift focus between tabs.
,
Apr 20 2016
,
Aug 11 2016
,
Dec 12 2016
,
Dec 16 2016
This seems to have been fixed for MacViews since this bug was reported (maybe from Harmony updates?) - Ctrl + Tab and Ctrl + Shift + Tab works now. To reproduce since the tabbed view is gone from the OIB, I've been using the collected cookies dialog instead - open the OIB > Click "X in use" under the "Cookies" heading. That said, it still looks like we need to change the shortcut used to be left arrow/right arrow instead of Ctrl+Tab / Ctrl+Shift+Tab to be consistent with the rest of Cocoa.
,
Dec 16 2016
As per discussion offline with karandeepb, the left/right arrow navigation needed to be while the tabs were focused, so this is actually fully working with the current Harmony views::TabbedPane. Full repro steps: (1) Make sure full keyboard access is turned on (System Preferences > Keyboard > Shortcuts > Switch the radio button to "All controls". (2) Enable chrome://flags/#secondary-ui-md. (3) Go to Google.com (4) Click on the "Green lock" icon / "Secure" text on the address bar to open Website Settings bubble. (5) Click the "3 in use" (or whatever number) link under "Cookies" to get the collected cookies dialog to open. (6) Press Tab until focus is on the "Allowed" tab. (7) Press the left arrow and right arrow to change the current tab. As mentioned previously, the cross-platform shortcuts also work to switch tabs (Ctrl+Tab / Ctrl+Shift+Tab). Since this is actually the same shortcut as used to switch between Finder and Safari tabs, I think it's fine to leave that working. Closing this bug since everything seems to now be working as intended. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by tapted@chromium.org
, Mar 9 201654.9 KB
54.9 KB View Download
53.4 KB
53.4 KB View Download