Closed
Bug 1471340
Opened 7 years ago
Closed 6 years ago
Unable to scroll after watching fullscreen video
Categories
(GeckoView :: Media, defect, P2)
Tracking
(firefox-esr52 wontfix, firefox-esr60 wontfix, firefox61 wontfix, firefox62 wontfix, firefox63 wontfix, firefox64 wontfix, firefox65 wontfix, firefox66 wontfix, firefox67 affected, firefox68 affected)
People
(Reporter: snorp, Assigned: mbrubeck)
References
Details
(Whiteboard: [geckoview:fenix:m5])
STR
1) Go to youtube.com and start a video in fullscreen mode
2) Exit fullscreen by hitting back. In Focus this erroneously causes a navigation, which may be an important detail.
3) Try to scroll. Only the urlbar moves (in Focus, at least).
| Reporter | ||
Comment 1•7 years ago
|
||
Randall reports that Firefox Reality has this bug as well
Updated•7 years ago
|
Comment 3•7 years ago
|
||
Susheel, James says this scrolling bug happens in Focus but not the geckoview_example test app. Can a Focus engineer investigate if this is a Focus bug?
Randall says Firefox Reality has this bug, too, so either Firefox Reality has the same app-side bug or this is a GV bug.
status-firefox61:
--- → wontfix
status-firefox-esr52:
--- → wontfix
status-firefox-esr60:
--- → wontfix
Flags: needinfo?(sdaswani)
Chris the fact that FR has this bug too leans towards it being a GV bug (unless FR using the Focus code base?), but I filed an issue and it will come up in the next triage meeting.
https://github.com/mozilla-mobile/focus-android/issues/2852
Flags: needinfo?(sdaswani)
Comment 5•7 years ago
|
||
Randall, leaving a NI for when you're back, is this something you could drive/own?
Flags: needinfo?(rbarker)
Comment 6•7 years ago
|
||
[geckoview:klar:p1] because this bug is a Focus+GV blocker.
Whiteboard: [geckoview:klar] → [geckoview:klar:p1]
Updated•7 years ago
|
Assignee: nobody → rbarker
Flags: needinfo?(rbarker)
Comment 7•7 years ago
|
||
Firefox Reality had this issue. I was able to fix the issue by checking before calling GeckoSession.goBack() if it was currently in fullscreen and exiting fullscreen instead of calling goBack. GeckoView should probably not get into a bad state from calling goBack when in fullscreen, but there is at least a workaround.
Comment 8•7 years ago
|
||
P2 because the app should be handling the back button and telling GV to exit fullscreen. This bug is asking for GV to exit fullscreen itself for apps that don't handle the back button properly themselves.
Priority: P1 → P2
Whiteboard: [geckoview:klar:p1]
| Assignee | ||
Comment 9•7 years ago
|
||
I can work on this.
What exactly is the desired behavior? When `GeckoSession::goBack` is called while the app is full-screen, should it automatically exit full screen instead of navigating back, so that each app doesn't need to implement this behavior? Or should we fix the scrolling bug and allow history navigation during full-screen, in case some apps have a use case for it?
Assignee: rbarker → mbrubeck
Flags: needinfo?(snorp)
| Reporter | ||
Comment 10•7 years ago
|
||
(In reply to Matt Brubeck (:mbrubeck) from comment #9)
> I can work on this.
>
> What exactly is the desired behavior? When `GeckoSession::goBack` is called
> while the app is full-screen, should it automatically exit full screen
> instead of navigating back, so that each app doesn't need to implement this
> behavior? Or should we fix the scrolling bug and allow history navigation
> during full-screen, in case some apps have a use case for it?
I think according to spec Gecko should exit fullscreen when beginning a navigation. I'm pretty sure this used to work, so we just need to find out why it's not and fix it.
Flags: needinfo?(snorp)
| Assignee | ||
Comment 11•7 years ago
|
||
Some notes for myself:
1. `nsIDocument::OnPageHide` should be called when navigating away from a page.
2. This calls `nsIDocument::ExitFullscreenInDocTree` which should exit full screen.
3. That creates a `ExitFullscreenScriptRunnable` which dispatches "MozDOMFullscreen:Exited" to chrome.
4. `GeckoViewContent` listens for this event, sends some messages, and should ultimately call `windowUtils.remoteFrameFullscreenReverted()`.
| Assignee | ||
Comment 12•7 years ago
|
||
Adding some logging to GeckoViewContent, it never seems to receive the "MozDOMFullscreen:Exited" message, either in the content or chrome side.
Updated•7 years ago
|
Updated•6 years ago
|
Product: Firefox for Android → GeckoView
Updated•6 years ago
|
Version: Firefox 59 → 59 Branch
This should probably block Fenix
Comment 14•6 years ago
|
||
(In reply to Anthony Jones (:ajones, :kentuckyfriedtakahe, :k17e) from comment #13)
This should probably block Fenix
OK. Adding [geckoview:fenix:m5] whiteboard tag to track for Fenix MVP.
status-firefox66:
--- → wontfix
status-firefox67:
--- → affected
status-firefox68:
--- → affected
Whiteboard: [geckoview:fenix:m5]
Updated•6 years ago
|
Comment 15•6 years ago
|
||
67=wontfix. Fenix MVP will use GeckoView 68, so we don't need to uplift this fix to 67 Beta unless it also affects Fennec 67.
Comment 17•6 years ago
|
||
Closing as INVALID because snorp says this bug should be fixed in Fenix app code, not GV. Fenix needs to handle Back button navigation and exit full screen mode.
OTOH, when Fenix, FxR, and Focus+GV all have the exact same bug, perhaps GV needs to do more to help app developers handle this situation.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Comment 18•3 years ago
|
||
Moving some media bugs to the new GeckoView::Media component.
Component: General → Media
You need to log in
before you can comment on or make changes to this bug.
Description
•