https://bugs.kde.org/show_bug.cgi?id=523756
Bug ID: 523756
Summary: Rectangular region capture in Spectacle crashes on
Wayland when internal laptop display is disabled with
external-only monitor active
Classification: Plasma
Product: kwin
Version First 6.6.5
Reported In:
Platform: Kubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Steps to reproduce:
ThinkPad laptop + single external monitor connected via DisplayPort, Plasma
Wayland session.
Close laptop lid (or otherwise disable the internal display) so only the
external monitor is active.
Launch Spectacle's rectangular region tool (e.g. via Print Screen), or run
spectacle -r from terminal.
Observed result: Spectacle crashes immediately with SIGSEGV. Attempting
kscreen-doctor output.eDP-1.disable in this state fails with an
invalid/overflowed geometry error: Position of enabled output DP-2 is negative
(-2147481727, -2147483647).
Expected result: Rectangular region capture should work normally, as it does
with both displays active, or with only the internal display active.
Additional notes:
Full-screen capture (spectacle -b, i.e. Shift+Print Screen) and active-window
capture (spectacle -a) both work fine in the same disabled-eDP-1 configuration
— only the interactive rectangular-region overlay crashes.
Ruled out: Tesseract/OCR (crash persists with libtesseract.so.5 removed),
QR/barcode library, screen-mirroring config in ~/.config/kwinoutputconfig.json
(crash persists after clearing replicationSource), GPU rendering
(LIBGL_ALWAYS_SOFTWARE=1 doesn't help).
Confirmed as Wayland-specific: the same rectangular region capture works
perfectly under a Plasma (X11) session with the identical hardware
configuration (lid closed, external monitor only).
kscreen-doctor -o in the failing state shows eDP-1 as disabled and connected,
with replication source:0 still referenced.
System info:
Kubuntu 26.04, kde-spectacle 4:6.6.5-0ubuntu0.1
KDE Plasma 6.6.5, Wayland session
Lenovo ThinkPad X1, external Dell P2419H monitor via HDMI via USB-C adapter
--
You are receiving this mail because:
You are watching all bug changes.