Bug 406084

Summary: Active cursor theme becomes un-selected after downloading new ones via GHNS
Product: [Applications] systemsettings Reporter: Nate Graham <nate>
Component: kcm_cursorthemeAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.14.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nate Graham 2019-03-31 15:06:27 UTC
Plasma 5.15.4 as well as git master


STEPS TO REPRODUCE
1. System Settings > Workspace Theme > Cursor Theme
2. Get a new cursor theme using the GHNS button on the page (any will do)


OBSERVED RESULT
The currently in-use cursor theme has become de-selected


EXPECTED RESULT
The currently in-use cursor theme should remain selected
Comment 1 Dan Leinir Turthra Jensen 2019-04-05 12:06:45 UTC
Git commit 4545601adec06a63c7ba471422f11510ff7f1b51 by Dan Leinir Turthra Jensen.
Committed on 05/04/2019 at 12:05.
Pushed by leinir into branch 'master'.

Don't lose list position after installing KNS cursor themes

When installing a new cursor theme (or ditto uninstalling) from
KNewStuff, the current theme would become deselected due to a
full refresh of the theme list.

TEST PLAN
Install a theme using Get Hot New Stuff, see that after the list
refreshes, the current theme is reselected. Also uninstall a KNS
originated theme and see the same is true.

M  +29   -1    kcms/cursortheme/kcmcursortheme.cpp

https://commits.kde.org/plasma-desktop/4545601adec06a63c7ba471422f11510ff7f1b51