When a game is being downloaded and we press the button to cancel the installation, the game continues installing. This means that the game installation can end and then we have a dialog about cancelling that finished installation.
Depending on the option selected we may end up deleting the files of the game that just finished downloading but incorrectly without doing the correct process.
Add logs
Nothing relevant on logs.
Steps to reproduce
Go to the library
Start installing a game
Click on the button to stop the installation (either in the library, game page, or downloads page)
Wait for the game to finish installing
The dialog is still there and it's functional
Expected behavior
We should detect if the game installation finished and automatically close the dialog to prevent the user from clicking an action that shouldn't be used.
Describe the bug
When a game is being downloaded and we press the button to cancel the installation, the game continues installing. This means that the game installation can end and then we have a dialog about cancelling that finished installation.
Depending on the option selected we may end up deleting the files of the game that just finished downloading but incorrectly without doing the correct process.
Add logs
Steps to reproduce
Expected behavior
We should detect if the game installation finished and automatically close the dialog to prevent the user from clicking an action that shouldn't be used.
Screenshots
No response
Heroic Version
Latest Stable
System Information
Not relevant
Additional information
No response