Review Request 116117: Place new panels to bottom by default

David Edmundson david at davidedmundson.co.uk
Sat Mar 1 11:52:47 GMT 2014


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

Ship it!



plasma/desktop/shell/data/layouts/org.kde.plasma-desktop.defaultPanel/contents/layout.js
<https://git.reviewboard.kde.org/r/116117/#comment36210>

    numberOfPanelsOnScreen might be a clearer variable name, as the number of panels is clearly panelIds.length


- David Edmundson


On March 1, 2014, 11:47 a.m., Jan Grulich wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116117/
> -----------------------------------------------------------
> 
> (Updated March 1, 2014, 11:47 a.m.)
> 
> 
> Review request for kde-workspace, Plasma, Aaron J. Seigo, Marco Martin, and Sebastian Kügler.
> 
> 
> Repository: kde-workspace
> 
> 
> Description
> -------
> 
> When adding a new empty panel, it's placed at top by default, but it should be placed to bottom, when it's possible. Also when adding a new "Default Panel" to second screen without any panel and you already have one on your first screen, then it's also placed to top instead of bottom. This is just a simple fix, which changes order of checking free edges for empty panels and adds a check for screenId when executing a script for default panel layout. I'm not much sure with the javascript part, but it works.
> 
> 
> Diffs
> -----
> 
>   plasma/desktop/shell/data/layouts/org.kde.plasma-desktop.defaultPanel/contents/layout.js 47f635c 
>   plasma/desktop/shell/desktopcorona.cpp d3635d9 
> 
> Diff: https://git.reviewboard.kde.org/r/116117/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jan Grulich
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140301/9aab8299/attachment.htm>


More information about the kde-core-devel mailing list