File picker dialog opens on wrong (remote) screen when running applications via waypipe

I am using waypipe to share a wayland application from one device to another over local network.

For example:

waypipe ssh <ip> firefox

This works almost perfectly, except that in applications that use the KDE xdg-desktop-portal, opening a file (via Ctrl-O) opens the file picker dialog on the host machine’s monitor, rather than on the waypipe session on the remote machine, resulting in the waypipe application effectively hanging since the dialog is a modal opened on the remote machine.

If the default (GTK) file picker implementation is enabled, it opens correctly on the waypipe remote session and it works fine.

Specifically I am trying to get it working in VSCodium, but the same issue occurs in Firefox.

In Firefox, changing the value of widget.use-xdg-desktop-portal.file-picker to 0/1/2 will result in it either using the GTK file picker (shows correctly) or the KDE file picker (opens on remote machine).

Perhaps the KDE impl is not correctly opening the dialog as a child of the calling application or something like that?

Can anyone else repro this? If so, where should it be reported - xdg-desktop-portal-kde? Is there any way to work around it in applications that don’t provide a config option to select which picker to use?