Bug 456635 - Slight delay before window starts dragging
Summary: Slight delay before window starts dragging
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-12 16:11 UTC by ratijas
Modified: 2022-08-09 13:02 UTC (History)
1 user (show)

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


Attachments
KWin - start dragging (2.58 MB, video/mp4)
2022-07-12 16:11 UTC, ratijas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2022-07-12 16:11:27 UTC
Created attachment 150562 [details]
KWin - start dragging

SUMMARY

When I start moving windows by dragging, I experience a slight but disrupting delay between the time I pressed/started dragging, and the time a window actually starts changing its position in response. All frames in between are skipped, so it feels like a "jump".

STEPS TO REPRODUCE
1. Start dragging a window.

OBSERVED RESULT
A disrupting delay.

EXPECTED RESULT
No delay.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE: git master
Qt Version: 5.15.5
Kernel Version: 5.18.10-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: G752VT
System Version: 1.0

ADDITIONAL INFORMATION

It happens consistently every time. Workaround: press and hold for a split of a second before start dragging, kinda like give it some time to warm up.

It happens both with Wobbly Windows effect and without it.

It happens regardless of which part of the window you start dragging from (decorations or empty part of a body), or even a Meta+drag.
Comment 1 ratijas 2022-08-09 13:02:19 UTC
New discovery: This problem is gone when plasmashell is dead. KWin becomes fully responsive again.

Pre-history: I updraged my Arch today, restarted plasma — and it crashed on start. *Sigh* I should've known to rebuild kde from git master first. Three hours in, it's still rebuilding (basically from scratch, nuking old build directory, because the very gcc was upgraded too), plasma is still dead — no desktop or panels, but most importantly: windows start moving and resizing immediately upon press & drag. KWin is as responsive as is could get.