KNSCore caching broken when using systemsettings

Bug #1848839 reported by Rik Mills
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Knewstuff
Fix Released
Medium
knewstuff (Ubuntu)
New
Undecided
Unassigned

Bug Description

Version: 5.62.0-0ubuntu1
Releases: Eoan and Focal

Symptoms: When using systemsettings application, the 1st "Get new stuff" request in a control module fetches and displays the correct online restults from the KDE store. However, switching to another control module without closing system settings and then requesting "get new stuff" there wrongly displays the results from the previous module.

For example, open systemsettings and go to colours, and GNS for colour schemes brings correct result. Then move to window decorations module, and GNS there, wrongly shows colour schemes again, not window decorations.

A proposed fix for the caching is in review currently by KDE: https://phabricator.kde.org/D24754

Revision history for this message
In , Eridani Rodríguez (eridanired123) wrote :

SUMMARY
When wanting to install customizations trough System Settings "Get New ..." buttons. The window to download stuff always shows the items from the first category you opened the "Download New ..." for.

(Free translation as my system isn't in english)

STEPS TO REPRODUCE
1. Open System Settings and navigate to Color schemes section, hit "Get new ..." button.
2. Close the "Download new ..." window
3. Navigate to Workspace themes and hit the "Get new ..." button

OBSERVED RESULT
1. The window will display the search for color schemes
2. Same happen the other way around and with other sections combinations (Icons & Cursors, Cursors & Colors, etc.), it always shows the first thing you searched for.
3. Desktop Effects, SDDM and Start Up themes doesn't seem to be affected.

EXPECTED RESULT
It should show the results for the current category.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.16
KDE Plasma Version: 5.16.0
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3
Kernel Version: 4.15.0-51-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4670 CPU @ 3.40GHz
Memory: 15.6 GiB

ADDITIONAL INFORMATION
I think this bug was introduced with the recent update to Plasma 5.16 because I don't recall experiencing it in 5.15.

Revision history for this message
In , Rik Mills (rikmills) wrote :

Seen in latest Neon packages:

Plasma 5.17.0
Frameworks 5.63.0
Qt 5.13.1

Also in seen in Kubuntu 19.10:

Plasma 5.16.5
Frameworks 5.62
Qt 5.12.4

Revision history for this message
In , Arojas-8 (arojas-8) wrote :

*** Bug 413049 has been marked as a duplicate of this bug. ***

Changed in knewstuff:
importance: Unknown → Medium
Revision history for this message
In , Dan Leinir Turthra Jensen (leinir) wrote :

Git commit 8977627cab850815e0d1dbfd0eab50dd9d4a3ddc by Dan Leinir Turthra Jensen.
Committed on 21/10/2019 at 08:08.
Pushed by leinir into branch 'master'.

Fix KNSCore::Cache fetching when initialising Engine

Summary:
During the moving-around of the config files, the Cache was left
behind unfixed, and we ended up with all caches being the same,
because we attempted to request a cache for a config file which
was not found, and consequently resulted in the requested cache
being named "", which consequently failed rather badly.

Reviewers: rikmills, #frameworks, #knewstuff

Reviewed By: rikmills

Subscribers: kde-frameworks-devel

Tags: #frameworks

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

M +4 -1 src/core/engine.cpp

https://commits.kde.org/knewstuff/8977627cab850815e0d1dbfd0eab50dd9d4a3ddc

Changed in knewstuff:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.