Skip to content

desktopCapturer.getSources() has regressed on Linux with Wayland #51673

@aiddya

Description

@aiddya

Preflight Checklist

Electron Version

42.0.1

What operating system(s) are you using?

Other Linux

Operating System Version

Fedora 44

What arch are you using?

x64

Last Known Working Electron version

42.0.0

Does the issue also appear in Chromium / Google Chrome?

No

Expected Behavior

desktopCapturer.getSources() should wait until the user makes a selection.
desktopCapturer.getSources() should return a thumbnail consistently.

Actual Behavior

desktopCapturer.getSources() times out after 3 seconds
desktopCapturer.getSources() sometimes fails to generate thumbnails

Testcase Gist URL

No response

Additional Information

Regression from #50960 and #51128

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

Status
🛑 Blocks Stable

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions