Bug in Qt font string?

So a recent(?) change in plasma is making my flatpaks not recognize my fonts.

For some reason plasma settings is setting the font in ~/.config/kdeglobals as ‘Roboto,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,,0,0'
and that is conflicting with my flatpaks, for example:

QFont::fromString: Invalid description 'Roboto,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,,0,0'

is what I get when running kcalc in flatpak. And I get defaulted to small font, not 12.

My “solution“ was editing by hand kdeglobals file and removing the last ,,0,0.

Is it normal? Am I missing something?

KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.11.0

Arch Linux

Fix was merged today qt6/KFontSettingsData: Chop off extra fontString items for versions under 6.11 (!215) · Merge requests · Plasma / Plasma Integration · GitLab

Just needs flatpaks etc to pick it up.

But for now this should work as a workaround:

Lmao, what a timing. Thanks!