[calindori] [Bug 498844] clock time picker requires scrolling after porting to Qt6, that's almost unusable on touchscreen
Marco Mattiolo
bugzilla_noreply at kde.org
Sat Feb 22 22:41:11 GMT 2025
https://bugs.kde.org/show_bug.cgi?id=498844
--- Comment #3 from Marco Mattiolo <marco.mattiolo at hotmail.it> ---
I'm doing some tests and analysis on this issue: IIUC, the relevant QML files
are (in parent->child order)
src/contents/ui/TimeSelectorButton.qml
src/contents/ui/TimePickerSheet.qml
src/contents/ui/kirigami-playground/TimePicker.qml
My first approach was to play with
https://invent.kde.org/plasma-mobile/calindori/-/blob/master/src/contents/ui/TimePickerSheet.qml?ref_type=heads#L26
(preferredHeight: Kirigami.Units.gridUnit * 25), but I realized that this
calindori page behaves differently on enchilada and on beryllium. Maybe it's
relevant, the enchilada is my daily driver, then the calendar has some events
stored.
I'm surprised that logs are different, as well: the line
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
is found only on the beryllium, which has the clock time picker page tall
enough to be used without issues. Seems like that the binding loop allows the
page to be a different height than what is specified in the code, thus not
showing the issue.
https://invent.kde.org/plasma-mobile/calindori/-/blob/master/src/contents/ui/TimeSelectorButton.qml?ref_type=heads#L47
points to TimePickerSheet, then I'm assuming the issue to be wherever a
parent-child couple is in some way both declaring height. maybe it's the
"Layout.fillHeight: true" in
https://invent.kde.org/plasma-mobile/calindori/-/blob/master/src/contents/ui/kirigami-playground/TimePicker.qml?ref_type=heads#L32
?
On xiaomi-beryllium:
Linux mobian 6.12-qcom #6.12.16-1 SMP PREEMPT Fri Feb 21 16:03:52 UTC 2025
aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
mobian at mobian:~$ dpkg -l | grep calindori
ii calindori 24.12.1-1
arm64 Calendar for Plasma Mobile
mobian at mobian:~$ calindori
qt.qml.typeregistration: Invalid QML element name "CalendarAttendee"; value
type names should begin with a lowercase letter
calendar: "personal"
Storage file loaded
qrc:/Main.qml:58:9: QML CalendarMonthPage: Created graphical object was not
placed in the graphics scene.
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
qrc:/CalendarHeader.qml:26: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:36: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:41: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:103: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:109: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarMonthPage.qml:49:13: Unable to assign [undefined] to int
qrc:/CalendarMonthPage.qml:56:13: Unable to assign [undefined] to int
qrc:/CalendarMonthPage.qml:143:9: QML EventsCardView: Created graphical object
was not placed in the graphics scene.
kf.coreaddons: The plugin
"/usr/lib/aarch64-linux-gnu/qt6/plugins/kpeople/datasource/KPeopleVCard.so"
explicitly states an Id in the embedded metadata, which is different from the
one derived from the filename The Id field from the KPlugin object in the
metadata should be removed
qrc:/EventsCardView.qml:89:13: QML EventEditorPage: Created graphical object
was not placed in the graphics scene.
loadPersistentAlarms: uid ""
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
AddAlarm: Adding alarm. Seconds before start: 900
qrc:/CalendarHeader.qml:26: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:36: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:41: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:103: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:109: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:26: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:36: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:41: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:103: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:109: TypeError: Cannot read property 'font' of undefined
qrc:/TimePicker.qml:96: TypeError: Cannot read property 'font' of undefined
qrc:/TimePicker.qml:96: TypeError: Cannot read property 'font' of undefined
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
qrc:/TimeSelectorButton.qml:47:5: QML TimePickerSheet: Binding loop detected
for property "y"
mobian at mobian:~$
And on enchilada:
Linux mobian 6.12-qcom #6.12.16-1 SMP PREEMPT Fri Feb 21 16:03:52 UTC 2025
aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
marco at mobian:~$ dpkg -l | grep calindori
ii calindori 24.12.1-1
arm64 Calendar for Plasma Mobile
marco at mobian:~$ calindori
qt.qml.typeregistration: Invalid QML element name "CalendarAttendee"; value
type names should begin with a lowercase letter
calendar: "personal"
Storage file loaded
qrc:/Main.qml:58:9: QML CalendarMonthPage: Created graphical object was not
placed in the graphics scene.
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
qrc:/CalendarHeader.qml:26: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:36: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:41: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:103: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:109: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarMonthPage.qml:49:13: Unable to assign [undefined] to int
qrc:/CalendarMonthPage.qml:56:13: Unable to assign [undefined] to int
qrc:/CalendarMonthPage.qml:143:9: QML EventsCardView: Created graphical object
was not placed in the graphics scene.
kf.coreaddons: The plugin
"/usr/lib/aarch64-linux-gnu/qt6/plugins/kpeople/datasource/KPeopleVCard.so"
explicitly states an Id in the embedded metadata, which is different from the
one derived from the filename The Id field from the KPlugin object in the
metadata should be removed
qrc:/EventsCardView.qml:89:13: QML EventEditorPage: Created graphical object
was not placed in the graphics scene.
loadPersistentAlarms: uid ""
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role -1 "color"
AddAlarm: Adding alarm. Seconds before start: 900
qrc:/CalendarHeader.qml:26: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:36: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:41: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:103: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:109: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:26: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:36: TypeError: Cannot read property 'font' of undefined
qrc:/CalendarHeader.qml:41: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:103: TypeError: Cannot read property 'font' of undefined
qrc:/MonthView.qml:109: TypeError: Cannot read property 'font' of undefined
qrc:/TimePicker.qml:96: TypeError: Cannot read property 'font' of undefined
qrc:/TimePicker.qml:96: TypeError: Cannot read property 'font' of undefined
marco at mobian:~$ exit
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list