Bug 495846 - Aborted drags can break input handling in Chromium and Electron (e.g. VS Code, Chrome, Discord, etc)
Summary: Aborted drags can break input handling in Chromium and Electron (e.g. VS Code...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 6.2.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-05 16:32 UTC by Jean-Francois Roy
Modified: 2024-11-25 17:53 UTC (History)
3 users (show)

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


Attachments
screencast showing the bug (368.66 KB, video/webm)
2024-11-05 16:32 UTC, Jean-Francois Roy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Francois Roy 2024-11-05 16:32:19 UTC
Created attachment 175556 [details]
screencast showing the bug

SUMMARY
In a Chromium (and Electron) app, when a drag cannot complete and the mouse is released, all input breaks in the app.

STEPS TO REPRODUCE
1. Open a git repo in Visual Studio Code (see version below)
2. Open a file (one tab total now)
3. Pick a commit in the Source Control module and click on the small "Open All Changes" icon (2 tabs total now)
4. Try to drag the _Changes ..._ tab

OBSERVED RESULT
The drag is blocked and upon releasing the mouse all input breaks.

EXPECTED RESULT
Input continues to work.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X3D 16-Core Processor
Memory: 62.4 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
Manufacturer: ASUS

ADDITIONAL INFORMATION

VSCode version (installed from Arch AUR):
Version: 1.95.1
Commit: 65edc4939843c90c34d61f4ce11704f09d3e5cb6
Date: 2024-10-31T05:14:54.222Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Linux x64 6.11.6-arch1-1
Comment 1 TraceyC 2024-11-25 17:11:11 UTC
I'm able to reproduce this with the steps to reproduce in Plasma 6.2.3 as well as git-master
I also noticed that if I have two Visual Studio windows, and one is broken in the way described, the other still works as expected.

Visual Studio Code v 1.95.3 installed from Solus repo
Electron 32.2.5
Chromium 128.0.6613.186
Comment 2 TraceyC 2024-11-25 17:53:40 UTC
I take that back, both windows were not responding