Bug 412426 - Plasma session dies on laptop screen disabled.
Summary: Plasma session dies on laptop screen disabled.
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.16.5
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-28 19:59 UTC by José Pekkarinen
Modified: 2021-08-17 03:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description José Pekkarinen 2019-09-28 19:59:31 UTC
SUMMARY

I recently upgraded to the version specified in the
ticket, since then, my current setup that worked in
5.15.5 no longer works. It's a laptop connected to an
external screen over usb-c.

STEPS TO REPRODUCE
1. Open a plasma session, both displays will start opened(no matter if lid is open or not)
2. Open and close the lid.

1. Open a plasma session.
2. System settings -> displays
3. Click the laptop screen.
4. Click enabled to disable it.

OBSERVED RESULT

Crash and reopening of sddm.

EXPECTED RESULT

Laptop screen get disabled, showing only one screen in the
virtual desktop preview, and opening all windows in the only
usable screen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo/plasma 5.16.5
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.60
Qt Version: 5.12.3
Comment 1 José Pekkarinen 2019-10-30 17:40:59 UTC
I unmasked ad merged 5.17.1, still this issue is present.
Comment 2 Nate Graham 2021-08-16 22:07:53 UTC
Is this on X11 or Wayland? If it's on Wayland and you can still reproduce the issue in Plasma 5.22, please provide a kwin_wayland backtrace. If it's on X11 and you can still reproduce the issue in Plasma 5.22, please provide an Xorg backtrace. Thanks!
Comment 3 José Pekkarinen 2021-08-17 03:44:07 UTC
It was wayland, yes, currently my setup is this:

Operating System: Gentoo Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.13.7-x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 4750U with Radeon Graphics
Memory: 30.5 GiB of RAM
Graphics Processor: AMD RENOIR

In this setup starting sessions with the lid closed leaves the
screen black during all the session. I'll test what happen if
I enable the display, and perform the operation a few times,
however, I have no knowledge how to get the kwin backtrace,
so if you can point me the right info I surely want to provide
the traces.

Thanks!

José.
Comment 4 José Pekkarinen 2021-08-17 03:50:40 UTC
I can confirm that this is fixed by know, I have enabled the display, and
slowly opened and closed the display a few times. I have seen how the virtual
desktop widget was reflecting when I was having only one screen available or 2.
No crashes, no apps dropped.

Best regards.

José.
Comment 5 Nate Graham 2021-08-17 03:55:18 UTC
Sweet, thanks!