focus-android
focus-android copied to clipboard
"Erase and Open" string truncates in en-US and localizations
This is the string used for DeleteHistory_NotificationBar: "Erase and Open" truncates a lot. As you can see, only "Erase" appears - truncating entirely "and open"
- Screenshot for en-US: https://github.com/npark-mozilla/npark-mozilla.github.io/blob/master/en-US/images/phoneScreenshots/DeleteHistory_NotificationBar_1503431377134.png
- And French as example: https://github.com/npark-mozilla/npark-mozilla.github.io/blob/master/fr/images/phoneScreenshots/DeleteHistory_NotificationBar_1503424559104.png
We discussed this in #870. This seems to only happen on small devices with older versions of Android (Unfortunately that's exactly what @npark-mozilla uses for the screenshots). Newer versions do not show the icon and have a layout that allows longer text. Back in #870 we decided to live with this issue on older devices. But I'll flag this for our next triage meeting to re-discuss.
This is how the notification looks like on a modern device:
This new action landed in Aqua. I'll update the issue title!
Confirm what Android version this started to happen, then let's get some telemetry to find out how many users are effected.
@pocmo & @bbinto
Android 5 & 6 users are affected (~50%)
This is how the notification is displayed on a Samsung Galaxy Tab A6 (Android 5.1.1):

And this is on a Xiaomi mi4i (Android 5.0.2):

The "Erase and Open" string is still truncated on the latest Focus Nightly build 102.0a1 from 5/11 on Xiaomi mi4i (Android 5.0.2). The white button is described in #6627.
Android does not allow such long text in the notification and so the text is automatically clipped. The only feaseable solution is to use a smaller text that would fit in the space Android allows. @jeffreygee Can you help with another smaller text? Should we accept the issue since it reproduces only on Android 5.0 ?
Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1802254
Change performed by the Move to Bugzilla add-on.