https://bugs.kde.org/show_bug.cgi?id=367981

            Bug ID: 367981
           Summary: Changing the "screen" property has no effect.
           Product: plasmashell
           Version: 5.7.3
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Panel
          Assignee: plasma-b...@kde.org
          Reporter: pmdum...@gmail.com

In accordance with
https://userbase.kde.org/KDE_System_Administration/PlasmaDesktopScripting#Activities_and_Panels

The "screen" property of a panel should be read/writable, however changing it
has no effect.



Reproducible: Always

Steps to Reproduce:
1. Have a dual monitor configuration with at least one panel.
2. Launch runner via "Alt F2", type "scripting console" and select "Desktop
shell scripting console"
3. Paste the following code:

r = panels()
print("===> Current:")
print(r[0].screen)
print(r[0].location)
print("===> Setting new value (make them different to current):")
r[0].screen = 1;
r[0].location = 'top';
r[1].reloadConfig()



Actual Results:  
Changing location attribute changes position of panel, (top vs bottom) however
changing screen umber has no effect, (moving the panel manually and re-running
the script does update the value, so it appears that the value is read-only.


Expected Results:  
Panel should have moved from one screen to the other.

On a side note, the "version" in
https://userbase.kde.org/KDE_System_Administration/PlasmaDesktopScripting#Activities_and_Panels

is listed under the list headed by the sentence, "as well as the following
read/write properties:" however clearly the version should be read-only!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to