Closed
Bug 774648
Opened 12 years ago
Closed 12 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•12 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•12 years ago
|
||
On import, I see I/AndroidImport(n): Importing Android history/bookmarks, but no items are imported.
Comment 2•12 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•12 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•12 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•12 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•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/d3fc89f462d2
Assignee | ||
Comment 7•12 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•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d3fc89f462d2
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Updated•12 years ago
|
status-firefox17:
affected → ---
Updated•12 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•12 years ago
|
||
http://hg.mozilla.org/releases/mozilla-aurora/rev/985eaf394b52
Assignee | ||
Comment 10•12 years ago
|
||
http://hg.mozilla.org/releases/mozilla-beta/rev/23394d756bda
status-firefox15:
--- → fixed
Comment 11•12 years ago
|
||
It should be backed out from 15.0b2 because of the regression.
Comment 12•12 years ago
|
||
Based on Brian's dependency cut, forget comment 11.
Comment 13•12 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•12 years ago
|
||
You might be seeing this: https://bugzilla.mozilla.org/show_bug.cgi?id=769896
Comment 15•12 years ago
|
||
Confirmed, verifying this by using the 'Clear private data' popup.
Status: RESOLVED → VERIFIED
status-firefox17:
--- → verified
Updated•4 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
•