broulik created this revision.
broulik added reviewers: Plasma, apol.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  `ScreenScaleFactors` is a list of scales per output. We want to read the 
`ScaleFactor` number for GTK instead.
  Also, floor the number so that when you use e.g. 2.5x scaling you still get 
some scaling out of GTK apps still.

TEST PLAN
  Logged in, my GTK apps were scaled properly again.
  Changed scale factor to 2.4. Qt apps were bigger and GTK apps were still 
large. Since the font DPI is also scaled fractionally, GTK apps still looks 
virtually the same size despite only scaling 2x.
  Changed scale factor to 1.9. Qt apps were big, GTK apps were smaller as they 
didn't scale.
  
  (I can revert/split out that flooring change if you want but the rest is a 
genuine bugfix)

REPOSITORY
  R120 Plasma Workspace

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

AFFECTED FILES
  startkde/startplasma-x11.cpp

To: broulik, #plasma, apol
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, 
ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, 
apol, mart

Reply via email to