Closed Bug 1404716 Opened 7 years ago Closed 7 years ago

Hide developer toolbar in video fullscreen

Categories

(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)

57 Branch
defect
Not set
normal

Tracking

(firefox-esr52 unaffected, firefox56 unaffected, firefox57 verified, firefox58 verified)

VERIFIED FIXED
Firefox 58
Tracking Status
firefox-esr52 --- unaffected
firefox56 --- unaffected
firefox57 --- verified
firefox58 --- verified

People

(Reporter: mail, Assigned: mozilla)

References

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20170928180207

Steps to reproduce:

I display the developer toolbar, go to youtube and put a video in fullscreen.


Actual results:

The developer toolbar is not hidden. It was the case with firefox < 57


Expected results:

The developer toolbar is hidden.

That's probably a preference that should be available : to be able to hide the toolbar in video fullscreen mode.
By developer toolbar I mean the toolbar appearing when pressign SHIFT + F2.
For some background, prior to the landing of bug 1343947, there was no way to see or interact with GCLI in fullscreen mode.  Now it's a fullscreentoolbar, which is consistent with the rest of developer tools (which are also visible during fullscreen video).

However, unlike developer toolbox, the gcli cannot be moved to a separate window.  So it's always there or you need to toggle it off.

I see that having the option to hide GCLI with fullscreen video may be desirable.  Perhaps it could even hide automatically, as e.g. the history sidebar does (it's visible in fullscreen mode, but not with fullscreen video), even if that's not consistent with the developer toolbox's behavior?
Component: Untriaged → Developer Tools: Graphic Commandline and Toolbar
So adding a config option seems overkill.  We can just make the toolbar collapse in DOM Fullscreen mode, which is exactly what the sidebar does.

In case someone wants to force it visible, it's possible e.g. with a userChrome.css oneliner:

#developer-toolbar { visibility: visible !important; }
Attachment #8915331 - Flags: review?(gijskruitbosch+bugs)
Comment on attachment 8915331 [details] [diff] [review]
hide-domfullscreen-gcli.patch

Review of attachment 8915331 [details] [diff] [review]:
-----------------------------------------------------------------

I'm not a good reviewer for this because it's basically a devtools patch (despite the filepath you're modifying :-) ). I believe devtools are trying to make their CSS and so on self-contained, so I suspect they may want this to live in one of their CSS files. Hopefully Patrick can advise (or suggest someone to advise).
Attachment #8915331 - Flags: review?(gijskruitbosch+bugs) → review?(pbrosset)
Blocks: 1343947
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Unspecified → All
Hardware: Unspecified → All
Comment on attachment 8915331 [details] [diff] [review]
hide-domfullscreen-gcli.patch

Review of attachment 8915331 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me, but you'll need a browser peer to give the final R+ for this.
Attachment #8915331 - Flags: review?(pbrosset)
Attachment #8915331 - Flags: review?(gijskruitbosch+bugs)
Attachment #8915331 - Flags: review+
Comment on attachment 8915331 [details] [diff] [review]
hide-domfullscreen-gcli.patch

Review of attachment 8915331 [details] [diff] [review]:
-----------------------------------------------------------------

If Patrick is happy with this, so am I.
Attachment #8915331 - Flags: review?(gijskruitbosch+bugs) → review+
I can't edit keywords on this bug so someone else would have to flag it for checkin.  Thanks.
Adding checkin-needed per Comment #8
Keywords: checkin-needed
Assignee: nobody → mozilla
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0936cbb593b9
Hide GCLI in DOM fullscreen mode. r=Gijs, r=pbrosset
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/0936cbb593b9
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Looks like a low-risk fix that would be beneficial for our DevEdition 57 users. Please request Beta approval on this patch when you get a chance.
Flags: needinfo?(mozilla)
Comment on attachment 8915331 [details] [diff] [review]
hide-domfullscreen-gcli.patch

Approval Request Comment
[Feature/Bug causing the regression]: Bug 1343947
[User impact if declined]: Users of gcli + fullscreen elements (e.g. video) find this regression very distracting.
[Is this code covered by automated tests?]: No.
[Has the fix been verified in Nightly?]: Yes.
[Needs manual test from QE? If yes, steps to reproduce]: No.
[List of other uplifts needed for the feature/fix]: None.
[Is the change risky?]: Low risk.
[Why is the change risky/not risky?]: This one-liner simply adds a specific css selector to an existing rule.  Should affect gcli & fullscreen mode only.
[String changes made/needed]: None.
Flags: needinfo?(mozilla)
Attachment #8915331 - Flags: approval-mozilla-beta?
Attachment #8915331 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
I have reproduced this bug with Nightly 58.0a1 (2017-10-01) on Windows 10 , 64 Bit ! 

This bug's fix is Verified with latest Beta & Nightly !

Build   ID    20171009192146
User Agent    Mozilla/5.0 (Windows NT 10.0; WOW64; rv:57.0) Gecko/20100101 Firefox/57.0

Build   ID    20171012105833
User Agent    Mozilla/5.0 (Windows NT 10.0; WOW64; rv:58.0) Gecko/20100101 Firefox/58.0
QA Whiteboard: [bugday-20171011]
I have reproduced this bug with Nightly 58.0a1 (2017-10-01) (64-bit) on Ubuntu 16.04 LTS!

This bug's fix is Verified with latest Beta & latest Nightly!

Build   ID    20171009192146
User Agent    Mozilla/5.0 (X11; Linuxx86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Build   ID    20171012105833
User Agent    Mozilla/5.0(X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

[bugday-20171011]
as par comment 16 & comment 17 , I am marking this bug as verified fixed.
Status: RESOLVED → VERIFIED
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: