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

            Bug ID: 363592
           Summary: Kscript can't move panel to another screen
           Product: plasmashell
           Version: 5.5.1
          Platform: Ubuntu Packages
               URL: http://superuser.com/questions/1081120/how-do-i-move-a
                    -kde-plasma-panel-from-commandline-scripts
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Panel
          Assignee: plasma-b...@kde.org
          Reporter: from_...@puggan.se

after running `panel.screen=0;` the panel.screen is still 2.

Reproducible: Always

Steps to Reproduce:
1. Have multiple screens connected.
2. starta a plasma-console: `qdbus org.kde.plasmashell /PlasmaShell
org.kde.PlasmaShell.showInteractiveConsole`

Run the script:
   var panel = panelById(panelIds[0]);
   print('before, panel.screen: ');
   print(panel.screen);
   panel.screen=0;
   //panel.location='top';
   panel.location='bottom';
   print('after, panel.screen: ');
   print(panel.screen);


Actual Results:  
Executing script at fredag 27 maj 2016 kl. 14:20:30 CEST

before, panel.screen: 
2
after, panel.screen: 
2

Runtime: 1ms

Expected Results:  
Executing script at fredag 27 maj 2016 kl. 14:20:30 CEST

before, panel.screen: 
2
after, panel.screen: 
0

Runtime: 1ms

I can move the panel using mouse, and the panel.screen ends up as 0, 1 or 2.
I can move the panel to another edge on the same screen (top, bottom).

The most annoying is when i move the laptop, to somewhere where i don't have 3
screens, and it stays on the 3th screen.
May be related to 362910 and 356225, but this problems also accures when all
screens are connected, and the panel is visible.

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

Reply via email to