Closed
Bug 774648
Opened 13 years ago
Closed 13 years ago
MultiChoicePreference should grey out the Positive option if no checkboxes are selected
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox15 verified, firefox16 verified, firefox17 verified)
VERIFIED
FIXED
Firefox 17
People
(Reporter: xti, Assigned: bnicholson)
Details
Attachments
(2 files, 1 obsolete file)
|
67.00 KB,
image/png
|
Details | |
|
2.75 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Firefox 17.a1 (2012-07-17)
Device: Galaxy Nexus
OS: Android 4.0.4
Steps to reproduce:
1. Open Firefox
2. Go to Menu > Settings > Import from Android
3. Uncheck Bookmarks and History
Expected result:
Import button is grayed out.
Actual result:
Import button is still active, as you can see in the attached screenshot.
Updated•13 years ago
|
Summary: Import button is still active if all options were unchecked in Import from Android feature → MultiChoicePreference should grey out the Positive option if no checkboxes are selected
Comment 1•13 years ago
|
||
On import, I see I/AndroidImport(n): Importing Android history/bookmarks, but no items are imported.
Comment 2•13 years ago
|
||
You'll get that message if the routine is activated, no matter if it ends up doing anything or not.
| Assignee | ||
Comment 3•13 years ago
|
||
It's possible we may still want to show a dialog where the button can be clicked even if all options are deselected, but we can just address that if/when we need it in the future.
Assignee: nobody → bnicholson
Status: NEW → ASSIGNED
Attachment #643110 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 4•13 years ago
|
||
Some minor changes (uses break instead of early return, and only sets enabled state if it has changed).2
Attachment #643110 -
Attachment is obsolete: true
Attachment #643110 -
Flags: review?(mark.finkle)
Attachment #643114 -
Flags: review?(mark.finkle)
Comment 5•13 years ago
|
||
Comment on attachment 643114 [details] [diff] [review]
Enable positive button in MultiChoicePreference only if items are checked, v2
Need uplift to aurora and beta?
Attachment #643114 -
Flags: review?(mark.finkle) → review+
| Assignee | ||
Comment 6•13 years ago
|
||
| Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 643114 [details] [diff] [review]
Enable positive button in MultiChoicePreference only if items are checked, v2
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 754335
User impact if declined: use can choose to clear private data or import from Android without anything checked
Testing completed (on m-c, etc.): just landed m-i
Risk to taking this patch (and alternatives if risky): low risk
String or UUID changes made by this patch: none
Attachment #643114 -
Flags: approval-mozilla-beta?
Attachment #643114 -
Flags: approval-mozilla-aurora?
Comment 8•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Updated•13 years ago
|
status-firefox17:
affected → ---
Updated•13 years ago
|
Attachment #643114 -
Flags: approval-mozilla-beta?
Attachment #643114 -
Flags: approval-mozilla-beta+
Attachment #643114 -
Flags: approval-mozilla-aurora?
Attachment #643114 -
Flags: approval-mozilla-aurora+
| Assignee | ||
Comment 9•13 years ago
|
||
| Assignee | ||
Comment 10•13 years ago
|
||
status-firefox15:
--- → fixed
Comment 11•13 years ago
|
||
It should be backed out from 15.0b2 because of the regression.
Comment 12•13 years ago
|
||
Based on Brian's dependency cut, forget comment 11.
Comment 13•13 years ago
|
||
Confused, I see this landed on mozilla-beta, but the changes are not in the mozilla-beta (15, beta 2, build #1) build. What happened?
Comment 14•13 years ago
|
||
You might be seeing this:
https://bugzilla.mozilla.org/show_bug.cgi?id=769896
Comment 15•13 years ago
|
||
Confirmed, verifying this by using the 'Clear private data' popup.
Status: RESOLVED → VERIFIED
status-firefox17:
--- → verified
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•