[Bug] "Added to Firefox Nightly home!" snackbar is incorrectly displayed on tablets in landscape mode
Steps to reproduce
- Launch Fenix.
- Rotate the device in landscape mode.
- Access any website.
- Tap on 3 dot menu and then
Add to top sites.
Expected behavior
The Added to Firefox Nightly home! snackbar should be correctly displayed.
Actual behavior
The Added to Firefox Nightly home! snackbar is incorrectly displayed in landscape, as the word home! is on a second row.
Device information
- Android device: Samsung Galaxy Tab A (Android 9).
- Fenix version: Nightly from 2/12.
Notes
On the mobile devices, the snackbar is displayed correctly in landscape.

┆Issue is synchronized with this Jira Task
Hello, I couldn't reproduce this with Samsung Galaxy Tab A (Android 8) or Samsung Galaxy S8, please see the picture below:

Hi, I can reproduce the issue with Google Pixel C (Android 8.0.0) on Firefox Beta Preview 4.0.0-beta.1 and Firefox Preview Nightly.
- Affected snack bar/notification on Firefox Beta:
"Open Link in new private tab"

Note: The word "opened" is displayed on the second row.
This is a side effect of using Autosizing on a TextView with more than one line and width other than a fixed one.
IMO this is an acceptable side-effect that does not occur very often. The alternatives would be either setting a fixed size for the SnackBar text or not allowing multiple rows (this might result in the text not being fully shown).
Leaving this to UX decision.
Thanks for the context. This seems like an edge case, and doesn't prevent people from using the app, so i'm going to drop the priority.
If this is an edge case and changing it would affect the optimal experience for the rest, then let's leave it as is.
See: https://github.com/mozilla-mobile/fenix/issues/17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.