Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The screencasting code does not properly support all XDG Desktop Portal implementations that it should #73

Open
Siri-chan opened this issue Dec 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Siri-chan
Copy link

Describe the bug
The screencasting code does not support screencasting on some XDG Desktop Portal implementations that should support it (ie. xdg-desktop-portal-hyprland)

To Reproduce
Steps to reproduce the behavior:

  1. Run the program on the command line with `--trace-warnings``
  2. Select to Host a Session
  3. Start a new session

Expected behavior
The program requests a screencast through the Hyprland XDG Desktop Portal / Pipewire.

Error Message:

[433058:1219/162502.787509:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 3
(node:433058) UnhandledPromiseRejectionWarning: Failed to get sources.
    at emitUnhandledRejectionWarning (node:internal/process/promises:300:15)
    at warnWithErrorCodeUnhandledRejectionsMode (node:internal/process/promises:406:5)
    at processPromiseRejections (node:internal/process/promises:470:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
(node:433058) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

Desktop (please complete the following information):

  • OS: Arch Linux
  • Version: Kernel 6.12
  • Pipewire 1.2.7
  • Hyprland XDG Desktop Portal on latest git.
@Siri-chan Siri-chan added the bug Something isn't working label Dec 19, 2024
@gorillamoe
Copy link
Member

Seems like an issue with hyprland?!

hyprwm/xdg-desktop-portal-hyprland#251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants