Bug 483859 - plasmashell[1454]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"│
Summary: plasmashell[1454]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainm...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (show other bugs)
Version: 6.0.2
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-17 18:46 UTC by Ivan Stankovic
Modified: 2025-03-12 19:15 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Stankovic 2024-03-17 18:46:00 UTC
SUMMARY
I get the following warning:

plasmashell[1454]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"│


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 cwo 2025-03-12 19:15:50 UTC
Git commit f8085d49c438d771b1218cc8a4742c80752f398a by Christoph Wolk.
Committed on 12/03/2025 at 18:53.
Pushed by cwo into branch 'master'.

containments/desktop: resolve binding loop

The assignment of minimum and preferred sizes on the FolderView has
binding loops, which result from intermediate values as the other
bindings are filled.

This change resolves these loops by setting the bindings using
Qt.callLater(); when the main loop is clear and the other bindings have
settled, the proper sizes can be determined without causing loops.

M  +12   -6    containments/desktop/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/f8085d49c438d771b1218cc8a4742c80752f398a