Since the mid-may stable update, I’ve been experiencing that okular, kvantummanager, qt6ct, and maybe other qt-related applications launch, but I can’t see any window afterwards.
For example, okular only prints this to the terminal:
QAbstractAnimation::pause: Cannot pause a stopped animation
The 5.1.1 static build and manjaro package binary of telegram-desktop prints this:
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
QXcbSystemTrayBackingStore: Failed to create Picture with format 1e2 for window 340000c, error code 9
QRhiGles2: Failed to make context current. Expect bad things to happen.
Failed to create QRhi for QBackingStoreRhiSupport
QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
I have read this thread, but in my case, the applications do not segfault: they run but do not show anything.
Unless you do something to source that … changes wont take effect until you reboot (or at least log out and in again).
If you tried to launch the application with the environment variable prefacing it then I guess I would only suggest to make sure qt6ct settings are configured.
Yes, this is what I meant, sorry for the confusion. I tried launching okular using both values: the first time using the ~/.xprofile user session value, then with the env variable prefacing okular.
qt6ct doesn’t load either… should I remove my existing config inside ~/.config/qt6ct ?
I get these message when launching qt6ct. Doesn’t look too bad to me
QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
Configuration path: "/home/raphael/.config/qt6ct"
Shared QSS paths: QList("/home/raphael/.local/share/qt6ct/qss", "/usr/local/share/qt6ct/qss", "/usr/share/qt6ct/qss", "/var/lib/snapd/desktop/qt6ct/qss")
Shared color scheme paths: QList("/home/raphael/.local/share/qt6ct/colors", "/usr/local/share/qt6ct/colors", "/usr/share/qt6ct/colors", "/var/lib/snapd/desktop/qt6ct/colors")
I note all your problem examples are qt6. So it feels like the right direction.
Well. Except kvantummanager which does not exist in the repos or the AUR.
Typo? If it is indeed a super-alien then maybe it is creating incompatibilities.
Sorry, I took that to mean a package.
Yes the kvantummanager binary is provided by the kvantum package.
(and is also qt6)
So nevermind about it being foreign.
Negative. UNIX isn’t Windows — it has no Registry.
Reinstalling packages only causes the already installed versions to be overwritten, and that’s not going to change anything when the cause of the problem lies with the user-specific configuration files in your home directory — commonly under ~/.config and ~/.local/share, although corrupted files in ~/.cache may (and often do) also throw a spanner in the works.
This sort of problems can often be remedied by logging out of the GUI environment completely, logging in at a tty, and then emptying ~/.cache.
Thanks for the suggestion. Just to be sure: is it OK if I still have my lightdm greeter after exiting my session before switching to a tty or do I have to kill a process ?
I just tried to remove the cache folder from a tty after switching from the greeter screen, without success. After entering my graphical session, there were some new directories inside the cache directory, among which a qtshadercache-x86_64-little_endian-lp64/ directory.
Thanks for the confirmation. I still had a Xorg process running while I was inside the tty, but I guess this is expected since the greeter appears inside some graphical environment.
Well, as stated above, I tried to log out my graphical session (to my greeter, that is) and remove the directory as suggested, then login again, but that did not resolve the issue
I seem to recall a recent thread with similar issues (I say recent though it may have been up to 2-3 months ago). The solution (or, at least part of it) was to remove the (then) unsupported kvantum-theme-matcha package; as it was no longer relevant for Qt6. Apologies for this not being more specific, as I was unable to find the thread. Note that this is only based on a vague recollection.