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

            Bug ID: 468863
           Summary: Plasma automatically switching from unoccupied
                    desktops to occupied desktops
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: a...@alexhulbert.com
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

SUMMARY
Hi, I'm running into a really specific issue with plasma that's appeared within
the last month or so. I'm running Plasma 5.26.5 w/ i3 instead of kwin. This
combination was working perfectly for me up until recently.

When I jump to a workspace, if the workspace I'm jumping to is empty, the
workspace I'm jumping from is nonempty, and there's at least one non-empty
workspace with a greater number than the one I just switched to, plasma
automatically jumps me to the lowest-numbered nonempty workspace greater than
the one i tried to jump to a split second before jumping to the highest
numbered one.

For example, i have workspaces 2, 3, and 7, nonempty right now. if i run i3-msg
workspace 1, plasma would jump me to workspace 2 directly after workspace 1
loads and then it would jump to workspace 7 a split second after that. However,
jumping to workspace 2, 3, 7, 8, and 9 work fine. As another example, if
workspaces 2, 4, and 7 were occupied and i tried to visit workspace 3, it'd go
3 -> 4 -> 7.

This error goes away if i stop the plasmashell service, but comes back when i
start it back up again. I think plasmashell or one of its dependencies must be
setting  _NET_CURRENT_DESKTOP since that's the only way I could think of that
plasma be causing issues with i3.

If there's any more information I can provide or any potential files that I
might be able to screw around with in order to work around this issue for the
time being, let me know. 


STEPS TO REPRODUCE
1. Mask the kwin process in systemd and start i3 instead, closing the kde
window that displays the desktop
2. Put windows in workspaces 2, 3, and 7
3. Visit workspace 7
4. Try to visit workspace 1

OBSERVED RESULT
1. Workspace 1 is active for a tenth of a second or so
2. Plasmashell automatically switches the current workspace to workspace 2
3. Another tenth of a second later, plasmashell switches the current workspace
to workspace 7

EXPECTED RESULT
- Workspace 1 should stay active

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS 22.11
KDE Plasma Version: 5.26.5 (tried several other versions, but nixos annoyingly
doesn't let me downgrade any further than a few months ago)
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION

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

Reply via email to