D15887: Fix Klipper popup opening on default screen instead of at cursor position

Michail Vourlakos noreply at phabricator.kde.org
Thu Oct 4 20:27:32 BST 2018


mvourlakos added a comment.


  In D15887#336647 <https://phabricator.kde.org/D15887#336647>, @davidedmundson wrote:
  
  > it binds it to the availableGeometry so it always appears outside of struts (panels)
  
  
  I dont think this is valid under wayland. QScreen::availableGeometry() returns only the QScreen::geometry() under wayland.
  The method I think plasma introduced to know the available screen space through qml is:
  AppletInterface::availableScreenRect or availableScreenRegion
  
  and for c++ side:
  
  Plasma::Corona::availableScreenRect
  Plasma::Corona::availableScreenRegion

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

To: romangeints, #plasma, davidedmundson
Cc: mvourlakos, romangeints, plasma-devel, 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/20181004/6444e3ad/attachment.html>


More information about the Plasma-devel mailing list