<table><tr><td style="">mart created this revision.<br />mart added a reviewer: Plasma.<br />Restricted Application added projects: Plasma, Frameworks.<br />Restricted Application added subscribers: Frameworks, plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9286" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>when the native high dpi scaling is enabled, some things gets scaled two times,<br />
as sizes taken from svgs should *not* be manually scaled by devicePixelRatio</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>works correctly on wayland, svg.elementSize will have to be tweaked in x11 to<br />
return a value scaled by scalefactor, to homogenize the behavior compared to<br />
native qt high dpi scaling.<br />
to return a value scaled by scalefactor for this qml code to work there too.<br />
I advise everybody with high dpi laptops to test this on both wayland and x11</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework (Library)</div></div></div><br /><div><strong>BRANCH</strong><div><div>phab/dropdevicepixelratiowq!</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9286" rel="noreferrer">https://phabricator.kde.org/D9286</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/declarativeimports/plasmacomponents/qml/private/ScrollBarDelegate.qml<br />
src/declarativeimports/plasmacomponents/qml/private/ScrollDecoratorDelegate.qml<br />
src/declarativeimports/plasmastyle/ProgressBarStyle.qml<br />
src/declarativeimports/plasmastyle/ScrollViewStyle.qml<br />
src/declarativeimports/plasmastyle/TableViewStyle.qml</div></div></div><br /><div><strong>To: </strong>mart, Plasma<br /><strong>Cc: </strong>plasma-devel, Frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>