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

Slurp/chooser get called again after choosing output #233

Open
mangkoran opened this issue Aug 31, 2022 · 2 comments
Open

Slurp/chooser get called again after choosing output #233

mangkoran opened this issue Aug 31, 2022 · 2 comments

Comments

@mangkoran
Copy link

Tested with https://mozilla.github.io/webrtc-landing/gum_test.html and chrome. So when I click "Screen capture", the "Choose what you want to share dialog" pops up, and chooser, in this case slurp, is called. After I click which output (display I guess? I only use single monitor), I then select my screen in the chrome dialog. However, after selecting my screen and click "Share", the chooser is executed again. To continue, I need to click my output again, otherwise, if I press ESC while the chooser is executed for the "second" time, the screen capture simply turns all black.

I will provide video log asap. Until then, I apologize the lack of video log.

System info:

  • ubuntu 22.04 jammy
  • chrome 104.0.5112.101
  • xdg-desktop-portal-wlr 0.5.0
  • slurp 1.3.2
@columbarius
Copy link
Collaborator

This is the result of chromium forcing it's own chooser. The first selection is for the preview and the second one is for the actual stream. This can be avoided by implementing the transient restore option #234.

@mangkoran
Copy link
Author

I see. Thank you for the information. So for the time being, this issue should be leave opened until your PR got merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants