Created attachment 88214 [details] Picture of problem The widget icons are oversized, taking up so much room that the title of widgets gets truncated.
I use width: units.iconSizes.huge which comes from. m_iconSizes->insert("huge", devicePixelIconSize(KIconLoader::SizeHuge)); which in turn is scaling QGuiApplication::primaryScreen()->physicalDotsPerInchX() -- enoopt, can you include output from "xrandr -q" -- I don't know why we don't just use the user's set icon size that they set in the icons KCM. Seems like it'd be better than randomly scaling things ourselves.
*** This bug has been marked as a duplicate of bug 338308 ***
We are not "randomly scaling" the icons ourselves, we're relying on DPI information to scale the icon size according to the DPI value. I guess you know that, so not sure where the random comes from. Using the settings from the user can still be done, and will take effect, but the DPI scaling will be intact, so it's not breaking that feature. Ignoring DPI will mean that we lose all the HiDPI goodness we introduced with exactly this scaling algorithm -- a huge step back for many users.
Random == DPI calculations from X can't be trusted and in some cases (many it seems) are completely random. It's why we use the user's font size everywhere else, except for icons.