Bug 510186 - Cursor shape not changing after quickly resizing
Summary: Cursor shape not changing after quickly resizing
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.4.91
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-02 21:17 UTC by Nicolas
Modified: 2025-10-14 06:50 UTC (History)
2 users (show)

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


Attachments
Position where cursor gets stuck (11.17 KB, image/png)
2025-10-03 09:02 UTC, Akseli Lahtinen
Details
cursors set by keepassxc (17.79 KB, image/png)
2025-10-03 09:42 UTC, Vlad Zahorodnii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas 2025-10-02 21:17:48 UTC
SUMMARY
When resizing a window in the lower right corner and releasing the held mouse button, the cursor shape may stay in diagonal shape. I was only able to reproduce it in keepassxc

STEPS TO REPRODUCE
1. Open keepassxc
2. click once in the resize corner in the lower right


OBSERVED RESULT
The cursor will keep its diagonal resize shape (while the cursor above the window) and not change until a click happens. Also hovering text fields does not update the cursor shape anymore.
Could also be a keepassxc issue, as I cant reproduce it with any other program, but I never observed it before 6.5.

EXPECTED RESULT
The cursor shape is reset and applied when leaving the resize corner.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.91
KDE Frameworks Version: 6.18.0
Qt Version: 6.10.0
Kernel Version: 6.16.8-arch3-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 32 GiB of RAM (31.0 GiB usable)
Graphics Processor 1: Mesa Intel® UHD Graphics 630
Graphics Processor 2: NVIDIA GeForce GTX 1650/PCIe/SSE2
Manufacturer: LENOVO
Product Name: 20QVCTO1WW
System Version: ThinkPad X1 Extreme 2nd

ADDITIONAL INFORMATION
Comment 1 Akseli Lahtinen 2025-10-03 09:02:07 UTC
Created attachment 185474 [details]
Position where cursor gets stuck

Can confirm, it depends on where you start dragging.

If the cursor is inside the window, it gets stuck in that visual. If it's outside of the window, it works normally.

I have Keepass installed from Fedora packages.

Operating System: Fedora Linux 42
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.9-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600
Comment 2 Vlad Zahorodnii 2025-10-03 09:16:25 UTC
> but I never observed it before 6.5.

I can reproduce it in 6.4 too.
Comment 3 Vlad Zahorodnii 2025-10-03 09:41:37 UTC
I suspect that it's a bug in Qt 5.
Comment 4 Vlad Zahorodnii 2025-10-03 09:42:57 UTC
Created attachment 185476 [details]
cursors set by keepassxc

highlighted with yellow marker: cursors set prior to starting resizing, 5 and 6 are cursors set by keepassxc after releasing LMB
Comment 5 David Edmundson 2025-10-08 12:41:28 UTC
Unfortunately there is nothing wrong at a kwin level. Please report to keepassxc
Comment 6 Vlad Zahorodnii 2025-10-14 06:50:41 UTC
FWIW I wrote a simple test app with a QSizeGrip. If it's built against Qt5, I can reproduce the issue. If it's built against Qt6, the issue is not reproducible. So porting KeePassXC to Qt6 should fix the bug.