Skip to content

Bug Report: Missing Screen Sharing Infobar on macOS #8323

@AAdonis

Description

@AAdonis

🐞 Bug Report: Missing Screen Sharing Infobar on macOS

Environment:

Steps to Reproduce:

  1. Launch the official NW.js binary.
  2. Open the demo page: WebRTC getDisplayMedia sample
  3. Click Start.
  4. In the system dialog, select a window to share.
  5. 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:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions