tag 1053917 moreinfo
thanks
Hi!
On 14/10/23 05:55, Patrik Svestka wrote:
Package: libqt5gui5
Version: 5.15.8+dfsg-11
Severity: important
X-Debbugs-Cc: patrik.sves...@gmail.com
Dear Maintainer,
* What led up to the situation?
Having CopyQ and KeePassXC QT applications autostarted
* What exactly did you do (or not do) that was effective (or
ineffective)?
No interaction needed. Just applications fail to autostart with the
libQt5XcbQpa.so.5.15.8 segfaulting. If both the applications are started
**after** Gnome starts they start normally.
Mmm, Gnome uses Wayland nowadays, and the segfault comes form libQt5XcbQpa,
which is the lib that handles X stuff. It only happens before Gnome
completely started,
so I wonder if we have some race condition on which Qt apps try to use
X too soon
in the process.
But let's try this. Try starting your app on log by prepending
QT_QPA_PLATFORM
QT_QPA_PLATFORM=wayland /usr/bin/yourapp
Or any other way that ensures that QT_QPA_PLATFORM=wayland is set as
environment variable before starting the app.