Skip to content

TypeError: Cannot read property 'right' of undefined #3

@GIPdA

Description

@GIPdA

With Qt 5.13, type errors can be debugged on reload, like below. Doesn't impact the reload other than annoying debug messages.

It can happen with every Window that is reloaded (i.e. closed, destroyed and reloaded).
These errors are triggered when the window is destroyed (calling deleteLater()), probably due to some bug in Qt 5.13 (needs investigation).

No workaround found yet. Not destroying the window is not an option, otherwise it will continue to run in the background (Javascript and bindings will not stop).

QtQuick/Controls/Private/ScrollViewHelper.qml:110: TypeError: Cannot read property 'right' of undefined
QtQuick/Controls/Private/ScrollViewHelper.qml:111: TypeError: Cannot read property 'bottom' of undefined
QtQuick/Controls/Private/ScrollViewHelper.qml:132: TypeError: Cannot read property 'bottom' of undefined
QtQuick/Controls/Private/ScrollViewHelper.qml:133: TypeError: Cannot read property 'left' of undefined
QtQuick/Controls/Private/ScrollViewHelper.qml:190: TypeError: Cannot read property 'right' of undefined
QtQuick/Controls/Private/ScrollViewHelper.qml:191: TypeError: Cannot read property 'top' of undefined
QtQuick/Controls/Private/BasicTableView.qml:777: TypeError: Cannot read property 'top' of undefined
QtQuick/Controls/Private/BasicTableView.qml:778: TypeError: Cannot read property 'right' of undefined
QtQuick/Controls/Private/BasicTableView.qml:734: TypeError: Cannot read property 'height' of null
QtQuick/Controls/Private/BasicTableView.qml:734: TypeError: Type error

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