Hi, I can reproduce a similar problem on a computer running wayland, I backported a fix from upstream, could you try it?
You can get it from the Salsa CI here: https://salsa.debian.org/debian-lego-team/leocad/-/jobs/7399933/artifacts/browse/debian/output/ Thanks, Nicolas.
signature.asc
Description: PGP signature