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

            Bug ID: 528881
           Summary: Wayland: desktop and panel not restored after the only
                    output is disconnected and reconnected (plasmashell
                    screenCount stays 0)
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.6
       Reported In:
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: generic-performance
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 1.0

***
If you're not sure this is actually a bug or valid feature request, instead
post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Do not paste LLM output.

Please remove this comment after reading and before submitting - thanks!
***

DESCRIPTION
Laptop with the lid closed, so the internal panel (eDP-1) is disabled. There is
one external monitor on HDMI-A-1, connected through a KVM switch. Switching the
KVM away disconnects HDMI, which leaves no outputs at all.
After switching back, KWin re-enables HDMI-A-1 and application windows display
normally, but plasmashell doesn’t recreate the desktop or panel. plasmashell is
still running: there’s no crash and no core dump. systemctl --user restart
plasma-plasmashell restores the desktop and panel.

STEPS TO REPRODUCE
1. Wayland session, laptop lid closed, a single external monitor on HDMI
connected through a KVM switch.
2. Switch the KVM to another computer. Every Qt client logs qt.qpa.wayland:
There are no outputs - creating placeholder screen.
3. Switch the KVM back.

OBSERVED RESULT
The background is black and there’s no panel. Windows display and work
normally.
evaluateScript over D-Bus reports screenCount 0, 3 desktops and 1 panel.
At the same time, kscreen-doctor -o shows HDMI-A-1 as enabled and connected.
Frequency: most switches - seems to have been happening only for the last week
or so, but may have been longer.

EXPECTED RESULT
The desktop and panel reappear on HDMI-A-1 once it’s re-enabled.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 26.04 LTS
KDE Plasma Version: 6.6.6
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 7.0.0-42-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics

ADDITIONAL INFORMATION
Can reproduce this consistently by switching the KVM and returning to Linux
about a minute later.

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

Reply via email to