Bug 421898

Summary: commit 53b41bc90 broken: kcmshell5 and systemsettings5 can't find any modules
Product: [Frameworks and Libraries] frameworks-kcmutils Reporter: Duncan <1i5t5.duncan>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: VERIFIED FIXED    
Severity: crash CC: a.samirh78, chris.taylor, fabian, faure, hithaishi.maldeniya, nailspahija, nate, rikmills, rnjohnson18, wbauer1, whilesharp, winter
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 421566    
Bug Blocks:    

Description Duncan 2020-05-22 06:23:49 UTC
+++ This bug was initially created as a clone of Bug #421566 +++

The "fix" for the above bug, commit 53b41bc90, breaks *all* kcms (well, all I tried, several) here.

In kde-plasma's systemsettings, the left panel with the icons shows up, and the startup frequently used icons show up on the right, but attempting to load anything simply prints a couple text messages on the right saying it can't find the *.desktop file.  For instance loading the single kcm Colors:

Top: Colors

Down a bit: The module Colors could not be found.

Toward the bottom: The diagnosis is:
The desktop file kcm_colors.desktop could not be found.

Bottom button row: Help Defaults Reset ...  Apply
(The last two disabled.)

Attempting to load a group, for instance, Window Management, loads the group list submenu on the left, but the right has the correspondingly same error messages and buttons for the top/default single kcm, in this case Window Behavior.  Again, clicking any of the other entries on the left produces similar results on the right.


If I try to run for instance "rules" from krunner (which pops up only a single choice, the kwin window rules kcm), it loads the Windows Management group on the left with Window Rules selected, and the same Window Rules error messages on the right as if I'd loaded it from the broken plasma systemsettings.

Pinning the build to the previous commit c76836d67 gets me a working kcmshell5 and systemsettings5 once again, so it is indeed 53b41bc90 that's broken.

This is a live-git build using the *-9999 git-master packages from the gentoo/kde project overlay, so it's git-master all kde-* frameworks/plasma/apps packages.  Unfortunately there's no git-master version choice for the version drop-down.

Qt5 is qt-5.15.0_rc2 from the gentoo/qt project overlay.
Comment 1 Wolfgang Bauer 2020-05-22 09:01:36 UTC
This is already being worked on:
https://invent.kde.org/frameworks/kcmutils/-/merge_requests/3
Comment 3 Allen Winter 2020-05-22 12:24:09 UTC
Thank you all who worked so quickly to fix this.
Now I can see configurations in Kontact again!
Comment 4 Wolfgang Bauer 2020-05-22 14:56:19 UTC
(In reply to Wolfgang Bauer from comment #2)
> Fixed by
> https://invent.kde.org/frameworks/kcmutils/commit/
> c2db5f797fd3f1eb632de8baa7c034469af69ed1 .

And a followup fix to avoid kontact crashing:
https://invent.kde.org/frameworks/kcmutils/-/commit/e290e9e666fcf7a84dcd42529f4069d4c92098ae