Bug 478746 - Can no longer drag entire desktops in desktop grid effect
Summary: Can no longer drag entire desktops in desktop grid effect
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-desktop-grid (other bugs)
Version First Reported In: git master
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-20 02:40 UTC by fanzhuyifan
Modified: 2023-12-20 07:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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