Bug 406084 - Active cursor theme becomes un-selected after downloading new ones via GHNS
Summary: Active cursor theme becomes un-selected after downloading new ones via GHNS
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_cursortheme (show other bugs)
Version: 5.14.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-31 15:06 UTC by Nate Graham
Modified: 2019-04-05 12:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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