Bug 457477 - Can't add timer
Summary: Can't add timer
Status: RESOLVED FIXED
Alias: None
Product: KClock
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Devin Lin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-04 11:41 UTC by elman
Modified: 2022-10-13 14:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description elman 2022-08-04 11:41:30 UTC
SUMMARY
Can't add timer in kclock. When I click "+ Add timer", application becomes unresponsive. If I start it from shell, I get a lot of looping errors:

...
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: possible QQuickItem::polish() loop
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: ColumnLayout called polish() inside updatePolish() of ColumnLayout
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: possible QQuickItem::polish() loop
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: ColumnLayout called polish() inside updatePolish() of ColumnLayout
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: possible QQuickItem::polish() loop
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: ColumnLayout called polish() inside updatePolish() of ColumnLayout
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: possible QQuickItem::polish() loop
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: ColumnLayout called polish() inside updatePolish() of ColumnLayout
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: possible QQuickItem::polish() loop
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: ColumnLayout called polish() inside updatePolish() of ColumnLayout
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
...

STEPS TO REPRODUCE
1.  Run kclock
2.  Click "+ Add timer" button

OBSERVED RESULT
Application becomes unresponsive

EXPECTED RESULT
I assume there is modal to set timer.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux Unstable
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.16-1-MANJARO (64-bit)
Graphics Platform: X11
Comment 1 Devin Lin 2022-08-04 22:58:57 UTC
Hmm, it seems to work for me...

Which version of kclock do you have installed, and which KDE Frameworks version (Kirigami specifically)?
Comment 2 elman 2022-08-08 16:57:21 UTC
I can reproduce error on different computer with Manjaro Stable. I have:

extra/kirigami2 5.96.0-1 (kf5) [installed]
extra/kirigami-addons 1:0.3-1 [installed]
community/kclock 22.06-1 [installed]

When I start kclock, I see these messages:

file:///usr/lib/qt/qml/org/kde/kirigami.2/Dialog.qml:358:37: QML Binding: Binding loop detected for property "value"
file:///usr/lib/qt/qml/org/kde/kirigami.2/PlaceholderMessage.qml:235:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt/qml/org/kde/kirigami.2/PlaceholderMessage.qml:235:5: QML Heading: Binding loop detected for property "verticalAlignment"
qrc:/qml/time/TimePage.qml:18:1: QML TimePage: Binding loop detected for property "implicitHeight"
file:///usr/lib/qt/qml/org/kde/kirigami.2/PlaceholderMessage.qml:235:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt/qml/org/kde/kirigami.2/ContextDrawer.qml:125:9: QML ListView: Binding loop detected for property "topMargin"
Comment 3 Devin Lin 2022-08-11 02:04:11 UTC
Hmm, that's weird, I am currently unable to reproduce this on my laptop with Manjaro.

Your package versions seem to be correct, I am not totally sure why this is happening... Does this occur if you try the Flatpak version?
Comment 4 elman 2022-08-11 09:15:22 UTC
flatpak run org.kde.kclock doesn't work either.

Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: possible QQuickItem::polish() loop
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: ColumnLayout called polish() inside updatePolish() of ColumnLayout
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: possible QQuickItem::polish() loop
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: ColumnLayout called polish() inside updatePolish() of ColumnLayout
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: possible QQuickItem::polish() loop
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: ColumnLayout called polish() inside updatePolish() of ColumnLayout
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: possible QQuickItem::polish() loop
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: ColumnLayout called polish() inside updatePolish() of ColumnLayout
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: possible QQuickItem::polish() loop
qrc:/qml/timer/TimerFormWrapper.qml:108:13: QML ColumnLayout: ColumnLayout called polish() inside updatePolish() of ColumnLayout
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Qt Quick Layouts: Polish loop detected. Aborting after two iterations.
Comment 5 Bug Janitor Service 2022-08-26 04:35:41 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 6 Devin Lin 2022-08-31 00:34:31 UTC
I apologize for the delay, I am waiting on a new version to be released (Plasma Mobile Gear 22.08, but it seems to be delayed) to see if that would change anything.

It's really strange though that I have not been able to reproduce this issue on any of my devices...
Comment 7 Devin Lin 2022-10-06 21:46:43 UTC
Could you please upgrade to v22.09 and see if this is still an issue?
Comment 8 elman 2022-10-13 14:26:09 UTC
With current version of packages the issue is no longer present and I can add timers.

KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6

kirigami2 5.99.0-1
kirigami-addons 0.4-1
kclock 22.06-1 (so I'm not using 22.09)

Seems like the bug was in one of the underlying libraries.