Bug 509966

Summary: ee8f5b3ff7f1757ec1bfa83e0c61ff760dd72d67 breaks starting with image as an argument, at least for the Flatpak version
Product: [Applications] Koko Reporter: Nate Graham <nate>
Component: GeneralAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: major Keywords: regression
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nate Graham 2025-09-26 16:13:33 UTC
STEPS TO REPRODUCE
1. Install Koko from nightly Flatpak repo (https://cdn.kde.org/flatpak/koko-nightly/org.kde.koko.flatpakref)
2. flatpak run org.kde.koko /usr/share/wallpapers/Next/contents/images/5120x2880.png

QList("/home/nate/Pictures")
qrc:/qt/qml/org/kde/koko/DelegateLoader.qml:29:5: TypeError: Cannot read property 'height' of null
qrc:/qt/qml/org/kde/koko/DelegateLoader.qml:28:5: TypeError: Cannot read property 'width' of null
file:///usr/lib/qml/org/kde/kirigami/PageRow.qml:987:9: QML QQuickItem*: StackView has detected conflicting anchors. Transitions may not execute properly.

[app hangs; no UI is ever shown]

This issue was caused by https://invent.kde.org/graphics/koko/-/commit/ee8f5b3ff7f1757ec1bfa83e0c61ff760dd72d67. Rolling back to e0125d87dcaeaab65ac2ede05f9eb7c1d7518a92 fixes it.
Comment 1 Bug Janitor Service 2025-10-01 14:58:25 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/koko/-/merge_requests/226
Comment 2 Marco Martin 2025-10-01 15:02:08 UTC
Git commit f2b915629f4f64d9c5ca258a374c0679c23df307 by Marco Martin.
Committed on 01/10/2025 at 14:54.
Pushed by mart into branch 'master'.

Remove thumbnailbar loading placeholder

the fake thumbnails didn't buy that much and had a risk
of a model with infinite items (due to an unckecked division)

remove it and show the real listview directly

M  +21   -41   src/qml/ImageViewPage.qml

https://invent.kde.org/graphics/koko/-/commit/f2b915629f4f64d9c5ca258a374c0679c23df307