Closed Bug 1213777 Opened 9 years ago Closed 7 years ago

Homescreens should not exist as an app in card view when installed via WebIDE

Categories

(Firefox OS Graveyard :: Developer Tools, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: twen, Unassigned)

References

Details

When homescreens are installed via WebIDE, they appears as an app in card view. Note, add-on installs do not appear in card view. In this test, I used Contacts Viewer https://github.com/mdn/data-store-contacts-viewer as sample code for homescreen. (By changing manifest "role: homescreen") [Repro Steps]: Prereq: apply the new home screen 1. Open WebIDE and connect to device 2. Open packaged app in WebIDE 3. Click Install and Run [Actual Result]: Homescreen opened and appears in card view. [Expected Result]: Homescreen installed but do not exist in card view. [Build Info]: Build ID 20151010114808 Gaia Revision 74b0d4b17f39d238a7997800bd9363d3c60f20c3 Gaia Date 2015-10-09 19:27:39 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/b68eab795f9de072bee12821b0f09422e5aa0da9 Gecko Version 44.0a1 Device Name aries Firmware(Release) 4.4.2 Firmware(Incremental) eng.worker.20151010.110754 Firmware Date Sat Oct 10 11:08:02 UTC 2015 Bootloader s1
The error here is that WebIDE launches the homescreen without first actually setting it as a homescreen, so it runs as an app (which is why the background is opaque and permissions may be missing). I think WebIDE should take responsibility for setting the homescreen setting to, changing the homescreen to any launched homescreen app in Gaia would be open to exploitation.
Component: Gaia::Homescreen → Developer Tools
(In reply to Chris Lord [:cwiiis] from comment #1) > The error here is that WebIDE launches the homescreen without first actually > setting it as a homescreen, so it runs as an app (which is why the > background is opaque and permissions may be missing). > > I think WebIDE should take responsibility for setting the homescreen setting > to, changing the homescreen to any launched homescreen app in Gaia would be > open to exploitation. What's needed to "set it as a homescreen"? Change some Gaia setting value?
Flags: needinfo?(chrislord.net)
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #2) > What's needed to "set it as a homescreen"? Change some Gaia setting value? Right, the setting homescreen.manifestURL - Something in FxOS should automatically sync the Gecko pref dom.mozApps.homescreenURL and Gaia system handles automatically launching and showing the homescreen. (i.e. changing the setting should be enough)
Flags: needinfo?(chrislord.net)
Blocks: 1180666
QA Whiteboard: [COM=New Homescreen]
Nominate for v2.5 because home screens displayed as as an app is confusing for users, and creates bad experience.
blocking-b2g: --- → 2.5?
(In reply to Teri Wen [:twen] from comment #4) > Nominate for v2.5 because home screens displayed as as an app is confusing > for users, and creates bad experience. Note, this isn't a user-facing bug - but it's still confusing for developers.
Not a blocker for 2.5. Need a fix but not required before RA. Thanks
blocking-b2g: 2.5? → ---
Firefox OS is not being worked on
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.