plasma-framework/src/declarativeimports/plasmacomponents
Marco Martin af00946f81 don't multiply svg sizes by devicepixelratio
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

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: hein, broulik, plasma-devel, #frameworks

Tags: #plasma, #frameworks

Differential Revision: https://phabricator.kde.org/D9286
2018-01-23 15:58:55 +01:00
..
qml don't multiply svg sizes by devicepixelratio 2018-01-23 15:58:55 +01:00
tests Add test for ContextMenu 2014-06-17 03:14:24 +02:00
CMakeLists.txt Generate plugins.qmltypes files for the plugins we install 2017-04-10 15:09:57 +02:00
enums.cpp Apply the astyle-kdelibs script 2014-04-26 01:48:37 +02:00
enums.h Q_ENUMS -> Q_ENUM and Q_FLAGS -> Q_FLAG 2017-01-14 01:06:28 +01:00
fullscreensheet.cpp Run convert-to-cmake-automoc.pl over files 2015-01-20 00:00:31 +01:00
fullscreensheet.h Use nullptr + add explicit 2017-12-13 07:36:22 +01:00
fullscreenwindow.cpp Revert "port all output to QCDebug/QCWarning" 2016-10-19 03:16:16 +09:00
fullscreenwindow.h Use nullptr + add explicit 2017-12-13 07:36:22 +01:00
Mainpage.dox Fix Mainpage.dox linking 2014-09-12 01:56:56 +02:00
plasmacomponentsplugin.cpp Const'ify, use nullptr 2017-12-25 18:41:50 +01:00
plasmacomponentsplugin.h Use Q_DECL_OVERRIDE where possible 2015-02-13 13:31:58 +01:00
plugins.qmltypes Update qmltypes 2017-04-10 16:02:23 +02:00
qmenu.cpp Const'ify, use nullptr 2017-12-25 18:41:50 +01:00
qmenu.h Use nullptr + add explicit 2017-12-13 07:36:22 +01:00
qmenuitem.cpp [PlasmaComponents Menu] Don't crash on null action 2017-07-11 12:23:39 +02:00
qmenuitem.h Use nullptr + add explicit 2017-12-13 07:36:22 +01:00
qrangemodel_p.h Apply the astyle-kdelibs script 2014-04-26 01:48:37 +02:00
qrangemodel.cpp Run convert-to-cmake-automoc.pl over files 2015-01-20 00:00:31 +01:00
qrangemodel.h Use nullptr + add explicit 2017-12-13 07:36:22 +01:00