Closed Bug 1677266 Opened 5 years ago Closed 4 years ago

Full screen video sites (youtube, netflix) automatically trigger do not disturb on Big Sur

Categories

(Core :: Widget: Cocoa, defect, P3)

Firefox 82
defect

Tracking

()

RESOLVED DUPLICATE of bug 1631735

People

(Reporter: dillmann, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [mac:fullscreen] )

Attachments

(3 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:82.0) Gecko/20100101 Firefox/82.0

Steps to reproduce:

  • Big Sur 11.0.1 (but also in all public beta versions)
  • Firefox 82, also happened in 81
  • Start playing a full-screen video in websites such as Netflix, Youtube, Hulu (haven't tested others)

Ways to see the problem:

  • Get someone to send you a slack message or iMessage when a video is full screen and notice how no notification appears (but upon minimizing, a notification can be seen in the notifications center)
  • While playing a video in full screen, command + tab over to a smaller, non full screen window (i.e. Slack, messages, etc.; in my case, system preferences) over the video. Look quickly to the menu bar, and the do not disturb icon will show up for a second longer before disappearing.

Happens regardless of whether "When mirroring to TVs and projectors" is checked in MacOS preferences.

Actual results:

  • Do not disturb is automatically triggered

Expected results:

  • Do not disturb should not be triggered automatically
Flags: needinfo?(overholt)
Component: Untriaged → Widget: Cocoa
Flags: needinfo?(overholt)
Product: Firefox → Core

My first intuition is that this might be some kind of auto-detection from macOS, maybe originally intended for full-screen games.
It's worth testing whether this also happens when we use native macOS fullscreen for video, with the pref full-screen-api.macos-native-full-screen.
I don't see any mentions of this behavior in the Big Sur AppKit release notes, so we may need to contact Apple to ask whether it's possible to disable this.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 1648487

As much as I dislike that Apple appears to have build something into their APIs without telling us, I can see how a portion of our users actually like this new feature.

Does this actually trigger only for video playback, or also for other sites which support full screen for example Google Slides in full screen presentation mode?

I think we want to carefully evaluate how to handle this new Big Sur feature going forward.

Excellent questions and comments all around. Here's what I found with a bit more of my digging.

I believe that this is a bug, rather than a feature, because it does not affect the following:

  • Google slides in Firefox
  • Safari video players in full screen
  • Chrome video players in full screen.

However, there is an interesting thing to note about all of those use cases above: all of those full-screen uses put the new screen into a new desktop. This can be seen if you enter one of the use cases, swipe up with three fingers for mission control, and looking at how apps are split up between the desktops at the top. However, the cases where it automatically triggers do not disturb happen when the full-screen media plays in the same desktop that the main source for the media is (i.e. firefox browser and netflix through firefox are in the same desktop, while chrome browser is in a different desktop than netflix through chrome).

Now, given my absolutely nonexistent coding background, but IT support background, I assume that there is something unique about how these different full screen media "modes" is communicating with Big Sur. Since it isn't happening in all of the media modes (i.e. chrome/safari, or slides in firefox), I would venture to assume that this is either a bug or a pretty poorly tested feature. Since I can't imagine Apple only testing this feature in firefox and only with youtube, netflix, and hulu, I come down on the side of bug.

In case anybody can't tell, I'm working from home and incredibly bored. Happy to do any more digging or testing in different use cases if that would be helpful for people who actually understand how stuff like this works.

Hi,

I tested this on my end using the following configuration:

iMac (Retina 4K, 21.5-inch, 2019) with MacOS Big Sur 11.0.1 and Slack messaging app.
Firefox Release (82.0.3 and 83.0)
Firefox Nightly 84.0a1, 85.0a1

I was able to reproduce the following issues:

  • Get someone to send you a slack message or iMessage when a video is full screen and notice how no notification appears (but upon minimizing, a notification can be seen in the notifications center)

I was unable to reproduce this scenario, I cannot get the do not disturb icon to show up.

  • While playing a video in full screen, command + tab over to a smaller, non full screen window (i.e. Slack, messages, etc.; in my case, system preferences) over the video. Look quickly to the menu bar, and the do not disturb icon will show up for a second longer before disappearing.

I'll add myself as CC in order to follow this up as well.

Regards,
Virginia

Hi Virginia,

Thanks for testing it for me! Out of curiosity, what setting do you have checked in MacOS System Preferences -> Dock & Menu Bar -> Do Not Disturb?

I have it set to "Show in Menu Bar" and "when active." I wonder if you would be able to reproduce the second scenario if this was checked?

Thanks!

Best,
Naseem

Attached image CaptureDonotDisturb.JPG

Hi Naseem,

Thanks for the follow up.
I'm attaching a screenshot, I believe it's the configuration you mention.

When you do command + tab over to a smaller, non full screen window, the window with the YouTube video shows until I select something else, for example, a smaller window with "System Preferences", then the video disappears from the screen.
Would you mind attaching a screen recording showing how you get the do not disturb icon?

Thanks in advance.
Virginia

Flags: needinfo?(dillmann)

Hi Virginia,

Attached is a link to a screen recording, hosted on my personal google drive. The screen recording was too large a file to upload directly through bugzilla. It may take a minute to finish processing on Google's side. (I hope I don't get flagged for copyright -- S4E10 of Schitts Creek is the video I used to play in the background. Also, I guess, spoiler warning!)

https://drive.google.com/file/d/1TIVOq7HylY2Eq9ENgbkB5B2L_jBYXvTO/view?usp=sharing

Notice how when I tab over, the do not disturb icon appears greyed out (and if someone were to text me at that exact moment, a notification would appear). Within a few seconds, the icon disappears completely.

Let me know if I should try anything else!

Best,
Naseem

Flags: needinfo?(dillmann)

The severity field is not set for this bug.
:spohl, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(spohl.mozilla.bugs)
Severity: -- → S3
Flags: needinfo?(spohl.mozilla.bugs)
Priority: -- → P3

I have a Mac with Touch Bar. Can confirm. When I go into full screen, Do Not Disturb is enabled. If I attempt to disable it (by hitting the touch bar icon) it is automatically re-enabled.

As a side note, I much rather full screen open in a new window on a new desktop. Make's it much easier to switch. This will likely also fix the DnD issue.

Whiteboard: [mac:fullscreen]

Looking into it with 88.0a1(2021-03) - macOS 11.3 / 11.2.3
With Full-screen-api.macos-native-full-screen set on false still shows the issue, especially when CTRL+Tabbing out of a (youtube) fullscreen video; as per comment 7.
With Full-screen-api.macos-native-full-screen set on true the issue does not appear to manifest anymore; no more DND icon being displayed.

@Josh/Dillman mind checking again, with the pref set on true?
(can be changed accessing about:config)

Flags: needinfo?(josh9051)
Flags: needinfo?(dillmann)

@CristianFogel With full-screen-api.macos-native-full-screen set to true DnD is not enabled and full screen works overall better. I will be leaving this setting on, so thank you! Any reason this is not default?

P.S. Extremely minor detail: With the setting enabled, when you put the mouse at the top of the screen, the window bar is white even while in dark mode. See picture.

Flags: needinfo?(josh9051)

White bar while in full screen

Glad to see it worked for you. The pref holds several other changes, some of which might still be worked on.
As for the white bar, it seems to be a variant of bug(s) 1620202 / 1517182.

Can confirm what Josh said! Works now, menu bar still shows up as light mode.

Happy the problem has a solution!

Flags: needinfo?(dillmann)

Awesome!
Marking this as duplicate of bug 1631735, for tracking purposes.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: