focus-android icon indicating copy to clipboard operation
focus-android copied to clipboard

"Erase and Open" string truncates in en-US and localizations

Open Delphine opened this issue 7 years ago • 7 comments

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

Delphine avatar Aug 22 '17 22:08 Delphine

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: notification

pocmo avatar Aug 23 '17 08:08 pocmo

This new action landed in Aqua. I'll update the issue title!

pocmo avatar Aug 23 '17 08:08 pocmo

Confirm what Android version this started to happen, then let's get some telemetry to find out how many users are effected.

@pocmo & @bbinto

bbinto avatar Aug 28 '17 17:08 bbinto

Android 5 & 6 users are affected (~50%)

bbinto avatar Sep 06 '17 17:09 bbinto

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):

lobontiumira avatar Feb 18 '22 09:02 lobontiumira

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.

Screenshot_1

lobontiumira avatar May 11 '22 12:05 lobontiumira

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 ?

iorgamgabriel avatar Jul 22 '22 10:07 iorgamgabriel

Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1802254

Change performed by the Move to Bugzilla add-on.

cpeterso avatar Nov 24 '22 00:11 cpeterso