-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.3
-
None
-
Tested on Windows 11 virtual machine and Qt 6.8.2 (MSVC2022)
Scaling of svg asset with implicit size does not work correctly.
How to reproduce:
- Make sure Windows scaling is 100%
- Launch icontest (attached) -> shows rectangle and circle icon with matching sizes
- Keep application running and switch Windows scaling to 125%
- Excpected:
- Have Rectangle and circle match also on 125% scaling
- Actual:
- Rectangle has scaled but circle has not
With 150% scaling things work again. And 175% not.
If I close the application and launch it again with Windows scaling already being 125%, it works correctly. But similar thing then happens in other direction. I.e. while app is running, switch Windows scaling back to 100% -> Rectangle and circle icon scaling do not match anymore.
If I use explicit size in QML to set also Image size to 100x100, scaling works correctly. So something wrong with the implicit size coming from the svg asset.