-
Couldn't load subscription status.
- Fork 51
Various fixes to Send, WalletController, and general QML #477
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
Conversation
qml/components/BlockClock.qml
Outdated
| import QtQuick.Controls 2.15 | ||
| import QtQuick.Layouts 1.15 | ||
| import Qt.labs.settings 1.0 | ||
| import QtCore |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
What is the workflow in the UI for that? |
|
The last 2 commits don't look as a complete solution. Consider mouse clicking on the "minus" button in the "Send" view: |
I think i resolved those problems now as well. |
There was a problem hiding this 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
Updated the commits and I believe this is resolved fully now. |
There was a problem hiding this 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.
…er, and general QML
18e008cfc8532c6bb9af6e218bd920046d57cc57 Signal currentRecipientChanged before deleting in SendRecipientsListModel::remove (johnny9)
cc500785545bc6fda5540fd26486565829c17abd Set m_selected_wallet to empty before unloading (johnny9)
f8eb08f30ac127173872827f729ff430025c0899 Reset current index before clearing in SendRecipientsListModel (johnny9)
c8c54a1252ba2d5ecd7fb1a6097ef5492185377a Add missing buttonText id to EllipsisMenuToggleItem (johnny9)
Pull request description:
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
```
ACKs for top commit:
hebasto:
ACK 18e008cfc8532c6bb9af6e218bd920046d57cc57, tested on Ubuntu 24.04.
Tree-SHA512: 3c58676bb19cf524b3661e5f51260ace5cc70bc43ff94fbf14ae48ea7d2a69c76cdbe2988f02435ac53ea9dce0c68d1b8d8fc0163ceab376e3c5fa6fee82c001
The following errors are resolved with these commits.
Missing id for buttonText in EllipsesMenuToggleItem
Null Property after toggling off Multiple Recipients toggle and removing Recipients with the "-" icon
Null properties after all wallets are unloaded