Bug 472406 - System settings application won't start
Summary: System settings application won't start
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.27.6
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-19 19:27 UTC by Oded Arbel
Modified: 2024-01-12 23:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oded Arbel 2023-07-19 19:27:23 UTC
SUMMARY

When trying to launch systemsettings, through the menu, or from the command line, it does not actually start - no window appears. Other ways to launch the system settings app also fail - such as running "About this system" from the main menu, pressing the "settings" icon in the audio mixer panel widget, trying to start a specific KCM through the main menu, etc.

STEPS TO REPRODUCE
1. In the terminal type `systemsettings5` and ENTER

OBSERVED RESULT
Nothing happens - no window, no output, the prompt reappears almost immediately

EXPECTED RESULT
The system settings application window should appear.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.2.0-25-generic (64-bit)

ADDITIONAL INFORMATION
Looking at the journal, I can see this output:

---8<---
plasmashell[2236669]: kf.kio.gui: Starting process: ("/usr/bin/systemsettings")
plasmashell[2236669]: QString::arg: 2 argument(s) missing in systemsettings
plasmashell[2236669]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:286: Unable to assign [undefined] to QString
plasmashell[2236669]: kf.kio.gui: Setting PID 3931497 for: "systemsettings"
plasmashell[2236669]: kf.kio.gui: Successfully registered new cgroup: "app-systemsettings-768651f4313d42d5aaa74014fcde1ec1.scope"
plasmashell[2236669]: kf.kio.gui: "systemsettings" exitCode= 0 exitStatus= QProcess::NormalExit
---8<---

Calling KCMs directly with kcmshell5 seems to work fine - the only KCM that won't for me is `kcm_hotkeys`, kcmshell5 shows the following errors for it:

---8<---
kf.coreaddons: plugin metadata in "kcm_hotkeys" does not have a valid 'MetaData' object
kf.coreaddons: Checking for plugins in ("/usr/bin/plasma/kcms", "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms")
kf.coreaddons: Checking for plugins in ("/usr/bin/plasma/kcms/systemsettings", "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings")
kf.coreaddons: Checking for plugins in ("/usr/bin/plasma/kcms/systemsettings_qwidgets", "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings_qwidgets")
kf.coreaddons: Checking for plugins in ("/usr/bin/plasma/kcms/kinfocenter", "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/kinfocenter")
kf.service.sycoca: Opening ksycoca from "/home/odeda/.cache/ksycoca5_en_yTnWV7rpTQzDQ5gELcxORrn78xc="
Could not find module 'kcm_hotkeys'. See kcmshell5 --list for the full list of modules.
---8<---

Even though kcm_hotkeys does appear in the output of kcmshell5 --list.
Comment 1 Oded Arbel 2023-07-24 19:29:53 UTC
After today's update to 5.27.6, this is no longer an issue.
Comment 2 openusr 2024-01-12 23:35:11 UTC
Encountered this on Fedora 39 after manually editing ~/.config/khotkeysrc (trying to add some shortcuts directly by text).

System Settings does not start anymore, Plasma restart with "kquitapp5 plasmashell && kstart5 plasmashell" does not help, problem remains even after removing lines added to khotkeysrc. I see following output in the console where I issued the plasma restart command:

file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:286: Unable to assign [undefined] to QString