Bug 431080 - QML error Binding Loop detected with org.kde.plasma.notifications
Summary: QML error Binding Loop detected with org.kde.plasma.notifications
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.20.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
: 432080 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-02 20:04 UTC by Aurélien Oudelet (auroud85_fr)
Modified: 2021-07-29 09:26 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aurélien Oudelet (auroud85_fr) 2021-01-02 20:04:51 UTC
SUMMARY
Each time a notification appears in systray (from receiving a mail in KMail or other application that generates one), in system journal we can see:

janv. 02 18:16:13 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/SelectableLabel.qml:59:9: QML QQuickTextEdit: Binding loop detected for property "width"
janv. 02 18:16:13 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:16:13 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/SelectableLabel.qml:59:9: QML QQuickTextEdit: Binding loop detected for property "width"
janv. 02 18:16:13 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:21:27 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:27:17 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:28:07 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:33:51 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:34:51 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:39:05 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/CompactRepresentation.qml:146: ReferenceError: jobProgressItem is not defined
janv. 02 18:39:05 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/CompactRepresentation.qml:145:13: QML PropertyChanges: Cannot assign to non-existent property "visible"
janv. 02 18:39:06 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:43:17 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:45:22 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:45:54 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:56:47 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 18:59:08 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 19:00:48 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 19:03:26 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 19:03:48 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 19:06:17 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 19:08:43 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 19:17:25 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 19:39:35 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 20:11:52 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 20:16:17 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 20:29:55 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 20:34:35 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 20:35:10 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 20:37:32 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 20:37:42 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 20:41:05 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 20:45:07 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
janv. 02 20:45:32 mageia.local plasmashell[2438]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"


STEPS TO REPRODUCE
1. Receive a notification like new mail from KMail
2. See system log
3. 

OBSERVED RESULT
Notification displayed with warning logged in system log, subtle delay to display the notification as it creates a journal entry.

EXPECTED RESULT
Notification displayed without delay and no warning.

SOFTWARE/OS VERSIONS
Operating System: Mageia 8
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.10.4-desktop-2.mga8
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 15.6 Gio of RAM
Graphics Processor: GeForce GTX 1660 Ti/PCIe/SSE2
Comment 1 Nate Graham 2021-01-04 21:52:05 UTC
Yeah this is annoying.
Comment 2 Nate Graham 2021-01-25 22:54:19 UTC
*** Bug 432080 has been marked as a duplicate of this bug. ***
Comment 3 Vaso 2021-05-28 15:36:52 UTC
I have hundreds of such messages:

plasmashell[1595693]: message repeated 6 times: [ file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/quickcharts/controls/LegendDelegate.qml:65:18: QML RowLayout: Binding loop detected for property "actualValueWidth"]

grep -c "Binding loop detected" /var/log/syslog
929

I have also Alt+Shift language switch combo suddenly stop working.
Could it be related to this bug?
Comment 4 Nate Graham 2021-05-28 15:44:29 UTC
No
Comment 5 Len Chan 2021-06-04 16:04:45 UTC
SUMMARY
I have similar bug.
When I use xrandr to scale resolution to any scale size, restart plasma for a new size, then the notifications have a high delay and froze (the close button countdown not work, other actions have a high delay), and system log shows:

org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.iec958-stereo.monitor"
file:///home/len/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/Logic.qml:96: TypeError: Cannot read property 'showMeteogram' of null
file:///home/len/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/Logic.qml:140: TypeError: Cannot call method 'updateUI' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"



I also take a video to show this bug:
https://www.youtube.com/watch?v=x0srbnRd6dA


STEPS TO REPRODUCE
1. use xrandr change scale: "xrandr --scale 1.2x1.2"
2. kill and restart plasmashell to load scaled size: "kquitapp5 plasmashell && kstart5 plasmashell"
3. wait/create a notification (can screenshot or send to email to trigger it )
4. When notification received, it have high delay for any action and the system log shows as below.


OBSERVED RESULT
notification have freeze and high delay for any actions.

EXPECTED RESULT
work prefectlly


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Lastest ArchLiunx on Intel NUC i5 1135-G
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel: 5.12.7-xanmod
Graphic Platform: X11
CPU: i5-1135G7
Comment 6 ad1rie3 2021-07-29 09:26:56 UTC
Hello, 

Fixed by :
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/974