Bug 8559 - Full screen on macOS can be obscured by camera notch
Summary: Full screen on macOS can be obscured by camera notch
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VNC (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-28 16:01 CET by Pierre Ossman
Modified: 2025-04-01 13:21 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2025-03-28 16:01:00 CET
Modern macOS laptops have started cutting out part of the screen for the camera, similar to mobile phones.

In windowed mode, this is not an issue as that area is occupied by the system menu bar and not our problem. But in full-screen mode, the ThinLinc client uses this area and part of the session is obscured by the camera area.

The remote system is not aware of this and does not compensate for this, meaning that important parts of the screen will be hidden.

macOS native full-screen mode solves this by shrinking the usable area to below the camera notch. We should be able to do something similar. It might get a bit extra tricky when multiple monitors are used, though.
Comment 1 Pierre Ossman cendio 2025-03-28 16:02:54 CET
I found the documentation for querying where the notch is:

https://developer.apple.com/documentation/appkit/nsscreen/safeareainsets?language=objc

Unfortunately, it requires macOS 12 which is beyond even what we plan to require.

Hopefully, there is some way to dynamically find this method. It is an objective-c call, though, so it's not as simple as a dlsym() call.

Note You need to log in before you can comment on or make changes to this bug.