Bug 482037

Summary: (CRASH) Unable to delete incidents
Product: [Applications] Merkuro Reporter: Naxdy <xnaxdy>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: RESOLVED FIXED    
Severity: crash CC: carl, panku_null
Priority: NOR Keywords: qt6
Version First Reported In: 24.02.0   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Naxdy 2024-02-29 14:55:19 UTC
SUMMARY
Since 24.02, Merkuro Calendar locks up when attempting to delete an incident with the following message (console is flooded with it):

qrc:/DeleteIncidencePage.qml:41:5: QML ColumnLayout: Layout polish loop detected for QQuickColumnLayout(0x4de4680, parent=0x9b676e0, geometry=0,0 0x184). Aborting after two iterations.


STEPS TO REPRODUCE
1. Create an event (non-recurring)
2. Right click and attempt to delete it

OBSERVED RESULT
Application locks up

EXPECTED RESULT
Application does NOT lock up

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS
(available in About System)
KDE Plasma Version: 6.0
KDE Frameworks Version: 6.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
-
Comment 1 Naxdy 2024-02-29 17:12:35 UTC
Possibly a bug in Kirigami, since the file in question hasn't really changed in 24.02
Comment 2 Naxdy 2024-03-11 21:05:53 UTC
Not a bug anymore since 6.0.1, so I'm guessing it was some frameworks / library issue
Comment 3 Carl Schwan 2024-03-12 09:52:58 UTC
*** Bug 482824 has been marked as a duplicate of this bug. ***
Comment 4 Carl Schwan 2024-03-12 10:21:18 UTC
Git commit 16d56e265c2284ec87fe7cb3a51a27203345ee2e by Carl Schwan.
Committed on 12/03/2024 at 10:21.
Pushed by carlschwan into branch 'master'.

Rework delete incidence dialog

M  +2    -5    src/calendar/qml/CalendarUtils/CalendarUiUtils.qml
R  +36   -39   src/calendar/qml/Dialogs/DeleteIncidenceDialog.qml [from: src/calendar/qml/Dialogs/DeleteIncidencePage.qml - 058% similarity]
M  +45   -44   src/calendar/qml/main.qml
M  +1    -1    src/calendar/resources.qrc

https://invent.kde.org/pim/merkuro/-/commit/16d56e265c2284ec87fe7cb3a51a27203345ee2e
Comment 5 Carl Schwan 2024-03-12 10:21:50 UTC
Git commit d543b8e4821f44975c4c2f04318e313ca04fbd1b by Carl Schwan.
Committed on 12/03/2024 at 10:22.
Pushed by carlschwan into branch 'release/24.02'.

Rework delete incidence dialog

M  +2    -5    src/calendar/qml/CalendarUtils/CalendarUiUtils.qml
R  +36   -39   src/calendar/qml/Dialogs/DeleteIncidenceDialog.qml [from: src/calendar/qml/Dialogs/DeleteIncidencePage.qml - 058% similarity]
M  +45   -44   src/calendar/qml/main.qml
M  +1    -1    src/calendar/resources.qrc

https://invent.kde.org/pim/merkuro/-/commit/d543b8e4821f44975c4c2f04318e313ca04fbd1b