[Differential] [Commented On] D3355: add maskArea in panel view

mart (Marco Martin) noreply at phabricator.kde.org
Tue Nov 15 13:00:41 UTC 2016


mart added a comment.


  looking more into it, i see that qregions are not directly supported by qml, it should become a qvariantlist of rectangles, that's quite ugly, so scratch that.
  
  another thing, even if the input mask is correct, it would still not work correctly: both window maximizing and snapping would go to the real geometry of the window, making the "trick" obvious. window maximization could be fixed by setting different struts, but that would *not* work on wayland.
  
  An alternative approach for the parabolic zoom of your dock I tought instead is doing in a similar way of plasma mobile (for its top, pull-down slide panel):
  
  - the panel would have the "real" geometry, always "small"
  - when the mouse goes over it, another window that is not the panel appears (i think it would be either a dock window or a bypasswindowmanagerhit one) it may either be a fullscreen window or just the size of the maximum extent the icons would zoom
  - the icon list gets reparented in the new window, tough positioned exactly over the panel actual geometry
  - now it can animate and zoom where it wants, anywhere in the screen
  - when the cursor goes away the icons area, the icons animate to small again, then gets reparented to the real panel again, the second window gets hidden again

REPOSITORY
  rPLASMAWORKSPACE Plasma Workspace

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

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: mvourlakos, #plasma, davidedmundson
Cc: mart, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161115/04252a59/attachment.html>


More information about the Plasma-devel mailing list