Review Request 118548: Port libtaskmanager away from QDesktopWidget

Martin Gräßlin mgraesslin at kde.org
Fri Jun 6 05:48:39 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118548/#review59370
-----------------------------------------------------------


> It fudges window geometry by removing 5 pixels from each side of the rect with a note about window decoration overscan. This is likely ancient code, is it still relevant today to do this?

Most likely yes, IIRC this is for handling shadows. Shadows at the border bleed into the next screen.

- Martin Gräßlin


On June 5, 2014, 7:12 p.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118548/
> -----------------------------------------------------------
> 
> (Updated June 5, 2014, 7:12 p.m.)
> 
> 
> Review request for Plasma, Martin Gräßlin, Eike Hein, and Luca Beltrame.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> plasmoid.screen doesn't map to QDesktopWidget indexes anymore, therefore we need to port it.
> 
> This patch uses the screen geometry to figure out what's the screen and then passes around the screen rect so that we can filter out the screens that aren't inside if the user asks for it.
> 
> 
> Diffs
> -----
> 
>   libtaskmanager/taskmanager.cpp 27eeed7 
>   libtaskmanager/taskmanager.h e6ca735 
>   libtaskmanager/task.h 13a5a9c 
>   libtaskmanager/task.cpp 50ea1a6 
>   libtaskmanager/launcheritem.cpp 649caca 
>   libtaskmanager/groupmanager.h aa71bac 
>   libtaskmanager/groupmanager.cpp 83b39ef 
> 
> Diff: https://git.reviewboard.kde.org/r/118548/diff/
> 
> 
> Testing
> -------
> 
> I have played with it and seems to work.
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140606/961fcab8/attachment.html>


More information about the Plasma-devel mailing list