Bug 495903

Summary: 'get new global themes' - all categories missing error on Plasma 5.27
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Denis Bergeron <denis.b.bergeron>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: REPORTED ---    
Severity: normal CC: alansferreira1984, alexander.lohnau, denis.b.bergeron, fayeverdunes, kdelibs-bugs, lilyandre717, nate, pedro.filipi.alcantara, q9hc26ia, wjqserver
Priority: NOR    
Version: 5.115.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: error screenshot
Screenshot of the appearence tab in settings showing the global themes window with the alert message

Description Denis Bergeron 2024-11-06 23:58:21 UTC
Created attachment 175604 [details]
error screenshot

https://www.reddit.com/r/kde/comments/1gdu1cm/get_new_global_themes_all_categories_missing_error/

SUMMARY
on a lot of distribution (see reddit link) the  'get new global themes' give "all categories missing" error popup. 

STEPS TO REPRODUCE
1.  open "system setting"
2.  goto "apparence" (first choice)
3.  goto "global themes"
4.  goto "download new themes"
got popup  message "all categories missing" 
no more result, have to close the system setting to receive the same message. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS

(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
kernel 6.8.0-48-generic (64-bit)
Plateforme : X11


ADDITIONAL INFORMATION
Comment 1 Filip 2024-11-09 06:52:36 UTC
*** Bug 495964 has been marked as a duplicate of this bug. ***
Comment 2 Filip 2024-11-19 09:33:30 UTC
*** Bug 496441 has been marked as a duplicate of this bug. ***
Comment 3 pedrofca 2024-11-21 02:21:25 UTC
Created attachment 175997 [details]
Screenshot of the appearence tab in settings showing the global themes window with the alert message

same on:
Linux/KDE Plasma:  Debian 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version:  5.103.0
Qt Version: 5.15.8
Comment 4 Fay 2024-11-27 17:35:09 UTC
I'm also experiencing this problem on Steamdeck. 

Steam: OS 3.6.20 
Build: 20241030.1 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt version: 5.15.12
Kernel: 6.5.0-valve22-1-neptune-65
GP: x11
Comment 5 GoldBarb 2024-12-02 14:23:34 UTC
See the following comment https://discuss.kde.org/t/global-theme-all-categories-missing/24747/43

On Ubuntu 24.04.1 LTS | KWin version: 5.27.11 | Qt compile version: 5.15.13 the following is output:

kf.newstuff.core: Could not find category "121"

Each category inside store.kde.org has a corresponding category id.
In this case 121 maps to Global Themes (Plasma 5) - KDE Store which is Global Themes (Plasma 5)

The framework knewstuff makes use of configuration files inside /usr/share/knsrcfiles

Backup the following file and then edit /usr/share/knsrcfiles/lookandfeel.knsrc

Update

Categories=121

With

Categories=Global Themes (Plasma 5)

Then try to get new themes again.
Comment 6 lilyandre717 2024-12-07 05:17:49 UTC
That did the trick! (Kubuntu 24.04 LTS, Plasma 5.27.11)