Bug 481106

Summary: qrc:/overview/qml/main.qml:586:21: QML MouseArea: Cannot anchor to an item that isn't a parent or sibling.
Product: [Plasma] kwin Reporter: fanzhuyifan
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal Keywords: qt6
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description fanzhuyifan 2024-02-09 05:45:06 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. Toggle overview

OBSERVED RESULT
See the error

 qrc:/overview/qml/main.qml:585:21: QML MouseArea: Cannot anchor to an item that isn't a parent or sibling.

EXPECTED RESULT
Error doesn't occur

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0
Kernel Version: 6.7.4-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
Comment 1 Bug Janitor Service 2024-02-12 10:32:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5171
Comment 2 Vlad Zahorodnii 2024-02-12 11:20:12 UTC
Git commit b02190bf23da4ec900f44cc1bec80972d37dfc42 by Vlad Zahorodnii.
Committed on 12/02/2024 at 11:09.
Pushed by vladz into branch 'master'.

plugins/overview: Fix a warning about incorrect anchor

The mouse area is no longer a sibling of the window heap, which produces
a warning.

M  +8    -6    src/plugins/overview/qml/main.qml

https://invent.kde.org/plasma/kwin/-/commit/b02190bf23da4ec900f44cc1bec80972d37dfc42
Comment 3 Vlad Zahorodnii 2024-02-12 11:29:47 UTC
Git commit 26b605d4d9e250d13a8530c8bde504d7ced71018 by Vlad Zahorodnii.
Committed on 12/02/2024 at 11:20.
Pushed by vladz into branch 'Plasma/6.0'.

plugins/overview: Fix a warning about incorrect anchor

The mouse area is no longer a sibling of the window heap, which produces
a warning.


(cherry picked from commit b02190bf23da4ec900f44cc1bec80972d37dfc42)

M  +8    -6    src/plugins/overview/qml/main.qml

https://invent.kde.org/plasma/kwin/-/commit/26b605d4d9e250d13a8530c8bde504d7ced71018