Skip to content

Crash because of res/qml/TypeInfo/view.qml lines 47-48 and res/qml/App/console.qml lines 94-95 #65

Description

@MichaelKappNiles

This section

      UI.ListView {
        id: _lv;

        clip: true;

        model: App.typeList;

        anchors.fill: parent;
        anchors.leftMargin: 8;

        delegate: Item {
          anchors.left: parent.left;
          anchors.right: parent.right;
          height: _label.height;

          UI.Icon {
            id: _ic;

            anchors.left: parent.left;
            anchors.verticalCenter: parent.verticalCenter;

            rightPadding: 8;
            icon: icons.fa_cube;
            color: "#872BCB";
          }

has to be converted:

      UI.ListView {
        id: _lv;

        clip: true;

        model: App.typeList;

        anchors.fill: parent;
        anchors.leftMargin: 8;

        delegate: Item {
          // anchors.left: parent.left;
          // anchors.right: parent.right;
          height: _label.height;

          UI.Icon {
            id: _ic;

            anchors.left: parent.left;
            anchors.verticalCenter: parent.verticalCenter;

            rightPadding: 8;
            icon: icons.fa_cube;
            color: "#872BCB";
          }

because I am getting the warnings:

  >  "file:///C:/dev/QuickVtk/bin/build/Resources/qml/TypeInfo/view.qml:47: TypeError: Cannot read property 'left' of null"
  >  "file:///C:/dev/QuickVtk/bin/build/Resources/qml/TypeInfo/view.qml:48: TypeError: Cannot read property 'right' of null"

image
image
The applications stops responding after trying to scroll to the bottom of the console window.
This is probably because of this warning:

file:///C:/dev/QuickVtk/bin/build/Resources/qml/App/console.qml:94: TypeError: Cannot read property 'left' of null
file:///C:/dev/QuickVtk/bin/build/Resources/qml/App/console.qml:95: TypeError: Cannot read property 'right' of null

image

VTK version: 8.2.0
Qt version: 5.15.2
QuickVtk version: 0.5.6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions