D7071: Fix issue where notifications will show as 1 pixel line if primary screen wasn't the leftmost one

Matan Keren noreply at phabricator.kde.org
Thu Aug 3 08:56:42 UTC 2017


matank added a comment.


  Calling syncToMainItemSize() in componentComplete() seems to solve the issue , so I checked what is being done in syncToMainItemSize() that affects the issue.
  I found that resizing the dialog is what  seems to resolve the issue so I copied the relevant code from syncToMainItemSize() to avoid running updateTheme() more  than once.
  
  The only issue with what I have done that it seems like dialog size should be set correctly later on as it works without this code if the primary screen is the left most one.

REPOSITORY
  R242 Plasma Framework (Library)

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

To: matank, #plasma, davidedmundson
Cc: plasma-devel, davidedmundson, ltoscano, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170803/7ed0dd94/attachment.html>


More information about the Kde-frameworks-devel mailing list