Closed
Bug 827288
Opened 13 years ago
Closed 13 years ago
Pressing home to exit activity picker gets device into busted state
Categories
(Firefox OS Graveyard :: Gaia, defect, P2)
Tracking
(blocking-basecamp:+)
People
(Reporter: Margaret, Assigned: vingtetun)
Details
Attachments
(1 file)
|
1.78 KB,
patch
|
Margaret
:
review+
|
Details | Diff | Splinter Review |
STR:
1) Open gallery app
2) Select photo
3) Tap share icon
4) Tap home button
Expected results:
Return to home screen
Actual results:
Gray background covers screen
Updated•13 years ago
|
Assignee: nobody → alive
Comment 1•13 years ago
|
||
Reproduced and had to reboot to get things working again.
| Reporter | ||
Comment 2•13 years ago
|
||
I started looking into this, and I found that the transitionend listener in list_menu.js is never firing. It doesn't look like this logic has changed in a while, do we know if this was ever working properly or if this is a recent regression?
Updated•13 years ago
|
Assignee: alive → margaret.leibovic
Updated•13 years ago
|
blocking-basecamp: ? → +
Priority: -- → P2
Target Milestone: --- → B2G C4 (2jan on)
Comment 3•13 years ago
|
||
I found that if the listener is registered on the document object, the transitionend event is received. Maybe a platform bug?
| Assignee | ||
Comment 4•13 years ago
|
||
The patch just add a
setTimeout(function() {
container.classList.add('slidedown');
});
Attachment #698978 -
Flags: review?(margaret.leibovic)
| Reporter | ||
Comment 5•13 years ago
|
||
Comment on attachment 698978 [details] [diff] [review]
Patch
Ew, setTimeout. Do you know why this works? I assume it's related to weird stuff going on with the 'home' event. I think you should add a comment about why we're doing this.
Also, you shouldn't make so many unnecessary style changes in your patch :P
r+, but I would prefer if you land this with a comment, and consider minimizing the extra changes.
Attachment #698978 -
Flags: review?(margaret.leibovic) → review+
| Reporter | ||
Updated•13 years ago
|
Assignee: margaret.leibovic → 21
| Assignee | ||
Comment 6•13 years ago
|
||
(In reply to Margaret Leibovic [:margaret] from comment #5)
> Comment on attachment 698978 [details] [diff] [review]
> Patch
>
> Ew, setTimeout. Do you know why this works? I assume it's related to weird
> stuff going on with the 'home' event. I think you should add a comment about
> why we're doing this.
>
> Also, you shouldn't make so many unnecessary style changes in your patch :P
>
> r+, but I would prefer if you land this with a comment, and consider
> minimizing the extra changes.
https://github.com/mozilla-b2g/gaia/commit/39caebce2231846dd2fa4b70851322707bbb9843
Argh! I merged too quickly with the extra changes. Sorry about that (I don't think those are harmfuls but yeah they are not really useful for the purpose of this patch...), I don't think it worth a backout though.
I will do better next time!
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Not able to reproduce this bug using B2G 1.0.0-prerelease 18.0 20130110070201 build. Marking verified fixed.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•