fenix icon indicating copy to clipboard operation
fenix copied to clipboard

Inconsistency & layout issues in Custom tab menus

Open sv-ohorvath opened this issue 7 years ago • 13 comments

Steps to reproduce

  1. Open a custom tab in Slack.
  2. Open the menu.
    1. Expected behavior The app has a customized custom tab menu.
    2. 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: ScreenshotUNITO-UNDERSCORE!20190320-105037!
  • On Samsung S8 (Android 9), the Slack custom tab menu is not customized, the app's full menu is displayed:
    1. Device information
  • Android device: see above
  • Fenix version: 3/19 build

┆Issue is synchronized with this Jira Task

sv-ohorvath avatar Mar 20 '19 09:03 sv-ohorvath

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.

bsurd avatar Apr 18 '19 12:04 bsurd

@sblatz any input here?

bsurd avatar Apr 18 '19 13:04 bsurd

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")?

sblatz avatar Apr 18 '19 14:04 sblatz

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.

bsurd avatar Apr 18 '19 15:04 bsurd

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.

bsurd avatar Apr 18 '19 15:04 bsurd

@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).

sblatz avatar Apr 18 '19 16:04 sblatz

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.

sblatz avatar Apr 18 '19 18:04 sblatz

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:

img

bsurd avatar Apr 19 '19 08:04 bsurd

@sblatz @vesta0 is this still blocked? Note that it was re-opened.

bifleming avatar Apr 19 '19 14:04 bifleming

I submitted an a-c patch for this here. This will once again be blocked on it landing.

sblatz avatar Apr 19 '19 16:04 sblatz

https://github.com/mozilla-mobile/android-components/pull/2809 was merged today. Should be in nightly tonight.

sblatz avatar Apr 23 '19 16:04 sblatz

@sblatz still does not match spec in comment 7.

Screenshot_20190425-183153

kbrosnan avatar Apr 26 '19 01:04 kbrosnan

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

sv-ohorvath avatar Apr 30 '19 13:04 sv-ohorvath