Closed Bug 1010268 Opened 11 years ago Closed 11 years ago

Default home panel indicator is broken in settings in Fx30

Categories

(Firefox for Android Graveyard :: Settings and Preferences, defect)

30 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox29 unaffected, firefox30 verified, firefox31 unaffected, firefox32 unaffected, fennec30+)

RESOLVED FIXED
Firefox 30
Tracking Status
firefox29 --- unaffected
firefox30 --- verified
firefox31 --- unaffected
firefox32 --- unaffected
fennec 30+ ---

People

(Reporter: Margaret, Assigned: Margaret)

References

Details

Attachments

(1 file, 1 obsolete file)

This is fallout from bug 987175, we didn't update the PanelsPreferenceCategory logic to account for hiding the "Add panel" item: http://hg.mozilla.org/releases/mozilla-beta/annotate/f29ab60028d4/mobile/android/base/preferences/PanelsPreferenceCategory.java#l115
I'm working on properly removing this item in bug 1009586, so maybe we can just uplift that bug all the way to beta when it's ready, and that would fix this problem.
Assignee: nobody → margaret.leibovic
tracking-fennec: ? → 30+
Attached patch patch for beta (obsolete) — Splinter Review
This bug is only an issue if the first panel is your default panel, but it's a small and easy fix. I think we should do this.
Attachment #8423255 - Flags: review?(liuche)
Comment on attachment 8423255 [details] [diff] [review] patch for beta Review of attachment 8423255 [details] [diff] [review]: ----------------------------------------------------------------- Looks good.
Attachment #8423255 - Flags: review?(liuche) → review+
Comment on attachment 8423255 [details] [diff] [review] patch for beta Review of attachment 8423255 [details] [diff] [review]: ----------------------------------------------------------------- Oh wait, I think there's one more thing you need to change - see PanelsPreferenceCategory.refresh(). The preference removing can just be changed to removeAll().
Like this? I'm not sure how to test this logic path.
Attachment #8423255 - Attachment is obsolete: true
Attachment #8423751 - Flags: review?(liuche)
Comment on attachment 8423751 [details] [diff] [review] patch for beta (v2) Review of attachment 8423751 [details] [diff] [review]: ----------------------------------------------------------------- Yep! That's right. With the previous version of the patch, moving items up or down should cause some problems because the first item in the list is never removed during a refresh().
Attachment #8423751 - Flags: review?(liuche) → review+
Comment on attachment 8423751 [details] [diff] [review] patch for beta (v2) [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 987175 User impact if declined: "default" indicator can be missing from home panels settings Testing completed (on m-c, etc.): tested locally Risk to taking this patch (and alternatives if risky): low-risk, small change to home panels settings page String or IDL/UUID changes made by this patch: none
Attachment #8423751 - Flags: approval-mozilla-beta?
Attachment #8423751 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
Build: Firefox for Android 30 Beta 6 Device:Alcatel One Touch (Android 4.1.2) and Nexus 4 (Android 4.4.2) Following the steps from Bug 969060: The "default" subtext is present in the home panels settings.
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

Created:
Updated:
Size: