Closed Bug 767809 Opened 13 years ago Closed 13 years ago

Exiting full screen video keeps browser in full screen mode

Categories

(Firefox for Android Graveyard :: General, defect)

15 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox15 verified, firefox16 verified)

VERIFIED FIXED
Firefox 17
Tracking Status
firefox15 --- verified
firefox16 --- verified

People

(Reporter: martijn.martijn, Assigned: mbrubeck)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file)

Steps to reproduce: - Visit a video (like where the url points to) - Go into full screen - Tap on the Android back button Expected result: - Browser goes out of full screen mode Actual result: - Browser is still in full screen mode I can see this bug in current trunk build, but not in the latest Aurora build.
I cannot reproduce this issue on the latest Nightly. Should I do anything else then steps mentioned above? -- Firefox 16.0a1 (2012-06-27) Device: Galaxy Nexus OS: Android 4.0.2
I can't reproduce either anymore, so marking wfm.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Hrm, I can still reproduce it. I guess this is happening when you have only 1 tab open with the video and no 'back' history.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
(In reply to Martijn Wargers [:mw22] (QA - IRC nick: mw22) from comment #3) > Hrm, I can still reproduce it. > I guess this is happening when you have only 1 tab open with the video and > no 'back' history. I was able to reproduce it twice so far, following your suggestion, but still is hardly to make it happens. I will try to find a regression range
Last good build: 06/14 m-c Bad build: 06/15 m-c A possible regression range is: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3f408698a03f&tochange=da8c6039c25e -- Device: Galaxy Nexus OS: Android 4.0.2
I just hit what sounds like this on my galaxy S III. steps I did: * load http://blip.tv/day9 one of his newer videos with flash installed * press and hold in black area where video should be... select to enter full screen mode you are now in JUST a black screen * press android back button you are now in a full screen version of the whole page. * more back button presses bring you back to android desktop. reenter app...menu....quit and we are back to normal after restart while in bad mode no urlbar access to create more tabs etc
that was on aurora 15 from today. also just hit a weird typing bug while entering last comment someone remind me on circ to describe it ;-)
Assignee: nobody → mbrubeck
I get the following warnings in the log: I/GeckoApp( 3005): Got message: ToggleChrome:Hide I/dalvikvm( 3005): Could not find method android.view.View.setSystemUiVisibility, referenced from method org.mozilla.gecko.GeckoApp$31.run W/dalvikvm( 3005): VFY: unable to resolve virtual method 777: Landroid/view/View;.setSystemUiVisibility (I)V W/System.err( 3005): android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. W/System.err( 3005): at android.view.ViewRoot.checkThread(ViewRoot.java:2942) W/System.err( 3005): at android.view.ViewRoot.invalidateChild(ViewRoot.java:642) W/System.err( 3005): at android.view.ViewRoot.invalidateChildInParent(ViewRoot.java:668) W/System.err( 3005): at android.view.ViewGroup.invalidateChild(ViewGroup.java:2511) W/System.err( 3005): at android.view.View.invalidate(View.java:5276) W/System.err( 3005): at android.view.View.setFlags(View.java:4639) W/System.err( 3005): at android.view.View.setVisibility(View.java:3113) W/System.err( 3005): at org.mozilla.gecko.BrowserToolbar.hide(BrowserToolbar.java:546) W/System.err( 3005): at org.mozilla.gecko.BrowserApp.setFullScreen(BrowserApp.java:578) W/System.err( 3005): at org.mozilla.gecko.GeckoAppShell.setFullScreen(GeckoAppShell.java:1371) W/System.err( 3005): at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method) W/System.err( 3005): at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method) W/System.err( 3005): at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:483) W/System.err( 3005): at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:105) This code is running on the main thread because GeckoApp.setFullScreen posts to mMainHandler. It looks like it should be on a different thread instead (or we need to move some code from elsewhere to the main thread)?
Status: REOPENED → ASSIGNED
Attached patch patchSplinter Review
No wait, my last comment was incorrect. The problem is that BrowserApp.setFullScreen does *not* run its code on the UI thread. This patch just wraps that code in mMainHandler.post to fix this bug.
Attachment #643052 - Flags: review?(margaret.leibovic)
It looks like the problematic code was introduced by bug 753102, though I'm not sure why the bug didn't start happening until a few days after that patch landed. Maybe it was exposed by some other patch.
Blocks: 753102
Version: Trunk → Firefox 15
Attachment #643052 - Flags: review?(margaret.leibovic) → review+
Comment on attachment 643052 [details] [diff] [review] patch https://hg.mozilla.org/integration/mozilla-inbound/rev/6312d382ffc3 [Approval Request Comment] Bug caused by (feature/regressing bug #): Regression from bug 753102 User impact if declined: No way to exit full-screen mode after entering it. Testing completed (on m-c, etc.): Landed on inbound 7/18 Risk to taking this patch (and alternatives if risky): This is a very low-risk mobile-only patch that just moves some code back onto the UI thread, after it was accidentally moved off of the UI thread. This code is only run when entering and exiting full screen on Android. String or UUID changes made by this patch: None.
Attachment #643052 - Flags: approval-mozilla-beta?
Attachment #643052 - Flags: approval-mozilla-aurora?
Attachment #643052 - Flags: approval-mozilla-beta?
Attachment #643052 - Flags: approval-mozilla-beta+
Attachment #643052 - Flags: approval-mozilla-aurora?
Attachment #643052 - Flags: approval-mozilla-aurora+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Status: RESOLVED → VERIFIED
Unable to reproduce the issue on: Firefox Mobile 16.0b5 Samsung Galaxy R (Android 2.3.4) Marking as verified on Firefox Mobile 16
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: