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

            Bug ID: 386597
           Summary: The scrollview expects a flickable but does not always
                    provide one
           Product: frameworks-kirigami
           Version: 5.39.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: elv1...@gmail.com
  Target Milestone: Not decided

Here's a little paper cut.

Setup: A QQuickWidget with this QML file:

import QtQuick 2.7
import org.kde.kirigami 2.2 as Kirigami

Kirigami.ApplicationItem {
    Kirigami.ScrollablePage {
        id: page
        anchors.fill: parent
        title: "Long List view"

        actions {
            main: Kirigami.Action {
                iconName: sheet.sheetOpen ? "dialog-cancel" : "document-edit"
                text: "Main Action Text"
                checkable: true
                onCheckedChanged: sheet.sheetOpen = checked;
            }
        }
    }
}

This error is printed:

/usr/lib64/qt5/qml/org/kde/kirigami.2/private/RefreshableScrollView.qml:268:
TypeError: Type error
/usr/lib64/qt5/qml/org/kde/kirigami.2/templates/private/ScrollView.qml:83:
TypeError: Cannot read property 'ScrollBar' of null
/usr/lib64/qt5/qml/org/kde/kirigami.2/templates/private/ScrollView.qml:32:
TypeError: Cannot read property 'ScrollBar' of null

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

Reply via email to