Added devicePixelRatio to shadow's radius.
Check the shadow of items on the desktop.
Compare scale 100% vs big display scale (e.g. 300%).
Before: Shadow is invisible.
After: Visible shadow at every display scale.
Before vs After
Scale 300% and 100%
I use arch's Qt 5.14.1
Any chance I only have this problem? My build is not exactly stable.
Btw found some places that use radius spallSpacing or gridUnit, like knewstuff. I wonder how that look, with that commit.
Screen.devicePixelRatio is always 1, while units.devicePixelRatio is correct.
Checked in ./qml/QtGraphicalEffects/DropShadow.qml and other qml in ./qml/ including PC3 files.
I have the same problem with the distro's build. So I guess this is a problem.
plasmashell doesn't use Qt scaling, so using units.devicePixelRatio is correct. It will be 2 when not used, and then divide by Qt scaling so Qt scales back up resulting in the same effect.