Screen sharing weird behavior

Hello,

I had trouble sharing my screen in an interview and I now want to fix it definitively. I use hyprland and thus wayland and after some try I figured something out : I can share my screen on firefox if I start it from a terminal. But if I use the .desktop launcher with an app launcher, I can only share tab of firefox.

My main browser is actually opera and on opera I can only share tab of the browser if if started from a terminal.

I tried to add pipewire.enable, xdg-desktop-portal-wlr, xwayland but nothing works. For opera I actually have an override for the codecs for video streaming : (opera.override { proprietaryCodecs = true; }).

Do you have any idea why this weird behavior ?