Bug 401776

Summary: Install button isn't changing to Installing/Downloading progress bar with Cancel circle button
Product: [Applications] Discover Reporter: Alexander Mentyu <notuxius>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, nate
Priority: NOR Keywords: usability
Version: 5.14.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.15.0
Attachments: Discover 'Install' buttons

Description Alexander Mentyu 2018-12-05 15:49:36 UTC
Created attachment 116687 [details]
Discover 'Install' buttons

STEPS TO REPRODUCE
1. Launch Discover.
2. Open 'Applications' page.
3. Select any not installed application.
4. Press top right 'Install' button.

OBSERVED RESULT
1. Password prompt appears.
2. Previously clicked 'Install' button changes to blank button with no text in it.

EXPECTED RESULT
Transform previously clicked 'Install' button to 'Installing/Downloading' progress bar with Cancel circle button - for consistency, quick informing of user about operations

SOFTWARE/OS VERSIONS
Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.14.80
KDE Frameworks Version: 5.53.0
Qt Version: 5.11.2
Kernel Version: 4.15.0-42-generic

ADDITIONAL INFORMATION
'Install' button of same application in apps list to the left side transforms to 'Installing/Downloading' progress bar with Cancel circle button
Comment 1 Aleix Pol 2018-12-15 01:05:27 UTC
Git commit 84137f97fe917e4d30dc5c43edf395ec30fe19af by Aleix Pol.
Committed on 15/12/2018 at 01:03.
Pushed by apol into branch 'master'.

Include a cancel button on the application page

M  +9    -6    discover/qml/ApplicationPage.qml
M  +9    -4    discover/qml/InstallApplicationButton.qml

https://commits.kde.org/discover/84137f97fe917e4d30dc5c43edf395ec30fe19af