Bug 355464

Summary: Plasmoid downloaded from internet is not remembered as installed
Product: [Plasma] plasmashell Reporter: Anthony Fieroni <bvbfan>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: bshah, bugzilla, fabian, notuxius, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.4.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Anthony Fieroni 2015-11-17 03:56:23 UTC
Downloaded windgets are forgotten from installed.

Reproducible: Always

Steps to Reproduce:
1. Add widgets
2. Get new widgets
3. Download new plasma widgets
4. Install some (no matter what)
5. Click on installed and new widget present
6. kquitapp5 plasmashell or restart no matter what
7. run plasmashell
8. Go back to installed widget -> it's empty no matter what how many you have

Actual Results:  
Installed widget is marked as installed only for current plasmashell session

Expected Results:  
Mark as installed permanently
Comment 1 Janet 2016-04-17 14:05:29 UTC
I can confirm this behaviour on Netrunner 17 with plasma-workspace 5.5.4+git20160227.0844+15.10  from kubuntu-ci.

One cannot determine which widgets are installed and which need an update as all widgets in the list are marked as not installed and searching for installed widgets gives no result.
Comment 2 Alexander Mentyu 2017-11-30 14:24:54 UTC
(In reply to Anthony Fieroni from comment #0)

> 5. Click on installed and new widget present

After i installed some widget and clicked on 'Installed' radio button - recently installed widgets aren't displayed there - they're displayed only after second launch of 'Get new widgets' window


> 8. Go back to installed widget -> it's empty no matter what how many you have

Can confirm this issue is still relevant in:

Distribution: KDE neon Developer Edition - Stable Branches
Plasma: 5.11.3
Frameworks: 5.41.0
Qt: 5.9.2
Kernel 4.10.0-40-generic
Type: 64-bit
Comment 3 Anthony Fieroni 2017-12-06 19:12:47 UTC
Git commit 84a29ef86380fab40236bdf934b49bc3cf090853 by Anthony Fieroni.
Committed on 06/12/2017 at 19:10.
Pushed by anthonyfieroni into branch 'Plasma/5.11'.

[widgetexplorer] Make sure KNS download dialog is destroyed

Differential Revision: https://phabricator.kde.org/D9130

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

M  +6    -2    components/shellprivate/widgetexplorer/widgetexplorer.cpp

https://commits.kde.org/plasma-workspace/84a29ef86380fab40236bdf934b49bc3cf090853
Comment 4 Fabian Vogt 2017-12-22 11:42:45 UTC
This can't be fixed by deletion of the download dialog, as restarting plasmashell does not help.

Additionally deleting the dialog causes a severe regression as the WidgetExplorerPrivate gets destroyed immediately after clicking on the dialog: https://phabricator.kde.org/D9473
Comment 5 Anthony Fieroni 2017-12-22 14:41:01 UTC
The fix introduces a regression. It is correct in https://phabricator.kde.org/R120:acd7034952bc2f72454253056c5a8581b33e22ae