Review Request 128950: Allow Plasma desktop scripting to change panel's screen.

Marco Martin notmart at gmail.com
Mon Sep 19 21:52:21 UTC 2016


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




shell/scripting/panel.cpp (line 189)
<https://git.reviewboard.kde.org/r/128950/#comment66854>

    this can't rely on the order of qGuiApp->screens, but should use screenpool in shellcorona, it's the only place where you can find a reliable mapping


- Marco Martin


On Sept. 19, 2016, 9:28 p.m., Kamil Sołtysik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128950/
> -----------------------------------------------------------
> 
> (Updated Sept. 19, 2016, 9:28 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Bugs: https://bugs.kde.org/show_bug.cgi?id=363592
>     https://bugs.kde.org/show_bug.cgi?id=https://bugs.kde.org/show_bug.cgi?id=363592
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> As stated in doc here: https://userbase.kde.org/KDE_System_Administration/PlasmaDesktopScripting#Panels Panels should allow to be placed on selected screen by setting value of Panel::screen property. While looking at code I found out that this property is read-only in code. Patch changes that.
> 
> 
> Diffs
> -----
> 
>   shell/scripting/panel.h 0d70784 
>   shell/scripting/panel.cpp b9383df 
> 
> Diff: https://git.reviewboard.kde.org/r/128950/diff/
> 
> 
> Testing
> -------
> 
> Panel's position can now be changed by setting the property. Setting invalid value causes no response.
> 
> 
> Thanks,
> 
> Kamil Sołtysik
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160919/117cdef3/attachment.html>


More information about the Plasma-devel mailing list