Closed Bug 1213299 Opened 9 years ago Closed 5 years ago

Cancel download dialog should not use "ok"/"cancel" buttons

Categories

(Firefox for Android Graveyard :: Download Manager, defect)

Unspecified
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: keunwoo, Unassigned, Mentored)

References

Details

(Whiteboard: [lang=java][good next bug])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Android 5.1; Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
Build ID: 20150917151118

Steps to reproduce:

1. Start a slow download.
2. Tap the pull down notification (not pause or cancel, but the main label).

Device is on Android 5.1.


Actual results:

A dialog pops up asking "Cancel download?" with two buttons, one labeled "Cancel" and the other labeled "Ok". It is not obvious whether the user should cancel the download by selecting "Cancel" or whether selecting "Cancel" continues downloading.


Expected results:

The button label text should be clearer, something like "Yes, cancel" and "No, continue download".
OS: Unspecified → Android
That's awkward. :) Thanks for filing.

Anthony, do you agree?
Mentor: michael.l.comella, liuche
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(alam)
Whiteboard: [lang=java][good next bug]
Hi!

I'd like to work on this. I'm new to Firefox for Android (and open-source contributions) so I'm hoping to get started by working on this tweak. :)

Thanks.
Mohamed
Hey,

I've just had a look through the code for the very first time! I've found DownloadNotifications.jsm; specifically ConfirmCancelPrompt which instantiates a confirm prompt from Services.prompt. Digging around some more, Services.jsm is a resource file which contains prompts... which points to NsIPromptService.

Looking through the docs here

https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIPromptService#confirm()

It doesn't appear there is a property available to change the text for OK/Cancel. Any ideas?

Thanks!
This seems like a dupe of bug 1156252. So, I'm just going to move the conversation there.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(alam)
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Status: REOPENED → NEW

This seems to be a duplicate of a bug that is marked as RESOLVED. Will this defect also be closed or can I take it up? I've got a working build set up and ready to go.

No. Taping on the notification now takes you to the downloads list. The behavior does not exist as described in comment 0 so closing.

Status: NEW → RESOLVED
Closed: 9 years ago5 years ago
Resolution: --- → INVALID
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: