Closed
Bug 1013509
Opened 12 years ago
Closed 12 years ago
Geolocation permission prompt will never hide
Categories
(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)
Tracking
(blocking-b2g:2.0+, b2g-v1.4 unaffected, b2g-v2.0 verified, b2g-v2.1 verified)
| Tracking | Status | |
|---|---|---|
| b2g-v1.4 | --- | unaffected |
| b2g-v2.0 | --- | verified |
| b2g-v2.1 | --- | verified |
People
(Reporter: hub, Assigned: aus)
References
Details
(Keywords: regression, Whiteboard: [systemsfe][p=3])
Attachments
(2 files)
This happen programmatically. On a flame, but likely on other devices.
Completely reset gaia.
|APP=camera make test-perf|
Camera app will start, ask for permission.
Camera app will be quit.
Permission prompt is still there.
Expected:
Permission prompt should be removed, treating the whole thing like operation was cancelled: permission remains unchanged.
Lockscreen will be underneath the geolocation prompt.
You can see the lockscreen through the overlay.
Gaia 87a7746568ac5708e828026160c0732ba252300f
Gecko https://hg.mozilla.org/mozilla-central/rev/c43be7e4ec49
BuildID 20140626040205
Version 33.0a1
ro.build.version.incremental=eng..20140508.024737
ro.build.date=Thu May 8 02:48:06 CST 2014
Doesn't seem to happen in 1.4
blocking-b2g: --- → 2.0?
status-b2g-v1.4:
--- → unaffected
status-b2g-v2.0:
--- → affected
status-b2g-v2.1:
--- → affected
Keywords: regression
Updated•12 years ago
|
Component: Gaia → Gaia::System::Window Mgmt
Keywords: regressionwindow-wanted
Updated•12 years ago
|
QA Contact: ddixon
Comment 3•12 years ago
|
||
B2G Inbound Regression Window
Last Working
Device: Flame Master
Build ID: 20140612002012
Gaia: ba365c8f7feda34e582ce1721cf538f417c92a75
Gecko: db71d2354a77
Version: 33.0a1 (Master)
Firmware Version: v122
First Broken
Device: Flame Master
Build ID: 20140612004232
Gaia: 856395fcb9451f7b36184be9d337d103be647564
Gecko: fbe676419fa5
Version: 33.0a1 (Master)
Firmware Version: v122
Last Working Gaia and First Broken Gecko
Issue DOES NOT occur here.
Gaia: ba365c8f7feda34e582ce1721cf538f417c92a75
Gecko: fbe676419fa5
Last Working Gecko and First Broken Gaia
Issue DOES occur here.
Gaia: 856395fcb9451f7b36184be9d337d103be647564
Gecko: db71d2354a77
Gaia Pushlog:
https://github.com/mozilla-b2g/gaia/compare/ba365c8f7feda34e582ce1721cf538f417c92a75...856395fcb9451f7b36184be9d337d103be647564
Possible causes:
Bug 1011589 - Follow-up, update gaia_node_modules.revision
Bug 1020959 - [vertical] search bar is visible when geolocation promp…
Comment 4•12 years ago
|
||
Possibly broke by bug 1020959 - Kevin can you take a look?
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmitchell) → needinfo?(kgrandon)
Comment 5•12 years ago
|
||
I am looking now - we only changed z-indexing ordering, so if we're really killing the app and permission dialons like we should be, then this shouldn't be a problem.
Can a user get into this situation?
Flags: needinfo?(kgrandon)
Comment 6•12 years ago
|
||
Hub - few questions:
1 - Can a user get into this situation?
2 - Should we disable geolocation for test-perf as we do for marionetteJS tests? One example, https://github.com/mozilla-b2g/gaia/blob/master/apps/verticalhome/test/marionette/collection_uninstall_test.js#L41
Flags: needinfo?(hub)
Comment 7•12 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #6)
> Hub - few questions:
>
> 1 - Can a user get into this situation?
Yes. You just need to hit the home button with a prompt present in an app.
Updated•12 years ago
|
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][lead-review+]
Updated•12 years ago
|
blocking-b2g: 2.0? → 2.0+
Whiteboard: [systemsfe]
Comment 8•12 years ago
|
||
Kevin, it seems you are already working on this.
Assignee: nobody → kgrandon
Status: NEW → ASSIGNED
Comment 9•12 years ago
|
||
Not yet working on this, but might be able to investigate today. If I get time I will assign it to myself.
Assignee: kgrandon → nobody
| Assignee | ||
Comment 11•12 years ago
|
||
I can have a look at this today. The dialog should be getting dismissed when the application requesting it gets killed. Maybe we weren't doing that before and simply relying on the z-order to do this for us? Either way, I don't think it should be too hard to work around it for this release.
Flags: needinfo?(aus)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → aus
Target Milestone: --- → 2.0 S5 (4july)
| Assignee | ||
Comment 12•12 years ago
|
||
So, how exactly do I get this to happen as a user?
I've tried with the Camera app and the Geoloc test app which both bring up the permissions dialog. If I dismiss it by hitting the home button, it goes away as expected.
In the test, how do we quit the application exactly? Do we just kill it?
Comment 13•12 years ago
|
||
Dixon - you did the regression window here - can you please address comment 12, and elaborate on the exact repro-steps.
Flags: needinfo?(ddixon)
Keywords: qawanted
Aus figured it out. He can kill the app and get into that state.
More details on comment 1: I ran the script on device :
export MARIONETTE_RUNNER_HOST=marionette-device-host
make test-integration-test APP=camera
And then hit the power button while the overlay was up.
| Assignee | ||
Comment 16•12 years ago
|
||
Attachment #8449036 -
Flags: review?(alive)
Comment 17•12 years ago
|
||
Comment on attachment 8449036 [details] [review]
Pull Request - Dismiss Permission Request when Requester is terminated.
Good to me if this fixes the problem, could you have a test? Thank you.
Attachment #8449036 -
Flags: review?(alive) → review+
| Assignee | ||
Comment 18•12 years ago
|
||
Commit (master): https://github.com/mozilla-b2g/gaia/commit/1ba15ce1ae7254badd25fd276556c1b4f36c0a45
Commit (v2.0): https://github.com/mozilla-b2g/gaia/commit/3b6f00b9b755cdec454e63ae720e74882a6f8ea7
Fixed!
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [systemsfe] → [systemsfe][p=3]
| Reporter | ||
Comment 19•12 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #6)
> 2 - Should we disable geolocation for test-perf as we do for marionetteJS
> tests? One example,
> https://github.com/mozilla-b2g/gaia/blob/master/apps/verticalhome/test/
> marionette/collection_uninstall_test.js#L41
That's a possibility but given that it is fixed now....
Flags: needinfo?(hub)
Comment 20•11 years ago
|
||
Verified the issue is fixed on 2.0 and 2.1
The Geolocation prompt is hidden
"Flame 2.0
Device: Flame 2.0 (319mb)(Kitkat Base)(Shallow Flash)
Build ID: 20141118000207
Gaia: 1ede2666f1e6c1b3fd3b282011caf0cbc59544b0
Gecko: 2bea026d4f86
Version: 32.0 (2.0)
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0"
"Flame 2.1
Device: Flame 2.1 (319mb)(Kitkat Base)(Shallow Flash)
BuildID: 20141118001204
Gaia: 1b231b87aad384842dfc79614b2a9ca68a4b4ff3
Gecko: 95fbd7635152
Version: 34.0 (2.1)
Firmware: V188-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0"
Status: RESOLVED → VERIFIED
QA Whiteboard: [QAnalyst-Triage+][lead-review+] → [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Updated•11 years ago
|
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
You need to log in
before you can comment on or make changes to this bug.
Description
•