Inconsistency & layout issues in Custom tab menus
Steps to reproduce
- Open a custom tab in Slack.
- Open the menu.
- Expected behavior The app has a customized custom tab menu.
- Actual behavior On some devices: i.e. Huawei Honor 8 (Android 7.0), Nexus 5 (Android 6.0.1)
- the customized menu on Slack has the items in reversed order. see screenshot:
UNITO-UNDERSCORE!20190320-105037! - On Samsung S8 (Android 9), the Slack custom tab menu is not customized, the app's full menu is displayed:
- Device information
- Android device: see above
- Fenix version: 3/19 build
┆Issue is synchronized with this Jira Task
According to #203 the custom menu should be above the Fenix menu, this is still not the case for the affected devices.
If logged into the Slack app and opening a custom tab the custom menu is still not displayed. Eg. opened a wikipedia link, custom slack menu is not available.
I've also logged a new issue for Samsung devices #1767.
@sblatz any input here?
This is really strange. The custom menu is also not showing for me in Chrome, Firefox, Firefox Focus, or Reference Browser on my Galaxy S9. I'm not sure this is something we actually are doing incorrectly, and may just be an incompatibility based on device type.
@bsurd can you list which devices are utilizing the custom menu and which aren't? Also, are they all at least showing the "shortened" menu (the one that says "Powered by Fenix")?
Yes, they are showing the shortened menu "Powered by Fenix", I've used the same devices as mentioned in the initial report the Honor, 8 Nexus 5 and Galaxy S8, as well as a HTC 10 and Note 8 beside those.
Logged the new issue while testing for Samsung devices as they seem to not even open a custom tab.
Please let me know if there is any other information I can help with.
The inconsistency is noticeable in the Samsung devices, after logging in and opening a custom tab only the shortened menu is displayed, while on other devices the slack custom menu is also displayed alongside it.
@vesta0 how do we want to proceed here? I believe this bug is not our fault (as I can reproduce in all the browsers on my phone).
I verified this on the devices below:
On Samsung Galaxy S9: No browsers show “Share in Slack…” On Pixel 3: All browsers show “Share in Slack…”
This seems to not be a Fenix issue, and thus I'm closing per @vesta0's recommendation.
Reopening as part of the initial issue still remains, the items are still displayed in reverse order compared to the specs in #203.
This reverse order issue is available for all devices.
Actual behavior
- the customized menu on Slack has the items in reversed order. see screenshot:

@sblatz @vesta0 is this still blocked? Note that it was re-opened.
I submitted an a-c patch for this here. This will once again be blocked on it landing.
https://github.com/mozilla-mobile/android-components/pull/2809 was merged today. Should be in nightly tonight.
@sblatz still does not match spec in comment 7.

I think this is finally fixed :)
Customized/standard menus are looking good:
