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

Reply via email to