dwarvesf / blurred

A macOS utility that helps reduce distraction by dimming your inactive noise
MIT License
895 stars 30 forks source link

Windows are unblurred when webcam is in use (google meet, zoom, etc.) #29

Open forivall opened 1 year ago

forivall commented 1 year ago

Describe the bug

When using any app that accesses the webcam (video chat programs), all windows are unblurred. My main use case for Blurred is to focus on meetings while they're happening, so this is a bummer.

Steps to reproduce

  1. Go to meet.google.com
  2. Click on New Meeting, select Instant Meeting
  3. See all windows are unblurred

Expected behaviour

Other windows should be blurred.

Screenshots

Screenshot 2023-02-13 at 12 56 30 PM_redact

Environment

You may write here the specifications like the version of the project, operating system, or hardware if applicable.

Desktop (please complete the following information):

Logs / Stack trace

Insert your log/stack trace here
viettrungphan commented 1 year ago

The way the app blurred windows is to insert a transparent black window(blurred) above those windows (accept topmost) however many apps can make themselves topmost, they want to stay floating on top like utility apps, video call, PiP...(system dock is one example, it usually on top of other windows). This case looks like the app trying to do it when you trigger the Instance meeting, they bring all windows to the top.

Tolsi commented 1 year ago

it seems that in Mac OS 13 only the desktop is blurred, but not other windows

ps fixed after update to OS X 13.2.1

forivall commented 1 year ago

Yeah, it seems like when the screen recording api is invoked, macos messes with window layering and this code needs to be updated to handle it.