-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warnings when starting QGIS (on linux) #46031
Comments
I wouldn't recommend running qgis under a Wayland session at all. Qt 5 doesn't have great support for Wayland sessions. |
Are you sure? https://doc.qt.io/qt-5/wayland-and-qt.html does not mention that we should not, and in most Distro's I think Wayland/Gnome is more or less mainstream?
|
Yep -- there's a lot of unsolved issues, even on current Qt versions. Just scroll through https://pointieststick.com/category/this-week-in-kde/ and you'll see that KDE is STILL working to a usable version under Wayland, and a lot of the issues they work on are upstream. |
Looks like Xorg is going to be removed from the codebase in some distributions. Red hut is going to remove it in the 40 Fedora release... |
I use Fedora KDE with Wayland only since a year or so. Qt perfectly works in Wayland. Yes @Paltis96 this is important. To be fair, Xwayland will still be there, which is what QGis currently runs in (on Fedora it does not, but displays a warning about incomplete features). Is there some documentation about what is actually missing? As a beginner I would have no idea, forcing XWayland currently to avoid any issues though. |
As an example: try dragging a panel or a toolbar -- you'll end up with a broken application state that can't be fixed on Wayland. This particular one is fixed in qt6/KDE plasma 6 Wayland sessions, but not qt5 or qt6/gnome yet. |
What is the bug or the crash?
When starting (self compiled) QGIS master OR 3.22 I get the following warning in my terminal:
Info: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
From https://forum.qt.io/topic/126731/what-is-this-warning I concluded that I had to change my start script and added:
Which 'solved' it. I'm not sure if this is some relict of my (older) desktop setup or if others also encounter this (apparently safe) warning.
Another warning I only have with master, NOT with 3.22 is:
Googling brought me: https://forum.qt.io/topic/29587/solved-qsocketnotifier-can-only-be-used-with-threads-started-with-qthread
which tells me it has something todo with QFileSystemWatcher and with not using 'start' on a Thread...
Not sure if this is only me, or if this is a potential issue?
Steps to reproduce the issue
Start QGIS from command line, setting some environment vars in bash like below:
Versions
and
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: