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

            Bug ID: 362128
           Summary: Task manager restored to wrong screen
           Product: plasmashell
           Version: 5.6.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Task Manager
          Assignee: h...@kde.org
          Reporter: daniel.lichtenber...@gmx.net
                CC: plasma-b...@kde.org

Since 5.6.2, my task manager bar is always restored to screen 1 (which is
left-of screen 0) instead of screen 0. I can drag it back to screen 0 (and the
lastScreen config entry is updated correctly), but on restart it's back on
screen 1. I guess this could be related to this commit:

commit 046260f397491c185e77b72110f7a2a0dfadb82b
Author: Marco Martin <notm...@gmail.com>
Date:   Thu Feb 4 15:50:28 2016 +0100

    insist to have lastScreen -1

    never risk to go in a panel by itself

diff --git a/systemtray.cpp b/systemtray.cpp
index 1e10f66..79f6c82 100644
--- a/systemtray.cpp
+++ b/systemtray.cpp
@@ -56,6 +56,7 @@ SystemTray::~SystemTray()

 void SystemTray::init()
 {
+    config().writeEntry("lastScreen", -1);
     Containment::init();
     actions()->removeAction(actions()->action("add widgets"));
     actions()->removeAction(actions()->action("add panel"));


Reproducible: Always

Steps to Reproduce:
1. Drag task manager to screen 1
2. Restart the computer
3.

Actual Results:  
Task manager is restored on screen 0.

Expected Results:  
Task manager should be restored on screen 1.

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

Reply via email to