Closed Bug 1025695 Opened 5 years ago Closed 4 years ago

vertical homescreen gets confused by app-manager

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bkelly, Unassigned)

References

Details

(Whiteboard: [dogfood2.0])

Attachments

(1 file)

Attached image screenshot
I was debugging a problem with the FxStumbler[1] app on my v2.0 flame device.  Since I'm following the pvt nightlies I was using app-manager to install and update the app as I made changes.

I found that I had a separate icon on the vertical homescreen for each time I installed the app.  Deleting one of them from the homescreen caused their icons to revert to the default "unknown" icon and then I could no longer modify any of them.

It seems like vertical homescreen has some side database that doesn't understand when app-manager reinstalls an app and creates duplicate entries instead.

Is there any way for me to clean this up without wiping out the rest of my device?  I would like to avoid doing a make reset-gaia.
Whiteboard: [dogfood2.0]
Kevin, any thoughts on how I can clean up my homescreen without wiping my profile?  Thanks!
Flags: needinfo?(kgrandon)
I have not yet tried using the app manager to install apps on it at all, but it seems like something we should probably support. I'll add this to my list of things to look at, but right now I'm really not sure of the best solution without wiping your data. 

Give me a few days and I'll try to look into this.
Ben - could you give me a gaia commit hash by chance that you can repro this on? Also where can I find the FxStumbler app to test with that package?

Does a reboot solve the problem by chance?
Flags: needinfo?(kgrandon) → needinfo?(bkelly)
(In reply to Kevin Grandon :kgrandon from comment #3)
> Ben - could you give me a gaia commit hash by chance that you can repro this
> on? Also where can I find the FxStumbler app to test with that package?

I'm using the aurora update channel to dogfood v2.0.  My device currently reports gaia hash a6988c15.

The FxStumbler app is here:

  https://github.com/clochix/FxStumbler

I cloned it, ran 'make all', then installed it using app-manager.

> Does a reboot solve the problem by chance?

Unfortunately, no.

Does vertical homescreen have an IDB it uses to store icon position information?  If I erase that, will it regenerate default positioning for the apps on reboot?
Flags: needinfo?(bkelly)
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking-]
Yes, we have a IDB to just store positional information. If you remove the IDB for the verticahome.gaiamobile.org origin, it should resync everything also. Can you try that and let me know if it works? Thanks!
(In reply to Kevin Grandon :kgrandon from comment #5)
> Yes, we have a IDB to just store positional information. If you remove the
> IDB for the verticahome.gaiamobile.org origin, it should resync everything
> also. Can you try that and let me know if it works? Thanks!

Thanks!  That removed the ghost entries from the homescreen.  Leaving this bug open to address the original issue creating them.
Mass update: Resolve wontfix all issues with legacy homescreens.

As of 2.6 we have a new homescreen and having these issues open is confusing. All issues will block bug 1231115 so we can use that to re-visit any of these if needed.
Blocks: 1231115
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.