Closed Bug 1348954 Opened 8 years ago Closed 8 years ago

Html5-video controls do not hide when in fullscreen

Categories

(Toolkit :: Video/Audio Controls, defect)

54 Branch
x86_64
Windows
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla55
Tracking Status
firefox-esr45 --- unaffected
firefox52 --- unaffected
firefox-esr52 --- unaffected
firefox53 --- unaffected
firefox54 + verified
firefox55 --- verified

People

(Reporter: wip.the.gruik, Assigned: standard8)

References

Details

(Keywords: regression)

Attachments

(2 files)

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0 Reproducible with Nightly 55 64bits on Windows 7. Steps to reproduce: - open a simple "<video> tagged" video e.g. https://www.iandevlin.com/html5test/webvtt/html5-video-webvtt-sample.html - start the video playing - switch to fullscreen (double-click on the container or use the dedicated button) - move the mouse to ensure that the controls are displayed Actual results: video controls do not hide whatever the time you wait Expected results: video controls should hide themselves after a short delay By the way, the mouse cursor does not hide either. Should I file another bug for that ?
Attached image Browser Console errors
There are errors in the Browser Console that I think are related in "videocontrols.xml" : - videocontrols.xml:1107:11 "TypeError: this.Utils is undefined" >> this.Utils._controlsHiddenByTimeout = false; - videocontrols.xml:1271:45 "TypeError: this.Utils is undefined" >> this.Utils._hideControlsTimeout = setTimeout(this._hideControlsFn, this.HIDE_CONTROLS_TIMEOUT_MS); - videocontrols.xml:1019:13 "TypeError: this.Utils is undefined" >> _hideControlsFn() { if (!this.Utils.scrubber.isDragging) { [...]
Forgot to mention : - build ID : 20170320030209 - tested with a new/clean profile
[Tracking Requested - why for this release]: Video control UI is broken since 54
Status: UNCONFIRMED → NEW
Component: General → Audio/Video: Playback
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
Ni Tim :-)
Flags: needinfo?(timdream)
Blocks: 1341029
Component: Audio/Video: Playback → Video/Audio Controls
Product: Core → Toolkit
Version: 55 Branch → 54 Branch
Flags: needinfo?(fryn)
Flags: needinfo?(fryn) → needinfo?(standard8)
Bah, I must admit I wasn't 100% sure about those changes, but I couldn't see any negative effects. I'll try and fix this in the next day or so.
Assignee: nobody → standard8
Flags: needinfo?(standard8)
I think the problem is that we bind the "Utils" context to all event listeners[0], so we can not access "Utils" property of "Utils" itself. To have a quick fix for this problem, we could revert the change[1] and explicitly comment /* global Utils */ in <constructor>, though it might be a misuse of eslint.... [0] https://dxr.mozilla.org/mozilla-central/rev/05bfa2831c0ba4a26fa72328ffe6a99aba9c356a/toolkit/content/widgets/videocontrols.xml#1839-1847 [1] https://hg.mozilla.org/integration/autoland/diff/6055065a2ed5/toolkit/content/widgets/videocontrols.xml
Flags: needinfo?(timdream)
Thank you Franck for finding this. Having looked at it a bit more, I'm in agreement with Ray. There's possibly some better method, however, it won't pollute what ESLint knows about the global space for other methods, so I think it is safe to go with for this case.
Comment on attachment 8849590 [details] Bug 1348954 - Html5-video controls do not hide when in fullscreen. https://reviewboard.mozilla.org/r/122374/#review124766 LGTM, thanks :D
Attachment #8849590 - Flags: review?(ralin) → review+
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ca09d56a65e4 Html5-video controls do not hide when in fullscreen. r=ralin
Comment on attachment 8849590 [details] Bug 1348954 - Html5-video controls do not hide when in fullscreen. Approval Request Comment [Feature/Bug causing the regression]: Bug 1341029 [User impact if declined]: Video controls can't be hidden. [Is this code covered by automated tests?]: Not currently (as it wouldn't have regressed). [Has the fix been verified in Nightly?]: Just landed. [Needs manual test from QE? If yes, steps to reproduce]: Yes, see STR in comment 0. [List of other uplifts needed for the feature/fix]: None [Is the change risky?]: No [Why is the change risky/not risky?]: It backs out the changes made from the regressing bug (fixes the eslint issue via an alternative route). [String changes made/needed]: None
Attachment #8849590 - Flags: approval-mozilla-aurora?
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Track 54+ as regression.
Hi Brindusa, could you help find someone to verify if this issue was fixed as expected on a latest Nightly build? Thanks!
Flags: qe-verify+
Flags: needinfo?(brindusa.tot)
Confirmed fixed in the latest Nightly (Build ID 20170323030203, Win7-x64) Thanks. The mouse still do not hide though. I will file another bug...
Comment on attachment 8849590 [details] Bug 1348954 - Html5-video controls do not hide when in fullscreen. Fix a UI issue related to video controls in fullscreen and was verified. Aurora54+.
Attachment #8849590 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Build ID: 20170326030204 User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0 Verified as fixed on Firefox Nightly 55.0a1 on Windows 10 x 64, Mac OS X 10.12 and Ubuntu 16.04 x64 that the video controls hide after few seconds when full screen. I would like to mention that the mouse cursor does not hide and there is a bug logged bug 1350315.
Status: RESOLVED → VERIFIED
Flags: needinfo?(brindusa.tot)
I’ve reproduced the issue described in comment 0 using Firefox 55.0a1 (Build Id:20170320030209) and verified that the issue is not reproducible anymore using Firefox 54.0b1 (Build Id:20170420011827) on Windows 64bit.
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: