Bug 458036 - When dragging items in Thunderbird and Dolphin, nothing moves with the cursor
Summary: When dragging items in Thunderbird and Dolphin, nothing moves with the cursor
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-08-18 15:41 UTC by Nate Graham
Modified: 2022-09-01 13:33 UTC (History)
1 user (show)

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


Attachments
WL_DEBUG=1 log from Dolphin while dragging a file (171.35 KB, text/plain)
2022-08-18 15:41 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2022-08-18 15:41:15 UTC
Created attachment 151410 [details]
WL_DEBUG=1 log from Dolphin while dragging a file

Git master everything KDE on top of Fedora 36.

This is a recent regression that just started happening with git master a few days ago.

Now, when I drag a file in Dolphin or an email in Thunderbird, nothing moves with the cursor. WL_DEBUG log for Dolphin attached.

It works properly in Folder View on the Plasma desktop.
Comment 1 David Edmundson 2022-08-18 15:54:26 UTC
[3428653.324]  -> wl_data_device@10.start_drag(wl_data_source@48, wl_surface@27, wl_surface@47, 1702)
[...]
[3428659.996]  -> wl_surface@47.attach(wl_buffer@51, -71, 0)
[3428660.003]  -> wl_surface@47.damage_buffer(0, 0, 284, 260)

We are starting a drag and attaching a large buffer 

it all looks ok client side
Comment 2 Bug Janitor Service 2022-09-01 13:08:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2887
Comment 3 Vlad Zahorodnii 2022-09-01 13:32:45 UTC
Git commit 207a16f14f83976301b970be673050bb6e29e05f by Vlad Zahorodnii.
Committed on 01/09/2022 at 13:11.
Pushed by vladz into branch 'master'.

backends/drm: Fix software cursor fallback in DrmOutput::renderCursorOpengl()

We need to return if the cursor sprite is bigger than DrmGpu::cursorSize().

M  +1    -0    src/backends/drm/drm_output.cpp

https://invent.kde.org/plasma/kwin/commit/207a16f14f83976301b970be673050bb6e29e05f
Comment 4 Vlad Zahorodnii 2022-09-01 13:33:37 UTC
Git commit 9ad0c3eba793b3c5e8a2e2cb6a00f43c9187e822 by Vlad Zahorodnii.
Committed on 01/09/2022 at 13:33.
Pushed by vladz into branch 'Plasma/5.25'.

backends/drm: Fix software cursor fallback in DrmOutput::renderCursorOpengl()

We need to return if the cursor sprite is bigger than DrmGpu::cursorSize().


(cherry picked from commit 207a16f14f83976301b970be673050bb6e29e05f)

M  +1    -0    src/backends/drm/drm_output.cpp

https://invent.kde.org/plasma/kwin/commit/9ad0c3eba793b3c5e8a2e2cb6a00f43c9187e822