- Plug in Yubikey
- In Kleopatra go to "Smartcards"
- Click e.g. "Change PIN"
A window from pinentry(-qt) appears asking for the PIN. This window isn't parented to Kleopatra, so it can disappear behind the Kleopatra window, isn't centered in it etc.
This works as expected on X11.
Since kleo and pinentry are separate processes this can be achieved using the xdg-foreign Wayland protocol