-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read property 'right' of undefined #3
Comments
I have the same problem 😥 |
With which Qt version? And when using Qt Quick Controls 1 items or not? |
Issue still present with Qt 5.15.2. I think it only happens with QtQuick 1 controls. |
@Wanderson-Magalhaes Last commit may fix the issue for you, if you can test. Worked for me ;) |
@Wanderson-Magalhaes Probably you are using SplashScreen and closing that window and creating a new component (mainWindow) like: |
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).
The text was updated successfully, but these errors were encountered: