D19126: block screen filtering for global menu applet

Michail Vourlakos noreply at phabricator.kde.org
Tue Feb 19 15:07:10 GMT 2019


mvourlakos added a comment.


  In D19126#415295 <https://phabricator.kde.org/D19126#415295>, @davidedmundson wrote:
  
  > > 
  
  
  I tried to adjust to your proposal David but there is no qApp->scale() .
  
  What I found is, **QScreen::devicePixelRatio()** so we need to know first the screen for which we adjusting things.
  
  How about doing this in qml side and pass to appmenu c++ model not only the **plasmoid.screenGeometry** but also the **Screen.devicePixelRatio** ?
  
  I suppose that in multi screen environments with different scales it would also work ok for all screens

REPOSITORY
  R120 Plasma Workspace

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

To: mvourlakos, #plasma, davidedmundson, broulik
Cc: plasma-devel, jraleigh, GB_2, 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/20190219/82351452/attachment.html>


More information about the Plasma-devel mailing list