Closed Bug 1079411 Opened 10 years ago Closed 7 years ago

Update FMD launcher to use SettingsListener.observe

Categories

(Firefox OS Graveyard :: FindMyDevice, defect)

x86
macOS
defect
Not set
normal

Tracking

(tracking-b2g:backlog, b2g-v2.1 unaffected, b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
tracking-b2g backlog
Tracking Status
b2g-v2.1 --- unaffected
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: jhirsch, Unassigned)

References

Details

We currently manually check the 'findmydevice.enabled' setting, then wire up a separate observer.

Simplify the code by switching to `SettingsListener.observe('findmydevice.enabled', false, cb)`.

This was suggested in the review for bug 1062558, but I'm putting it off to try to land the fix more quickly, and change as little as possible in the existing code.
Assignee: nobody → 6a68
See Also: → 1062558
Per bug 1062558, this is the v2.2/v3.0 fix for a bug that's marked a v2.1 blocker.
blocking-b2g: --- → 2.2?
I don't have time for this, and I am not currently working on Gaia stuff, can anyone else take this?
Assignee: 6a68 → nobody
Flags: needinfo?(lissyx+mozillians)
Flags: needinfo?(arthur.chen)
I don't either, and I fear we regress bug 1105639, because .observe() will add a new observer each time ...
Flags: needinfo?(lissyx+mozillians)
In B2G triage and triage is blocking based on FMD UX being high priority for 2.2; possible regressing of other bugs; and 2.1+ history.
blocking-b2g: 2.2? → 2.2+
I don't have time either. This seems not a blocker to me as it is only code refinement and has nothing to do with the UX.
Flags: needinfo?(arthur.chen)
Tarek, is it something that your team is working on? Thank you.
Flags: needinfo?(tarek)
Hi, Ian, is it something that you can help? Thanks.
Flags: needinfo?(tarek) → needinfo?(ianb)
See response in bug 1124335, comment 7
Flags: needinfo?(ianb)
Guilherme, could you help on this?
Flags: needinfo?(guilherme.p.gonc+bmo)
This bug got filed during the review process for bug 1062558 to track a simple refactoring change to be made to FMD's launcher in the system app. That code has changed quite a bit since then, and that refactoring is no longer straightforward in v2.2

However, the problem addressed in bug 1062558 should still be present in v2.2, and I see comments in bug 1062558 suggesting that we use this bug to fix v2.2. I personally think we should file a separate bug for that, but leave this one open for now as it may make sense to use SettingsListener after we've solved the new one.

Either way, I don't think I'll be able to work on this, sorry. I've only been involved with Mozilla as a volunteer for a few months now, and this will take more time than I'm capable of sparing these days.
Flags: needinfo?(guilherme.p.gonc+bmo)
Hi Alexandre, do you have time for this now? Thanks.
Flags: needinfo?(lissyx+mozillians)
I don't have time.
Flags: needinfo?(lissyx+mozillians)
(In reply to Stephany Wilkes from comment #4)
> In B2G triage and triage is blocking based on FMD UX being high priority for
> 2.2; possible regressing of other bugs; and 2.1+ history.

Sorry. Could you remind us which item[1] this bug blocks to? 
[1] https://wiki.mozilla.org/B2G/Triage#Issues_that_Should_Block
blocking-b2g: 2.2+ → 2.2?
(In reply to Kevin Hu [:khu] from comment #13)
> (In reply to Stephany Wilkes from comment #4)
> > In B2G triage and triage is blocking based on FMD UX being high priority for
> > 2.2; possible regressing of other bugs; and 2.1+ history.
> 
> Sorry. Could you remind us which item[1] this bug blocks to? 
> [1] https://wiki.mozilla.org/B2G/Triage#Issues_that_Should_Block

does not look like a new regression and currently blocks a refactoring bug. Steph, not sure if I am missing to consider anything for this to block on 2.2 at this time. Feel free to NI me in that case, for now I am removing the nom here.
blocking-b2g: 2.2? → ---
[Tracking Requested - why for this release]:

Seems like no one is available to fix FMD bug in general, putting it to the b2g-tracking backlog
WONTFIX-ing my fxos bugs
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.