Skip to content

Conversation

johnny9
Copy link
Collaborator

@johnny9 johnny9 commented Jul 27, 2025

The following errors are resolved with these commits.

Missing id for buttonText in EllipsesMenuToggleItem

2025-07-27T01:40:01Z GUI: qrc:/qml/controls/EllipsisMenuToggleItem.qml:71: ReferenceError: buttonText is not defined
2025-07-27T01:40:01Z GUI: qrc:/qml/controls/EllipsisMenuToggleItem.qml:71:13: QML PropertyChanges: Cannot assign to non-existent property "color"

Null Property after toggling off Multiple Recipients toggle and removing Recipients with the "-" icon

2025-07-27T01:40:03Z GUI: qrc:/qml/pages/wallet/Send.qml:258: TypeError: Cannot read property 'label' of null
2025-07-27T01:40:03Z GUI: qrc:/qml/pages/wallet/Send.qml:234: TypeError: Cannot read property 'amount' of null
2025-07-27T01:40:03Z GUI: qrc:/qml/pages/wallet/Send.qml:212: TypeError: Cannot read property 'amount' of null
2025-07-27T01:40:03Z GUI: qrc:/qml/pages/wallet/Send.qml:178: TypeError: Cannot read property 'address' of null

Null properties after all wallets are unloaded

2025-07-27T01:40:44Z GUI: qrc:/qml/pages/wallet/Send.qml:258: TypeError: Cannot read property 'label' of null
2025-07-27T01:40:44Z GUI: qrc:/qml/pages/wallet/Send.qml:234: TypeError: Cannot read property 'amount' of null
2025-07-27T01:40:44Z GUI: qrc:/qml/pages/wallet/Send.qml:212: TypeError: Cannot read property 'amount' of null
2025-07-27T01:40:44Z GUI: qrc:/qml/pages/wallet/Send.qml:178: TypeError: Cannot read property 'address' of null
2025-07-27T01:40:44Z GUI: qrc:/qml/pages/wallet/Send.qml:31: TypeError: Cannot read property 'recipients' of null

@@ -5,7 +5,7 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import Qt.labs.settings 1.0
import QtCore
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Settings QML Type was introduced in QtCore in Qt 6.5.

Our minimum supported Qt version is currently 6.2.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A related discussion is here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok good to know. I'll drop that commit then.

@johnny9
Copy link
Collaborator Author

johnny9 commented Jul 27, 2025

Update from 3430574 to d13b42f

  • dropped commit "Replace Qt.labs.settings with QtCore"

@hebasto
Copy link
Member

hebasto commented Jul 27, 2025

Update from 3430574 to d13b42f

* dropped commit "Replace Qt.labs.settings with QtCore"

Want to update the PR description accordingly?

@hebasto
Copy link
Member

hebasto commented Jul 27, 2025

... after all wallets are unloaded

What is the workflow in the UI for that?

@hebasto
Copy link
Member

hebasto commented Jul 27, 2025

The last 2 commits don't look as a complete solution.

Consider mouse clicking on the "minus" button in the "Send" view:

2025-07-27T18:21:42Z GUI: qrc:/qml/pages/wallet/Send.qml:258: TypeError: Cannot read property 'label' of null
2025-07-27T18:21:42Z GUI: qrc:/qml/pages/wallet/Send.qml:234: TypeError: Cannot read property 'amount' of null
2025-07-27T18:21:42Z GUI: qrc:/qml/pages/wallet/Send.qml:212: TypeError: Cannot read property 'amount' of null
2025-07-27T18:21:42Z GUI: qrc:/qml/pages/wallet/Send.qml:178: TypeError: Cannot read property 'address' of null

@johnny9
Copy link
Collaborator Author

johnny9 commented Jul 27, 2025

The last 2 commits don't look as a complete solution.

Consider mouse clicking on the "minus" button in the "Send" view:

2025-07-27T18:21:42Z GUI: qrc:/qml/pages/wallet/Send.qml:258: TypeError: Cannot read property 'label' of null
2025-07-27T18:21:42Z GUI: qrc:/qml/pages/wallet/Send.qml:234: TypeError: Cannot read property 'amount' of null
2025-07-27T18:21:42Z GUI: qrc:/qml/pages/wallet/Send.qml:212: TypeError: Cannot read property 'amount' of null
2025-07-27T18:21:42Z GUI: qrc:/qml/pages/wallet/Send.qml:178: TypeError: Cannot read property 'address' of null

I think i resolved those problems now as well.

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested c20390d.

When closing the app:

2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:258: TypeError: Cannot read property 'label' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:234: TypeError: Cannot read property 'amount' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:212: TypeError: Cannot read property 'amount' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:178: TypeError: Cannot read property 'address' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:31: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:19: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:269: TypeError: Cannot read property 'coinsListModel' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:270: TypeError: Cannot read property 'coinsListModel' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:161: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:150: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:139: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:127: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:116: TypeError: Cannot read property 'recipients' of null

@johnny9
Copy link
Collaborator Author

johnny9 commented Jul 28, 2025

Update from c20390d to 18e008c

  • added a "Q_EMIT selectedWalletChanged();" when unloading to make sure the gui switches away from the soon-to-be-deleted wallet pointer.

@johnny9
Copy link
Collaborator Author

johnny9 commented Jul 28, 2025

Tested c20390d.

When closing the app:

2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:258: TypeError: Cannot read property 'label' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:234: TypeError: Cannot read property 'amount' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:212: TypeError: Cannot read property 'amount' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:178: TypeError: Cannot read property 'address' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:31: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:19: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:269: TypeError: Cannot read property 'coinsListModel' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:270: TypeError: Cannot read property 'coinsListModel' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:161: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:150: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:139: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:127: TypeError: Cannot read property 'recipients' of null
2025-07-28T07:56:04Z GUI: qrc:/qml/pages/wallet/Send.qml:116: TypeError: Cannot read property 'recipients' of null

Updated the commits and I believe this is resolved fully now.

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 18e008c, tested on Ubuntu 24.04.

@hebasto hebasto merged commit 1be0d18 into bitcoin-core:qt6 Jul 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants