https://bugs.kde.org/show_bug.cgi?id=521734

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
Can confirm this is still happening on 26.04.2, so the fix in 518048
(FormCollectionComboBox: Drop unused collection property) did not fully resolve
it, or there's a second path into the same assert.

Environment:
OS: KDE neon User Edition
KDE Plasma: 6.7.0
KDE Frameworks: 6.27.0
Qt: 6.11.1
Kernel: 6.17.0-35-generic (64-bit)
Graphics platform: Wayland
CPU: Intel Core i7-4820K @ 3.70GHz
GPU: NVIDIA GeForce GTX 1050 Ti
merkuro package version: 26.04.2-0zneon+24.04+noble+release+build54

Steps to reproduce:
Open Merkuro Calendar, try to create a new event or edit an existing one.
Crashes 100% of the time, both on create and edit.

Terminal output before crash:
qrc:/qt/qml/org/kde/merkuro/calendar/qml/Dialogs/IncidenceEditorPage.qml:52:9:
Unable to assign [undefined] to bool
qt.core.qabstractitemmodel.checkindex: Index
QModelIndex(-1,-1,0x0,QObject(0x0)) is not valid (expected valid)
ASSERT: "checkIndex(index, QAbstractItemModel::CheckIndexOption::IndexIsValid)"
in file /workspace/build/src/core/models/colorproxymodel.cpp, line 56

Backtrace (gdb, no debug symbols):
#7  qt_assert() from libQt6Core.so.6
#8  ColorProxyModel::data(QModelIndex const&, int) const () from
libKPim6AkonadiCore.so.6
#9  KDescendantsProxyModel::data(QModelIndex const&, int) const () from
libKF6ItemModels.so.6
#10 QSortFilterProxyModel::data() from libQt6Core.so.6
#11 QSortFilterProxyModel::data() from libQt6Core.so.6
#12 QSortFilterProxyModel::data() from libQt6Core.so.6
#17 ?? () from libakonadi_quick_plugin.so
#25 QQmlJavaScriptExpression::evaluate()
#26 QQmlBinding::evaluate()
#29 QQmlObjectCreator::finalize()
#30 QQmlIncubatorPrivate::incubate()
#32 QQmlComponent::create()
#34 QQuickLoader::setActive(bool)

Additional data point that might help narrow this down:
ran akonadictl fsck beforehand, it found and repaired some unrelated orphan
items/collections, but had zero effect on this crash, so it doesn't look like
Akonadi data corruption. More importantly, KOrganizer, using the exact same
Akonadi backend and calendar collection, can create and edit events on this
same setup without any problem, and the events show up correctly in Merkuro
afterward. So whatever is going wrong seems specific to Merkuro's own incidence
editor QML / collection picker rather than the underlying Akonadi data or
ColorProxyModel logic itself — the picker is likely evaluating a binding that
reads the collection's color before its currentIndex/currentCollection is
actually set to something valid, sending -1,-1 into ColorProxyModel::data.
Calendar setup here is a single ICS resource (akonadi_ical_resource_0) plus the
default Personal Contacts / Birthdays collections, for what it's worth.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to