🐞 Bug Report: Missing Screen Sharing Infobar on macOS
Environment:
Steps to Reproduce:
- Launch the official NW.js binary.
- Open the demo page: WebRTC getDisplayMedia sample
- Click Start.
- In the system dialog, select a window to share.
- Confirm sharing.
Expected Behavior:
- After sharing starts, macOS should display the screen sharing infobar at the bottom of the screen (with “Stop sharing / Hide”).
Actual Behavior:
- The infobar does not appear.
- Screen sharing works, but the user has no visible system indicator or stop button.
Notes:
- This behavior differs from running the same demo in Chrome on macOS, where the infobar appears correctly.
- It seems NW.js may not be wiring up Chromium’s
SharingIndicatorController or related UI components on macOS.
- This is a security/usability issue: users cannot easily stop sharing once started.
🔎 Possible Root Cause Analysis
It appears that NW.js on macOS is not wiring up Chromium’s built‑in SharingIndicatorController or related UI components when screen capture is initiated. In Chrome, after navigator.mediaDevices.getDisplayMedia() succeeds, Chromium triggers the SharingIndicatorController to display the infobar (“Stop sharing / Hide”).
As a result, screen sharing works, but the user‑visible indicator is suppressed. This differs from Chrome’s behavior and creates a usability/security gap.
The expected screen sharing infobar window at the bottom of the screen is as follows:

🐞 Bug Report: Missing Screen Sharing Infobar on macOS
Environment:
Steps to Reproduce:
Expected Behavior:
Actual Behavior:
Notes:
SharingIndicatorControlleror related UI components on macOS.🔎 Possible Root Cause Analysis
It appears that NW.js on macOS is not wiring up Chromium’s built‑in SharingIndicatorController or related UI components when screen capture is initiated. In Chrome, after
navigator.mediaDevices.getDisplayMedia()succeeds, Chromium triggers theSharingIndicatorControllerto display the infobar (“Stop sharing / Hide”).As a result, screen sharing works, but the user‑visible indicator is suppressed. This differs from Chrome’s behavior and creates a usability/security gap.
The expected screen sharing infobar window at the bottom of the screen is as follows: