D7849: Fix the tray icon scaling on HiDPI screens
Piotr Kosinski
noreply at phabricator.kde.org
Sat Sep 16 17:31:55 UTC 2017
pgkos updated this revision to Diff 19592.
pgkos changed the repository for this revision from R120 Plasma Workspace to R242 Plasma Framework (Library).
pgkos added a comment.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
Edited the function `Units::roundToIconSize` so it both accepts and outputs a dpi-scaled pixel value.
This might break some things, but on the other hand there are places (other than the system tray) which also have exactly the same problem with icon scaling on hidpi screens (see e.g. https://cgit.kde.org/plasma-desktop.git/tree/applets/taskmanager/package/contents/ui/Task.qml), this patch will also fix all these other cases.
REPOSITORY
R242 Plasma Framework (Library)
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D7849?vs=19585&id=19592
REVISION DETAIL
https://phabricator.kde.org/D7849
AFFECTED FILES
src/declarativeimports/core/units.cpp
To: pgkos, #plasma
Cc: #frameworks, davidedmundson, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170916/258b29aa/attachment.html>
More information about the Plasma-devel
mailing list