Bug 389024

Summary: Snap app's size reverts to "0 B" once installed
Product: [Applications] Discover Reporter: Nate Graham <nate>
Component: Snap BackendAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Size reverts to "0 B" once installed

Description Nate Graham 2018-01-15 19:38:36 UTC
Created attachment 109890 [details]
Size reverts to "0 B" once installed

[on git master]

See attached video.
Comment 1 Aleix Pol 2018-01-16 15:58:52 UTC
Git commit ecffc981a64a306a77d0bd47e48fefde7abdda2f by Aleix Pol.
Committed on 16/01/2018 at 15:45.
Pushed by apol into branch 'Plasma/5.12'.

Store the new Snap tuple when refreshing after installing

M  +2    -0    libdiscover/backends/SnapBackend/SnapBackend.cpp
M  +12   -0    libdiscover/backends/SnapBackend/SnapResource.cpp
M  +1    -0    libdiscover/backends/SnapBackend/SnapResource.h
M  +1    -1    libdiscover/backends/SnapBackend/SnapTransaction.cpp

https://commits.kde.org/discover/ecffc981a64a306a77d0bd47e48fefde7abdda2f