[korganizer] [Bug 495848] Korganizer crash when I want to add new event or open existing event

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Mar 30 08:56:44 BST 2025


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

--- Comment #9 from emi.caruso at free.fr ---
(In reply to Allen Winter from comment #8)
> yes, but I'm unable to reproduce.  
> 
> are you using neon too? 
> 
> which KDE versions and Qt version?

I'm using KDE Neon 6.3.

KDE plasma is 6.3, KDE frameworks 6.12.0 and Qt 6.8.2.

I use KDE Neon since begin of 2024 and this bug exist for me since the
beginning (or may be after the last LTS update).(In reply to Allen Winter from
comment #8)
> yes, but I'm unable to reproduce.  
> 
> are you using neon too? 
> 
> which KDE versions and Qt version?

I'm using KDE Neon 6.3.

KDE plasma is 6.3, KDE frameworks 6.12.0 and Qt 6.8.2.

I use KDE Neon since begin of 2024 and this bug exist for me since the
beginning (or may be after the last LTS update).

In this method,  "editor->load(incidence);" is alway dirty !!!

void CombinedIncidenceEditor::load(const KCalendarCore::Incidence::Ptr
&incidence)
{
    mLoadedIncidence = incidence;
    for (IncidenceEditor *editor : std::as_const(mCombinedEditors)) {
        // load() may fire dirtyStatusChanged(), reset mDirtyEditorCount to
make sure
        // we don't end up with an invalid dirty count.
        editor->blockSignals(true);
        editor->load(incidence);
        editor->blockSignals(false);

        if (editor->isDirty()) {
            // We are going to crash due to assert. Print some useful info
before crashing.
            qCWarning(INCIDENCEEDITOR_LOG) << "Faulty editor was " <<
editor->objectName();
            qCWarning(INCIDENCEEDITOR_LOG) << "Incidence " << (incidence ?
incidence->uid() : QStringLiteral("null"));

            editor->printDebugInfo();

            Q_ASSERT_X(false, "load", "editor shouldn't be dirty");
        }
    }

    mWasDirty = false;
    mDirtyEditorCount = 0;
    Q_EMIT dirtyStatusChanged(false);
}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list