View Single Post
Old 11-25-2023, 12:10 AM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,451
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
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.
kovidgoyal is offline   Reply With Quote