Bug 435274 - Binding loops and TypeErrors in Formlayout
Summary: Binding loops and TypeErrors in Formlayout
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.80.0
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-02 17:28 UTC by trmdi
Modified: 2021-05-07 04:33 UTC (History)
2 users (show)

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


Attachments
Output (32.78 KB, text/plain)
2021-04-06 01:54 UTC, trmdi
Details
output-KF5.81 (102.11 KB, text/plain)
2021-04-07 16:35 UTC, trmdi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description trmdi 2021-04-02 17:28:02 UTC
Reproduce:
1, open Elisa from the terminal and add some songs to the Playlist
2. go to the Now Playing page then click on any Play button of any song in the Playlist

Result:
the terminal throws lots of warnings

Expect:
binding loop and other warnings should not happen.
Comment 1 tusooa 2021-04-03 14:43:39 UTC
I do not get any binding loop in ContextView.qml , on 20.08.3, from Gentoo ebuilds. However, there are outputs like:

qrc:/qml/NavigationActionBar.qml:59:13: QML Image: Binding loop detected for property "sourceSize.height"
qrc:/qml/NavigationActionBar.qml:59:13: QML Image: Binding loop detected for property "sourceSize.width"
qrc:/qml/NavigationActionBar.qml:59:13: QML Image: Binding loop detected for property "sourceSize.height"
qrc:/qml/NavigationActionBar.qml:59:13: QML Image: Binding loop detected for property "sourceSize.height"


It is preferred that you provide info about your software versions, including Qt versions, as well.
Comment 2 trmdi 2021-04-03 16:11:55 UTC
(In reply to Tusooa Zhu from comment #1)
> It is preferred that you provide info about your software versions,
> including Qt versions, as well.

Sorry I forgot mentioning it. I'm using the git version of Elisa with Plasma 5.21.0, KF 5.79.0, Qt 5.15.2.
Comment 3 Nate Graham 2021-04-05 23:49:57 UTC
Cannot reproduce with git master. I do get a few other warnings, but not those. Can you attach the full output in your terminal window?
Comment 4 trmdi 2021-04-06 01:54:24 UTC
Created attachment 137363 [details]
Output

Elisa is [the latest git commit](https://invent.kde.org/multimedia/elisa/-/commit/f7391fd593a75af9c4b17fb7fb77b1a1b85c8ddd).

Running system:
==============================================
Operating System: openSUSE Tumbleweed 20210330
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Comment 5 Nate Graham 2021-04-07 12:05:26 UTC
These binding loops and warnings are all in Kirigami.FormLayout, not in anything Elisa provides. However there appears to be a deeper problem. You shouldn't be seeing stuff like this:

file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:322: TypeError: Cannot read property 'Layout' of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:325: TypeError: Cannot read property 'Layout' of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:326: TypeError: Cannot read property 'Kirigami' of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:309: TypeError: Cannot read property 'enabled' of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:310: TypeError: Cannot read property 'visible' of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:313: TypeError: Cannot read property 'implicitWidth' of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:314: TypeError: Cannot read property 'implicitHeight' of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:368: TypeError: Cannot read property 'Kirigami' of null
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:370: TypeError: Cannot read property 'Kirigami' of null


What the heck?
Comment 6 Nate Graham 2021-04-07 12:05:51 UTC
Does it happen with Frameworks 5.80? Or even 5.81 which will be released soon?
Comment 7 trmdi 2021-04-07 12:20:18 UTC
Yes, it happens on 5.80. Not tested on 5.81 yet. It doesn't happen on your system? :/
Comment 8 Nate Graham 2021-04-07 12:42:18 UTC
Nope
Comment 9 trmdi 2021-04-07 16:35:17 UTC
Created attachment 137407 [details]
output-KF5.81

Happens also on the current latest openSUSE Krypton which has KF 5.81.
This is a live boot from the ISO.

=================================================
Operating System: openSUSE Tumbleweed 20210401
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Comment 10 Bug Janitor Service 2021-04-22 04:33:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2021-05-07 04:33:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!