-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug]Improperly displayed Tabs Tray, Top Sites, and search engine "More options" overlay #17092
Comments
This issue is reproducible on Beta 85.0.0-beta.6 from 1/8 with Nexus 5 (Android 6.0.1). |
@rocketsroger
|
@codrut-topliceanu I agree that |
@rocketsroger I think the original report was on a Xiaomi tablet: #15344. |
@mcarare I see, it was my mistake. I didn't see Xiaomi was part of the issue as well. I will add Xiaomi as part of the check. The reason I wanted to limit the fix to only affected devices is that so we can use one algorithm for most of the devices out there. I will also add @codrut-topliceanu 's fix as well? |
Yes, I think that should fix the issue. I am not sure the device filtering is needed, though. |
@mcarare looks like @codrut-topliceanu changes is more risky than I thought. It breaks some of the unit tests. There are two other places that calls the function. I'll leave it for @codrut-topliceanu to apply the patch. I do think we risk breaking other things if we change I think the safest way to go is to limit the workaround since we know the normal code path works except for Huawei and Xiaomi devices. |
@rocketsroger Thank's for the issue ❤️ . Sometimes I start working on things and forget to assign myself, apologies. To work on this issue I've reproduced the bug on an LG K4 (Android 6), additionally @AndiAJ reproduced the issue on an OnePlus A3 (Android 6.0.1) and @ebalazs-sv reproduced it on Nexus 5 (Android 6.0.1). There may be other devices out there there besides these and Huawei/Xiaomi that could encounter this bug. So I'm not sure making the workaround only for these devices is advised. Additionally I've tested, and found the fix to work, for the following pop-up windows in both portrait and landscape modes:
But I do agree that this is a risky change, so great care should be taken when we review+test this. |
@codrut-topliceanu can you please also take a look at my change? I still think even with your fix we should still limit the workaround to Huawei and Xiaomi devices unless other devices starts to see the same problem. Thanks, |
@rocketsroger could you link your version please? I can't seem to find it. |
Sure, here's the pull request mozilla-mobile/android-components#9440. Thanks, |
Sorry should have been more clear. This issue still need mozilla-mobile/android-components#9560 to be merged to fix. This problem is broken by the original workaround. |
I have removed the workaround that causes all these issues. Tomorrow's Nightly build should have the fix. Please verify. Thanks! |
Verified as fixed on Nightly 2/3 with Nexus 5 (Android 6.0.1). |
Still reproducible on |
Yes, I've confirmed that this fix will only show up in 86.0.0-beta.3 or above. Thanks, |
Prerequisites
Have fresh install or a clean profile
Steps to reproduce
Expected behavior
The overlay should emerge from the ⋮ "More options" button
Actual behavior
The overlay is misplaced, displayed on the upper right corner of the screen
Device information
Android device:
• OnePlus A3 (Android 6.0.1)
• Xiaomi Mi Pad 2 (Android 5.1)
Fenix version:
• Nightly 201217
• 85.0.0-beta.1
Notes
❗ Reproducible after long tapping any Top Site
❗ Reproducible with both List and Grid view
► Video
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: