KIO not styling properly

Hello,

It seems that KIO (I belive is the name of the file dialogue in KDE) does not style its window in the same manner as the rest of the system. I am running a wayland compositor other than plasma and have been able to keep my plasma style easily throughout my system (Dolphin styles the same, and in general QT apps do).

However the file dialogue does not. It still uses the default styling.

How can I style it accordingly ? Is this the intended behavior styling wise ? As it seems very confusing when not using KDE :thinking:

plasma’s isn’t a compositor, it’s a DE. KWin is plasma’s compositor.

What DE are you using ? Plasma ?

It would depend on the application using KIO FileWidget.
Which is it ? Is it a flatpak or something ? What is your distro ?

Do you have a screenshot ?

Yes sorry I am not using Kwin.

I am using Niri and have selected the kde portal for my file picker. The theming seems to be independent of applications and I have no flatpack installed at the time. I am styling QT apps through “QT_QPA_PLATFORMTHEME=kde“ and have selected no GTK theme (as it is derived correctly).

The gtk file dialogue does not have the issue and styles correctly (though I am unsure if the protocol includes a way to theme the file dialogue).

I am running arch and KDE plasma 6.5.2.

(In the screenshot the cursor is correct but is configured via xcursor)

That’s a portal issue, it seems not picking up the style.
I don’t know how this is implemented, this may not affect KWin, but I wouldn’t know I never use the portal.

Should I file a bug report to track this issue ?

Also if anyone knows how in KWin this window is styled that would be a helpful workaround (at least I hope).

Yes please don’t forget the details here and add your system version and compositor.

Styling is mostly synchronized through file ~/.config/kdeglobals usually IIRC
The portal would need to read it.