D19126: block screen filtering for global menu applet

Michail Vourlakos noreply at phabricator.kde.org
Mon Feb 18 21:59:47 GMT 2019


mvourlakos added a comment.


  In D19126#414920 <https://phabricator.kde.org/D19126#414920>, @davidedmundson wrote:
  
  > If we're going to put in code, lets do:
  >
  >   QPoint windowCentre = info.geometry().center();
  >   if (KWindowSystem::isPlatformX11()) {
  >     windowCenter /= qApp->scale();
  >   }
  >
  >
  > I closed the bug because I was quite angry at the user randomly setting variables and then not even mentioning it, but we may as well make use of the fact that the testing found something.
  
  
  personally I have no opinion whatever you want...
  
  David for the proposed code does it catch all the cases under X11 ?
  For example if the user has set different scale factors between its screens is it going to work?

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/20190218/daefba42/attachment.html>


More information about the Plasma-devel mailing list