ElementsProject / ElementsProject/elements

Elements-qt shows some leftover space in the Overview page after sending assets

Open
#1,143 0 comments 0 reactions 0 assignees View on GitHub
GUI
Dominant language
C++
Stars
1.2k
Forks
416
Avg merge
1d 23h
Merged PRs (30d)
15

Description

In the Overview page, after sending an asset in its full amount (I mean the value of remaining asset is 0) in which case it disappears from the "Available" list, it seems like the total space in Balances stays the same, leaving a big leftover blank space.
After closing and opening again the wallet it is shown correctly.
Tested on elements 0.21.0.2 and v22.0.0rc2

Example 1 (after having sent various assets in their full amount):
Before closing the wallet:
![Before closing the wallet](https://user-images.githubusercontent.com/94554885/184995261-67e03447-fd48-44e7-9ed7-1cb4727b3f53.jpg)
After reopening the wallet:
![After reopening the wallet](https://user-images.githubusercontent.com/94554885/184995306-f8a534a2-8766-43ac-b5d5-41a77a2220b2.jpg)

Example 2 (after sending 1 asset in its full amount at a time):
After having sent 1 asset:
![Screenshot from 2022-08-16 After sending 1 asset in its full amount](https://user-images.githubusercontent.com/94554885/184996222-6e220100-f531-4d86-8e88-3290940db56a.png)
After having sent 2 assets:
![Screenshot from 2022-08-16 After sending 2 assets in their full amount](https://user-images.githubusercontent.com/94554885/184996293-be029425-586c-4858-86d0-688135b08511.png)
After having sent 3 assets:
![Screenshot from 2022-08-16 After sending 3 assets in their full amount](https://user-images.githubusercontent.com/94554885/184996302-9e5153bd-d249-40b3-b26b-bf8c3b755c92.png)
After having sent 4 assets:
![Screenshot from 2022-08-16 After sending 4 assets in their full amount](https://user-images.githubusercontent.com/94554885/184996324-065295bd-2900-4eb7-bd0d-b1c9206dd02c.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.