Not really shure where to put this.
I am running latest KDE Neon (Plasna 6.2) on my new laptop, i am a long time KDE user (mostly runing Plasma 5.27 on Debian 12 at my work and home desktop).
At first i thought I messed up something on this new laptop, so i tried opening a new user, and also installed KDE Neon in virtual machine on my desktop. Results are the same, tried googling it, without help.
So, here it go:
On some applications, like Firefox (with GTK_USE_PORTAL=1) file chooser looks like this:
Just to check - what graphics card do you have, and do you have additional drivers installed for it? (ex. AMDGPU PRO, Nvidia proprietary, etc.)
Thinking that perhaps an issue with something like graphics acceleration could also occur in a VM, so that might occur both there and on your physical device?
nicols@ageispolis:~$ dpkg -l | egrep -i "intel |i965|i915"
ii firmware-sof-signed 2023.12.1-1ubuntu1.2 all Intel SOF firmware - signed
ii i965-va-driver:amd64 2.4.1+dfsg1-1build2 amd64 VAAPI driver for Intel G45 & HD Graphics family
ii intel-media-va-driver:amd64 24.1.0+dfsg1-1 amd64 VAAPI driver for the Intel GEN8+ Graphics family
ii intel-microcode 3.20241112.0ubuntu0.24.04.1 amd64 Processor microcode firmware for Intel CPUs
ii iucode-tool 2.3.1-3build1 amd64 Intel processor microcode tool
ii libigdgmm12:amd64 22.3.17+ds1-1 amd64 Intel Graphics Memory Management Library -- shared library
ii libipt2 2.0.6-1build1 amd64 Intel Processor Trace Decoder Library
ii xserver-xorg-video-intel 2:2.99.917+git20210115-1build1 amd64 X.Org X server -- Intel i8xx, i9xx display driver
Also, same results are in Virtualbox VM (with VMSVGA graphics), with everything on defaults (neon user installed and updated), no additional packages.
Hmm, do other tasks that would use hardware graphics acceleration function on your physical device?
The fact that this reproduces in VirtualBox would fit with something not quite working right in the graphics chain. Are there any system journal entries around when you load the dialog with the improperly colored icons that might give any clues? (Right after seeing the issue, something like sudo journalctl --since=-1m would show the last minuteās worth of entries)
Probably needs guidance from someone more well-versed in graphics acceleration than I am - but I didnāt see if you already mentioned, are other applications that would use hardware acceleration working OK on your desktop?
Desktop software i use daily: libreoffice, gimp, krita, gvenview, okular, virtualbox, vlc, openboard, kate, konsole, firefox, thunderbird, signal messanger, spotify. I donāt play games and donāt run anything graphically intensive. My work is 90% konsole and ssh and various cli tools (i am sysadmin).
Is it possible that problems are related to frameworks in which are apps written (like kf5 / kf6) ? Can we find some common ground between aps i mentioned above that have problems with icons?
in the meantime i did try few icon packs like: Kora, Papirus, Fluent, Tela, WhiteSur. None of that icons have problems with black folders in file chooser.
Aha, good sleuthing! Doing some Google searching for Qt5 black icons then came up with this comment on the Debian mailing lists from @rikmills , one of the Kubuntu maintainers: Re: Black folder icons in Dolphin
The reason is that the kf6-breeze-icon-theme which replaced the kf5 version has some changes which are not supported by the Qt5/KF5 kiconthemes library. You are also likely to see black folder icons in the file picker of any Qt5/KF5 app when you enlarge the icon view enough to see coloured folders.
Some solutions might be:
downgrade to the KF5 breeze icon theme package and put that on hold with apt until Qt6/KF6 apps are ready. - as some have done, copy locally the old icon theme so that takes precedence. - persuade devs to revert the offending upstream change in the debian packaging, again until no longer required.