mart created this revision.
mart added a reviewer: Plasma.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  when the native high dpi scaling is enabled, some things gets scaled two 
times,
  as sizes taken from svgs should *not* be manually scaled by devicePixelRatio

TEST PLAN
  works correctly on wayland, svg.elementSize will have to be tweaked in x11 to
  return a value scaled by scalefactor, to homogenize the behavior compared to
  native qt high dpi scaling.
  to return a value scaled by scalefactor for this qml code to work there too.
  I advise everybody with high dpi laptops to test this on both wayland and x11

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  phab/dropdevicepixelratiowq!

REVISION DETAIL
  https://phabricator.kde.org/D9286

AFFECTED FILES
  src/declarativeimports/plasmacomponents/qml/private/ScrollBarDelegate.qml
  
src/declarativeimports/plasmacomponents/qml/private/ScrollDecoratorDelegate.qml
  src/declarativeimports/plasmastyle/ProgressBarStyle.qml
  src/declarativeimports/plasmastyle/ScrollViewStyle.qml
  src/declarativeimports/plasmastyle/TableViewStyle.qml

To: mart, #plasma
Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart

Reply via email to