Permission snackbar prompt to allow storage access cropped

NEW
Unassigned

Status

()

3 years ago
3 years ago

People

(Reporter: aryx, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 8741960 [details]
storage permission prompt cropped.png

Firefox for Android 47.0a2 20160415, Sony Z3 Compact with Android 6.0.1

See the attached screenshot. The snack bar prompt requesting permission to the storage to e.g. save updates is cropped in English and more badly in some locales.
Mhmh, smaller screen, I guess our only option is to use a shorter string?

We only show this Snackbar on Nightly and Aurora. So I am less concerned about cutting it off.
Flags: needinfo?(alam)
Or: We remove the Snackbar completely. The reason we show it is that on Aurora/Nightly we need the permission for our custom updater. However in the case an update is available but can't be downloaded because of the permission, we already show a notification.
(In reply to Sebastian Kaspari (:sebastian) from comment #2)
> Or: We remove the Snackbar completely. The reason we show it is that on
> Aurora/Nightly we need the permission for our custom updater. However in the
> case an update is available but can't be downloaded because of the
> permission, we already show a notification.

If it's really that important, can't we put this in a dialog? That way, there's no way a user can miss the prompt. 

We could even keep the same copy.
Flags: needinfo?(alam)
If you have control of the layout, can you increase the line count e.g. by decreasing the padding?
(In reply to Anthony Lam (:antlam) from comment #3)
> If it's really that important, can't we put this in a dialog? That way,
> there's no way a user can miss the prompt. 

A dialog is super annoying and in-your-face. I'd rather push for removing the snackbar completely and only using the notification (see comment 2).


(In reply to Sebastian H. [:aryx][:archaeopteryx] from comment #4)
> If you have control of the layout, can you increase the line count e.g. by
> decreasing the padding?

We are using a component from the support library that is following the guidelines very strictly:
https://www.google.com/design/spec/components/snackbars-toasts.html#snackbars-toasts-usage

The snackbar is not really made for long texts:

> Very short text strings
> Snackbars should contain a single line of text directly related to the operation performed.
> They may contain a text action. They cannot contain icons.
You need to log in before you can comment on or make changes to this bug.