-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
Menu items are not properly displayed with tab overflow menu regroup flag #963
Comments
I'm using the same version via F-Droid on a tablet with even an older Android version i.e. 5.0.1, and I see no blank menu header (topmost item is New tab), plus the Bookmark all tabs menu item is visible (and works). The View source icon is the same as in your screenshot, but I don't remember what it looked like before, so cannot say for certain whether it is broken or not (as a document-type icon it looked fine to me). |
I'm using same version, no issue. but perhaps this occurs in locales other than English. |
I found out what's going on. If I disable the flag If I enable this flag, the menu is broken as described above. About the View source icon: I think @csagan5 changed this menu item icon. But the other one was prettier. @SumatraPeter and @chromer030 can you guys please check if that flag is enabled and you're using the new menu layout? |
I'm using old menu by default. |
@frankjrp can you provide steps to reproduce it, starting from a clean installation? |
Same here, flag enabled, disabled or default gives me the same old menu. New menu must be for newer Android versions only. |
@csagan5 Ok, I did a clean installation.
It seems that it's working only when this flag is not enabled. |
@hbarsaiyan was it working on the previous version? |
No the old menu was showing in default and when i enable the flag it shows like this. |
I cannot reproduce this issue. Are you setting it just to Enabled or one of the other options? |
Yes! I'm setting it just to Enabled. But it's important to follow these steps:
|
It is fixed now for me. Thank you. |
Nothing has been fixed; you might have changed the flags. |
Fixed in |
@csagan5 don't we have an arm32 and arm64 release this time? Just asking. |
@csagan5 Doesn't seem to be solved on Bromite 89.0.4389.92 - setting |
@uazo In my case, the top button row above I'm on stock Magisk rooted Android 10, One UI 2.0 on a SM-A405FN. |
I checked, it seems that @csagan5 in 89.0.4389.92 has removed (perhaps by mistake) my changes. in the meantime I've found a bug in Remove-help-menu-item.patch |
@uazo not by mistake, I did not add the extra icon from your patch. Is that needed to fix the blank row? |
yes, the fix is right there! :) adding a sixth button in the header of the app menu (you did after #943), a sixth icon have to be added in the row layout used to display, otherwise the switch does not lead to anything and the row is empty (see https://source.chromium.org/chromium/chromium/src/+/master:chrome/browser/ui/android/appmenu/internal/java/src/org/chromium/chrome/browser/ui/appmenu/AppMenuAdapter.java;l=174;drc=40f5195e60a82e940f4ef149e55944da9c8bf1f0;bpv=1;bpt=1) for the same reason I increased the width of the menu by the size of an icon (the other part you removed) |
I do not understand how this is related to the patch to bookmark all tabs 🤔 |
This explanation could have been in the commit message :) There is a mistake in the text associated to the button, it should have been left as before; I will fix it on next release. When the flag is disabled or default: both menus have the 'Bookmark all tabs' menu entry Since there are other menu entries in the menu which are not on the top bar, how to fix the behaviour so that it is always like when flag is disabled? |
sorry, I thought it was clear with the changes. I'll be more wordy next time :)
what do you mean by both? header row and menu item? bromite/build/patches/Add-menu-item-to-bookmark-all-tabs.patch Lines 46 to 48 in 167f960
main_menu_regroup.xml
|
No, the regular 3-dots menu and the one after tapping on the tabs counter.
See my other question ^ |
I think @csagan5 is talking about the menu entries as shown below (when the flag is disabled or default): PS: Since you guys are fixing the menu issues, there is a missing icon after tapping on the tabs counter then the menu. |
Can reproduce the missing |
@uazo regardless of the overflow menu regroup flag, the feature should work like this:
As @frankjrp shows in the screenshots.
You mean the exit menu icon, right? |
Exactly. |
removing this icon? (note: I only have it because I applied my patch) |
That is not sufficient. If the icon is removed, then the behavior is not the same regardless of the flag. The menu entry would be missing. Here I mean the icon on the left of the text. No changes to the icon-only bar above.
|
@uazo shall I assign this to you? Otherwise I can try fixing it |
sure, I'll take care of it |
@frankjrp is the exit menu missing icon fixed already? |
@csagan5 yes, it's fixed! |
I made a fix for the menu items; will be fixed on next release. |
Fixed in |
I still see the blank empty item on top. |
Interesting! For me it's ok since the version |
@csagan5 I think it can be closed, can you confirm? |
Fixed in |
Bromite version
Version:
88.0.4324.207
Arch:
arm
Android version:
5.1
Device model:
Moto G1 - XT1033
Is this bug about the SystemWebView?
No
Is the bug reproducible with latest version?
Yes
Can the bug be reproduced with corresponding Chromium version?
No
Is the bug a crash?
Yes
Describe the bug
When opening the menu its header is empty, the view source icon is broken and the bookmark all tabs menu item is missing.
Steps to reproduce the bug
Steps to reproduce the bug:
menu header
is empty, theView source icon
is broken and thebookmark all tabs menu item
is missing.Expected behavior
When opening the menu all the menu items are displayed properly, as seen in the previous Bromite version.
Question: What was wrong with the
exit and view source menu items icons
? Apparently they were working fine for me.PS: I know this phone is very old, its my backup device, but everything was working fine in the previous version.
Screenshots
The text was updated successfully, but these errors were encountered: