Closed Bug 1266383 Opened 9 years ago Closed 9 years ago

HomeScreenPrompt shown on top of tabs tray

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox49 fixed)

RESOLVED FIXED
Firefox 49
Tracking Status
firefox49 --- fixed

People

(Reporter: sebastian, Assigned: sebastian)

References

Details

Attachments

(2 files)

If you load a URL and switch to the tabs tray fast then it's possible that we show the HomeScreenPrompt on top of the tabs tray.
Assignee: nobody → s.kaspari
Status: NEW → ASSIGNED
Depends on: 1266477
Attachment #8743968 - Flags: review?(ahunt) → review+
Comment on attachment 8743968 [details] MozReview Request: Bug 1266383 - (Pre) BrowserAppDelegate - Add methods for tabs tray shown/hidden. r=ahunt https://reviewboard.mozilla.org/r/48209/#review45355 ::: mobile/android/base/java/org/mozilla/gecko/BrowserApp.java:2142 (Diff revision 1) > mTabsPanel.show(panel); > > // Hide potentially visible "find in page" bar (Bug 1177338) > mFindInPageBar.hide(); > + > + for (BrowserAppDelegate delegate : delegates) { nit: we could make delegate final. (Admittedly this loop is so simple we're unlikely to ever run into issues in future?) ::: mobile/android/base/java/org/mozilla/gecko/BrowserApp.java:2155 (Diff revision 1) > mTabsPanel.hide(); > if (mDoorHangerPopup != null) { > mDoorHangerPopup.enable(); > } > + > + for (BrowserAppDelegate delegate : delegates) { same here: we could make this final!
Comment on attachment 8743969 [details] MozReview Request: Bug 1266383 - Do not show HomeScreenPrompt if tab is not in foreground. r=ahunt https://reviewboard.mozilla.org/r/48211/#review45357
Attachment #8743969 - Flags: review?(ahunt) → review+
https://reviewboard.mozilla.org/r/48209/#review45355 > nit: we could make delegate final. > > (Admittedly this loop is so simple we're unlikely to ever run into issues in future?) Good call. I'll actually add this for all loops of bug 1266477 too.
Comment on attachment 8743968 [details] MozReview Request: Bug 1266383 - (Pre) BrowserAppDelegate - Add methods for tabs tray shown/hidden. r=ahunt Review request updated; see interdiff: https://reviewboard.mozilla.org/r/48209/diff/1-2/
Attachment #8743968 - Attachment description: MozReview Request: Bug 1266383 - (Pre) BrowserAppDelegate - Add methods for tabs tray shown/hidden. r?ahunt → MozReview Request: Bug 1266383 - (Pre) BrowserAppDelegate - Add methods for tabs tray shown/hidden. r=ahunt
Attachment #8743969 - Attachment description: MozReview Request: Bug 1266383 - Do not show HomeScreenPrompt if tab is not in foreground. r?ahunt → MozReview Request: Bug 1266383 - Do not show HomeScreenPrompt if tab is not in foreground. r=ahunt
Comment on attachment 8743969 [details] MozReview Request: Bug 1266383 - Do not show HomeScreenPrompt if tab is not in foreground. r=ahunt Review request updated; see interdiff: https://reviewboard.mozilla.org/r/48211/diff/1-2/
https://hg.mozilla.org/integration/fx-team/rev/be988dc7bd2063d7ad0c75e9244fe6aa1a998b84 Bug 1266383 - (Pre) BrowserAppDelegate - Add methods for tabs tray shown/hidden. r=ahunt https://hg.mozilla.org/integration/fx-team/rev/b3c8e62a256c810a20cfee8dd127d00b7602af8c Bug 1266383 - Do not show HomeScreenPrompt if tab is not in foreground. r=ahunt
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: