Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab Groups forces Bottom Bar to be disabled #13904

Closed
rodrigoswz opened this issue Feb 2, 2021 · 7 comments · Fixed by brave/brave-core#8227
Closed

Tab Groups forces Bottom Bar to be disabled #13904

rodrigoswz opened this issue Feb 2, 2021 · 7 comments · Fixed by brave/brave-core#8227
Assignees
Labels
android-phone-specific design/needs-mock-up needs-mockup A feature which needs design mockup to be implemented. OS/Android Fixes related to Android browser functionality priority/P2 A bad problem. We might uplift this to the next planned release. QA Pass - Android ARM QA/Test-Plan-Specified QA/Yes release-notes/exclude

Comments

@rodrigoswz
Copy link

Description

Tab Groups is a great chromium feature that can be enabled in chrome://flags, and is currently being enabled automatically in Chrome.

Tab Groups in Chrome. Source: Android Police

Unfortunately, when enable this in Brave, you are no longer able to use the bottom bar. It will always be disabled, even if you try to enable it again in settings. The only way to get bottom bar again is to disabling Tab Groups related flags.

Steps to reproduce

  1. Go to brave://flags
  2. Enable the flags
    • #enable-tab-grid-layout
    • #enable-tab-to-gts-animation
    • #enable-tab-groups
    • #enable-tab-groups-continuation
    • #enable-tab-groups-ui-improvements
  3. Restart Brave twice to make sure the changes have been applied

Actual result

Tab Groups works fine, but now Brave's bottom bar is disabled
https://i.imgur.com/nZsedFc.png
https://i.imgur.com/Y8POR1K.png

Expected result

Enable Tab Groups without losing Brave's bottom bar

Issue reproduces how often

Easily reproduced

Version/Channel Information:

  • Can you reproduce this issue with the current Play Store version? Yes
  • Can you reproduce this issue with the current Play Store Beta version? Yes
  • Can you reproduce this issue with the current Play Store Nightly version? Yes

Device details

  • Install type (ARM, x86): ARM
  • Device type (Phone, Tablet, Phablet): Phone
  • Android version: 11

Brave version

1.21.38

Website problems only

  • Does the issue resolve itself when disabling Brave Shields? No
  • Does the issue resolve itself when disabling Brave Rewards? No
  • Is the issue reproducible on the latest version of Chrome? No

Additional information

@rodrigoswz rodrigoswz added the OS/Android Fixes related to Android browser functionality label Feb 2, 2021
@srirambv
Copy link
Contributor

srirambv commented Feb 4, 2021

This is a known issue with bottom toolbar and the flag.

cc: @jamesmudgett to come up with a new design for this when tab grouping becomes the default. @samartnik

@srirambv srirambv added the design/needs-mock-up needs-mockup A feature which needs design mockup to be implemented. label Feb 4, 2021
@LesterCovax
Copy link

There appears to be a larger issue surrounding grid view, tab groups, and the bottom toolbar.

  1. Enabling bottom toolbar breaks grid view and tab groups, as this thread highlights.
  2. Grid view and tab groups are co-dependent to a worrisome degree. It's to the point where you can disable all flags for either 'grid view' or 'tab groups', but as long as one of those is enabled, both will become enabled.
  3. Due to the previous point, it's not possible to enable the bottom toolbar alongside 'grid view', nor disable the bottom toolbar and enable 'grid view' without 'tab groups'.
  4. Minor point, but some settings for 'grid view' simply don't work.

I'd be willing to sacrifice the bottom bar to have grid view and tab groups, but not without a way to disable the persistent tab group bar, or the default behavior of adding new tabs to the current group.
I haven't tested this behavior in chromium (only on Brave on Android v1.20.103), so I can't deduce if this spiderweb of issues is Brave or Chromium-based.

@anthonypkeane anthonypkeane added priority/P2 A bad problem. We might uplift this to the next planned release. QA/Yes release-notes/include labels Feb 25, 2021
@samartnik samartnik self-assigned this Feb 25, 2021
@samartnik
Copy link
Contributor

samartnik commented Mar 11, 2021

New look with both Tab Groups and bottom toolbar enabled

device-2021-03-11-124632 device-2021-03-11-124646

@samartnik
Copy link
Contributor

Test plan:

  1. Go to brave://flags.
  2. Enable Tab Groups and Tab Grid features and restart twice to apply changes.
  3. Make sure both bottom controls are visible when necessary (when tabs are grouped).
  4. Make sure bottom toolbar behaves as before when tabs are not grouped.
  5. Make sure Tab Groups work as before when bottom toolbar is disabled (should be 1 to 1 with Chromium).

@cognifloyd
Copy link

I wish the tab group bar was above the address bar. Then I could have the brave bottom bar, and tab groups.

Btw, I have tab grid layout enabled and the bottom bar still works. Only tab groups causes the issue.

Version details:

Brave 1.21.74 Chromium: 89.0.4389.72 (Official Build) (32-bit)
Revision 3f345f156bfd157bd1bea06310e55f3fb2490359-refs/branch-heads/4389@{#1393}
OS Android 11; Pixel 4a Build/RQ2A.210305.006

@rodrigoswz
Copy link
Author

I think the best UI/UX for this would be Brave to use Bottom Address Bar, just as it already exists in Firefox, Vivaldi and Kiwi.

This saves space on the screen, giving more space for the website content.

See the result in the test above, now we have 3 browser bars: Address bar, toolbar and group bar. The website that really matters is getting tighter and tighter to use.

However, at the same time, toolbar is great for one-handed use. So, bottom address bar would solve both problems.

@srirambv
Copy link
Contributor

srirambv commented Apr 8, 2021

Verification passed on OnePlus 6T with Android 10 running 1.23.68 x64 build

  • Verified test plan from Tab Groups forces Bottom Bar to be disabled #13904 (comment)
  • Verified with flags enabled able to group tabs
  • Verified bottom toolbar works fine when tabs are grouped
  • Verified able to close tabs from tab group without going to tab tray
  • Verified able to reopen closed tab from group via undo button
  • Verified bottom toolbar swipe works to switch tabs. Swiping happens within tab group and between tab groups
  • Verified when swipe using bottom toolbar, coming out of tab group hides the tab group bar as well
  • Verified tab group works on private tab as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-phone-specific design/needs-mock-up needs-mockup A feature which needs design mockup to be implemented. OS/Android Fixes related to Android browser functionality priority/P2 A bad problem. We might uplift this to the next planned release. QA Pass - Android ARM QA/Test-Plan-Specified QA/Yes release-notes/exclude
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants