Bug 443993 - Momentary blackscreen upon ejection of USB drive
Summary: Momentary blackscreen upon ejection of USB drive
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: git-stable-Plasma/5.22
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-18 20:04 UTC by George
Modified: 2024-04-25 15:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George 2021-10-18 20:04:00 UTC
SUMMARY

Momentary black screen whenever I software eject a USB drive, actually removing the device after software ejection does not cause it now does simply removing the drive without first un-mounting it.

STEPS TO REPRODUCE

1. Insert any USB stick
2. Software Eject it, either from CLI, Dolphin or the Task Tray.

OBSERVED RESULT

Momentary, under a second, black screen across the entire display, only the mouse remains visible.

EXPECTED RESULT

No black screen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

For me this is an extremely minor bug that I personally don't have issue with - if anything in fact it gives an extra layer of confirmation that I've ejected the drive.  However, I am aware it is still a bug.

journalctl output during a mount to eject sequence :

==========

Oct 18 20:26:52 Styx kernel: usb 2-1: new SuperSpeed Gen 1 USB device number 8 using xhci_hcd
Oct 18 20:26:52 Styx kernel: usb 2-1: New USB device found, idVendor=0781, idProduct=5588, bcdDevice= 1.00
Oct 18 20:26:52 Styx kernel: usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
Oct 18 20:26:52 Styx kernel: usb 2-1: Product: USB Extreme Pro
Oct 18 20:26:52 Styx kernel: usb 2-1: Manufacturer: SanDisk
Oct 18 20:26:52 Styx kernel: usb 2-1: SerialNumber: 12345978D812
Oct 18 20:26:52 Styx kernel: usb-storage 2-1:1.0: USB Mass Storage device detected
Oct 18 20:26:52 Styx kernel: scsi host0: usb-storage 2-1:1.0
Oct 18 20:26:52 Styx mtp-probe[188940]: checking bus 2, device 8: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
Oct 18 20:26:52 Styx mtp-probe[188940]: bus: 2, device: 8 was not an MTP device
Oct 18 20:26:53 Styx mtp-probe[188970]: checking bus 2, device 8: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
Oct 18 20:26:53 Styx mtp-probe[188970]: bus: 2, device: 8 was not an MTP device
Oct 18 20:26:53 Styx kernel: scsi 0:0:0:0: Direct-Access     SanDisk  Extreme Pro      0    PQ: 0 ANSI: 6
Oct 18 20:26:53 Styx kernel: sd 0:0:0:0: [sda] 250085376 512-byte logical blocks: (128 GB/119 GiB)
Oct 18 20:26:53 Styx kernel: sd 0:0:0:0: [sda] Write Protect is off
Oct 18 20:26:53 Styx kernel: sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
Oct 18 20:26:53 Styx kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct 18 20:26:53 Styx kernel:  sda: sda1
Oct 18 20:26:53 Styx kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
Oct 18 20:26:59 Styx udisksd[889]: Mounted /dev/sda1 at /run/media/gnome/SPEEDY on behalf of uid 1000
Oct 18 20:27:03 Styx kwin_x11[1003]: kwin_core: XCB error: 152 (BadDamage), sequence: 52916, resource id: 15411957, major code: 143 (DAMAGE), minor code: 2 (Destroy)
Oct 18 20:27:03 Styx kwin_x11[1003]: kwin_core: XCB error: 3 (BadWindow), sequence: 52918, resource id: 62914633, major code: 129 (SHAPE), minor code: 6 (Input)
Oct 18 20:27:03 Styx kwin_x11[1003]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 52919, resource id: 62914633, major code: 2 (ChangeWindowAttributes), minor code: 0
Oct 18 20:27:03 Styx systemd[1]: run-media-gnome-SPEEDY.mount: Deactivated successfully.
Oct 18 20:27:03 Styx udisksd[889]: Cleaning up mount point /run/media/gnome/SPEEDY (device 8:1 is not mounted)
Oct 18 20:27:03 Styx udisksd[889]: Unmounted /dev/sda1 on behalf of uid 1000
Oct 18 20:27:03 Styx kernel: sda: detected capacity change from 128043712512 to 0
Oct 18 20:27:06 Styx kernel: usb 2-1: USB disconnect, device number 8

==========
Comment 1 Nate Graham 2021-10-20 14:46:55 UTC
that's rather odd.
Comment 2 David Edmundson 2024-04-25 14:33:47 UTC
Please confirm if this is still an issue
Comment 3 George 2024-04-25 15:40:47 UTC
(In reply to David Edmundson from comment #2)
> Please confirm if this is still an issue

Hi, I don't actually know because I have since stopped using KDE as my daily driver.

However, as no one else has reported this issue I think we can safely assume it was environmental, and therefore can likely be closed.