Closed
Bug 974178
Opened 11 years ago
Closed 11 years ago
The Case of the Missing Marketplace Icon/back button
Categories
(Marketplace Graveyard :: Consumer Pages, defect, P2)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: krupa.mozbugs, Assigned: mstriemer)
References
Details
(Whiteboard: [cosmetic])
Attachments
(5 files)
Android: 4.4.2/Nightly 30.0a1(2014-02-18)
steps to reproduce:
1. Load marketplace-dev.allizom.org on Firefox mobile
2. Browse around to an app details page
3. Notice the Homepage icon
actual behavior:
Homepage icon disappears on you and it is not easy to get back to homepage.
Updated•11 years ago
|
Priority: -- → P1
Updated•11 years ago
|
Assignee: nobody → mstriemer
Assignee | ||
Comment 1•11 years ago
|
||
I can only reproduce this partially. I see that when I go to a detail page that the marketplace icon disappears, but it is because the back arrow is supposed to show up and the back arrow eventually appears (albeit slowly sometimes). Are there any cases where this gets stuck without the icon ever appearing? I've seen several second delays but I haven't been able to get it to not appear.
Flags: needinfo?(krupa.mozbugs)
Reporter | ||
Comment 2•11 years ago
|
||
When I navigate to the details page, if the back button is missing, it never loads for me. However, this does not happen all the time. Making this a P2.
Flags: needinfo?(krupa.mozbugs)
Priority: P1 → P2
Summary: The Case of the Missing Marketplace Icon → The Case of the Missing Marketplace Icon/back button
Assignee | ||
Comment 3•11 years ago
|
||
I'm thinking that adding prefetching might be the best we can do here and with the spinner on install. I don't see anything in the ashes as to why these aren't showing up so hopefully it is just loading slowly and prefetching will fix it.
Status: NEW → ASSIGNED
Comment 4•11 years ago
|
||
If the image was there and it dissappears, have you tried forcing a repaint of the back button?
Historically we had some strange issues with disappearing images in b2g and the only "hacky" solution that worked was to poke the z-index of the element concerned which caused the layer to be repainted. E.g it would always bump the z-index up or down by one. You could also try using something simple like $foo.toggleClass('redraw') first too.
Assignee | ||
Comment 5•11 years ago
|
||
I managed to reproduce this once on -dev and checked the network panel of the dev tools and the request for the "active" back arrow had a grey icon which seems to indicate that it hasn't started yet. I clicked on it to get more info but I also put the phone down and then the image was requested. I'm wondering if switching to landscape caused it to load.
I tried setting the z-index with `$('.nav-back').css({'z-index': 100})` and then moved it up/down a few times and it never appeared. Toggling the `redraw` class a few times also did nothing (I'm not sure if that is a special class or an example but it's the one I tried).
No luck reproducing it again yet. I'm also wondering if it has something to do with that zoom we see when the keyboard closes since both times I've reproduced this it has been after creating/editing a review.
Assignee | ||
Comment 6•11 years ago
|
||
I have a few questions krupa since I can't reproduce this reliably.
1. Does the arrow ever disappear without tapping it?
2. Do you need to do anything special to make it disappear? (close keyboard, view a review, etc)
3. Does switching the device orientation make the arrow appear?
4. When it is missing does tapping on the page make it appear? (not a link just removing any focus that's set)
Flags: needinfo?(krupa.mozbugs)
Assignee | ||
Comment 7•11 years ago
|
||
Andy reproduced this and it looks like there was a GC cycle right before the image went away. I'm hoping adding an Expires header will keep the image from being dropped https://dpaste.de/8i7W.
Assignee | ||
Comment 8•11 years ago
|
||
We now have expires headers on dev and stage, can you see if you can still reproduce this there please, krupa?
Reporter | ||
Comment 10•11 years ago
|
||
I was able to see the missing back button issue on the search screen. Ashes and screenshot available in comment 9.
Assignee | ||
Comment 11•11 years ago
|
||
Looks like you also hit the GET requests failing bug at the same time. I have another test for you:
1. Get the back button to disappear.
2. Use the missing back button to go all the way back to the homepage.
* Does the marketplace icon appear?
3. Click on an app you haven't been to.
* Is the back button still missing?
Also how much memory does your phone have? Or what's the make/model, I should probably get one since it seems to be really good at reproducing bugs...
Reporter | ||
Comment 12•11 years ago
|
||
(In reply to Mark Striemer [:mstriemer] from comment #11)
> Looks like you also hit the GET requests failing bug at the same time. I
> have another test for you:
>
> 1. Get the back button to disappear.
> 2. Use the missing back button to go all the way back to the homepage.
> * Does the marketplace icon appear?
> 3. Click on an app you haven't been to.
> * Is the back button still missing?
>
> Also how much memory does your phone have? Or what's the make/model, I
> should probably get one since it seems to be really good at reproducing
> bugs...
Marketplace icon appears on the homepage but upon visiting a new details page, the back button is still missing.
I'm on an Samsung Android phone 4.0.3 version. Device memory is around 2GB.
Reporter | ||
Comment 13•11 years ago
|
||
>
> I'm on an Samsung Android phone 4.0.3 version. Device memory is around 2GB.
s/an/a
Reporter | ||
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
We can't reproduce this anymore, see also bug 977704.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Updated•11 years ago
|
Resolution: WONTFIX → FIXED
Reporter | ||
Comment 16•11 years ago
|
||
Hit this issue a few seconds after andy closed the bug.
ashes: a99f0
nightly 30.0a1(03-13)
Reporter | ||
Comment 17•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 18•11 years ago
|
||
Your latest ashes don't work for me but it looks like this bug appears alongside the GET requests fail bug. Can you reproduce and post some more ashes krupa?
This is the part that I see when GET requests are failing and it appears in your original ashes right after you search for :paid.
[req] Opening pool
[req] GETing https://marketplace.allizom.org/api/v1/apps/search/?cache=1&dev=android&device=mobile&full_q=%3Apaid&lang=en-US&premium_types=premium&q=®ion=restofworld&vary=0
[tracking] Tracking page view /search?q=%3Apaid
[nav] Pushed state onto stack: /search?q=%3Apaid
->[req] Request failed: GET
[req] Closing pool
Reporter | ||
Comment 19•11 years ago
|
||
Myk has my test device and when I get them back, I'll retest it.
Reporter | ||
Comment 20•11 years ago
|
||
I can confirm that this is a side-effect of GET requests failing.
Reporter | ||
Updated•11 years ago
|
Whiteboard: [cosmetic]
Assignee | ||
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•