emersion / xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slurp/chooser get called again after choosing output

mangkoran opened this issue · comments

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

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.

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