Bug 478746

Summary: Can no longer drag entire desktops in desktop grid effect
Product: [Plasma] kwin Reporter: fanzhuyifan
Component: effects-desktop-gridAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: putr4.s
Priority: NOR Keywords: qt6
Version First Reported In: git master   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:

Description fanzhuyifan 2023-12-20 02:40:14 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Create multiple virtual desktops
2. Open some windows on one desktop
3. click empty space on that desktop and drag to another desktop

OBSERVED RESULT
See visual effects of window being dragged to different desktop, but windows are not actually moved there after releasing mouse.

EXPECTED RESULT
Windows should be moved to the target desktop.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.90
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Kernel Version: 6.6.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i9-13900H
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Zephyrus G16 GU603VV_GU603VV
System Version: 1.0

ADDITIONAL INFORMATION
This seems to be regression as I recall this working two weeks ago.
Comment 1 Bug Janitor Service 2023-12-20 04:22:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4816
Comment 2 fanzhuyifan 2023-12-20 07:15:36 UTC
Git commit 09a547361ab3808273250867c58c0f6547789ded by Yifan Zhu.
Committed on 20/12/2023 at 08:06.
Pushed by fanzhuyifan into branch 'master'.

plugins/overview: Use correct type to match

The overview effect uses the type of the dragged object to determine
if a single window is dragged or the entires desktop.
Commit 0ff4f84a changed the type of mainBackground, but did not
update the code for matching the type.
FIXED-IN: 6.0

M  +2    -1    src/plugins/overview/qml/main.qml

https://invent.kde.org/plasma/kwin/-/commit/09a547361ab3808273250867c58c0f6547789ded