Bug 509966 - ee8f5b3ff7f1757ec1bfa83e0c61ff760dd72d67 breaks starting with image as an argument, at least for the Flatpak version
Summary: ee8f5b3ff7f1757ec1bfa83e0c61ff760dd72d67 breaks starting with image as an arg...
Status: RESOLVED FIXED
Alias: None
Product: Koko
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Flatpak Linux
: NOR major
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-09-26 16:13 UTC by Nate Graham
Modified: 2025-10-01 15:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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