And reading the Qt source code this is wayland specific. Under wayland Qt now runs xdg-open asynchronously to use waylands "xdg activation token". Which means the env var sanitisation calibre does when calling the qt function does not work. Sigh wayland is the gift that keeps on giving. As always I strongly suggest you stick to X11, where you shouldnt have any such issues.
You can easily test this by running calibre as
QT_QPA_PLATFORM=xcb calibre
and opening pdf files will work just as before.
Last edited by kovidgoyal; 11-25-2023 at 12:15 AM.
|