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

            Bug ID: 521645
           Summary: Kirigami ToolBarLayout delegate creation errors on
                    startup
    Classification: Applications
           Product: Koko
      Version First 26.04.2
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION

Koko displays multiple QML/Kirigami errors in the system logs during startup
and normal usage. The errors appear consistently on every launch and include:
- "Object or context destroyed during incubation"
- "Could not create delegate for ToolBarLayout"
- "StackView has detected conflicting anchors"
- "Member focusPolicy of the object ... overrides a member of the base object"
- "TypeError: Cannot read property 'visibility' of null"
- "QSqlDatabase requires a QCoreApplication"

The application appears to function visually, but these errors suggest
underlying issues in the Kirigami UI components that may affect stability or
proper rendering of the interface. The errors are reproducible on every launch.

STEPS TO REPRODUCE
1. Launch Koko from the application menu or command line.
2. Observe the journal logs during and after startup.

OBSERVED RESULT

Full log excerpt (timestamps in UTC):
13:52:18.441 UTC [email protected]
Could not find a supported platform plugin for platform "offscreen" and session
names QList("KDE")
13:52:18.441 UTC [email protected]
Creating a default fallback platform plugin
[... repeated offscreen warnings ...]
13:52:23.851 UTC [email protected]
QObject::connect(QObject, QQmlDMObjectData): invalid nullptr parameter
13:52:23.882 UTC [email protected]
file:///usr/lib64/qt6/qml/org/kde/kirigami/controls/ActionToolBar.qml: Object
or context destroyed during incubation
13:52:23.882 UTC [email protected]
Could not create delegate for ToolBarLayout
(repeated 16 times)
13:52:23.950 UTC [email protected]
file:///usr/lib64/qt6/qml/org/kde/kirigami/controls/PageRow.qml:1004:9: QML
QQuickItem*: StackView has detected conflicting anchors. Transitions may not
execute properly.
13:52:33.907 UTC [email protected]
Member focusPolicy of the object ButtonGrid_QMLTYPE_351 overrides a member of
the base object. Consider renaming it or adding final or override specifier
13:52:33.912 UTC [email protected]
Member focusPolicy of the object AnnotationOptionsToolBarContents_QMLTYPE_355
overrides a member of the base object. Consider renaming it or adding final or
override specifier
13:52:46.075 UTC [email protected]
file:///usr/lib64/qt6/qml/org/kde/kirigami/controls/PageRow.qml:1004:9: QML
QQuickItem*: StackView has detected conflicting anchors. Transitions may not
execute properly.
13:52:46.280 UTC [email protected]
qrc:/qt/qml/org/kde/koko/SlideshowManager.qml:29: TypeError: Cannot read
property 'visibility' of null
13:52:46.280 UTC [email protected]
qrc:/qt/qml/org/kde/koko/SlideshowManager.qml:30: TypeError: Cannot read
property 'controlsVisible' of null
13:52:48.025 UTC [email protected]
QSqlDatabase requires a QCoreApplication

EXPECTED RESULT

Koko should start without generating any QML/Kirigami errors. 

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION

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

Reply via email to