D14338: Fix preview widget appearing to scale twice

David Edmundson noreply at phabricator.kde.org
Tue Jul 24 17:17:56 BST 2018


davidedmundson created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  It worked when I wrote it against integer scaling, it got broken when
  fractional support was added, resulting in it rendering at the wrong
  size when the host scaling is non integer.
  
  BUG: 388218

TEST PLAN
  Ran with QT_SCALE_FACTOR=1.5 to simulate the host being at that scale
  Opened preview and moved slider
  At 1.0 buttons were smaller than the main KCM
  At 1.5 buttons looked the same
  At 2.0 looked bigger

REPOSITORY
  R104 KScreen

BRANCH
  master

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

AFFECTED FILES
  kcm/src/previewwidget.cpp

To: davidedmundson
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180724/e4f344cd/attachment-0001.html>


More information about the Plasma-devel mailing list