Display problem with QT6 applications

Hello, I installed Virtualbox which use QT6, but all windows are empty, no text is displayed. Never see this kind of problem, any idea ?
Regards,

(how to put a image ?)

HI,

Can you please provide more details about your installation?

  • kernel version?
  • virtualbox version?
  • how did you install virtualbox?

There is a button to upload in the toolbar of the windows where you create your topic/replay. You can as well copy and past screenshot to that window.

You can even simply drag an image into the composer. Like I did:
henm-rb

Thank you !
kernel version 6.11.5-1-default #1 SMP PREEMPT_DYNAMIC Wed Oct 23 04:27:11 UTC 2024 (b4e3aa9) x86_64 x86_64 x86_64 GNU/Linux

Virtualbox version 7.1.4-1.1

Installation directly with YaST Software manager

Here is the windows content (seems to be a QT6 problem ?) :

Hi,

Can you share the log? Did you try to run virtualbox from the terminal? Can you see any errors?

One more possibility. Did you try to change a theme? I assume you are running KDE WM.

In fact texts are here, I can select them and copy/paste in a text editor for example. They are just invisible. I installed qt6ct to change the theme, but everything is invisible :

:rofl:

My WM is XFCE4

Maybe a simple solution will be to install gtk version of virtualbox

https://github.com/HiMyNameIsIlNano/vboxgtk

I do not know if this is available for openSuse.

Maybe qt theme is not installed? Check if for ex. this theme is installed plasma6-theme-openSUSE or default theme for plasma breeze6

I installed plasma6-theme-openSUSE but no amelioration :slightly_frowning_face:

When I launch qt6ct in command line, here is the log :

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/nlc/.config/qt6ct”
Shared QSS paths: QList(“/home/nlc/.local/share/qt6ct/qss”, “/usr/local/share/qt6ct/qss”, “/usr/share/qt6ct/qss”)
Shared color scheme paths: QList(“/home/nlc/.local/share/qt6ct/colors”, “/usr/local/share/qt6ct/colors”, “/usr/share/qt6ct/colors”)

Can you show content of /usr/share/themes folder?

nlc@localhost:~> ls /usr/share/themes/
Adwaita Breeze Daloa Default-xhdpi Greybird-geeko-accessibility Greybird-geeko-dark Kokodi Raleigh ZOMG-PONIES!
Adwaita-dark Breeze-Dark Default Emacs Greybird-geeko-bright Greybird-geeko-dark-accessibility Moheli Retro
Bluebird Bright Default-hdpi Greybird-geeko Greybird-geeko-compact HighContrast openSUSE-Xfce Smoke

I tested an idea, I added a new user to my system and switched to it (also with XFCE WM), and display is OK ! So something is wrong somewhere in my config files !?

I removed the .config directory of my normal user account, and same problem.
I wondering where can be the problematic config file !!

Cache maybe???

I finally found the problem, it’s crazy !!

My system font is configured with Helvetica Regular, it’s my preferred font because it has a very good rendering without anti-aliasing (I hate anti-aliasing and blurry fonts), as you can see :

But for unknown reason, QT6 doesn’t render this font correctly and it is invisible.
If I try another font, Virtualbox and qt6ct are working…

Any idea if it’s possible to have QT6 applications using another font than my system font ?