You are not logged in.

#1 2021-08-14 09:14:40

sillywalks
Member
Registered: 2021-08-14
Posts: 5

[SOLVED] Missing menu bar in all KDE applications

Hi guys,

since lately I'm missing the menu bar in every kde application like okular, kate, konsole, ...

I tried all those fancy short cuts like ctrl-m, ctrl-shift-m and alt-f with no effect.

When I do

$ kcmshell5 kcmkded

and start typing 'm...'
I get:

file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:159:13: QML AbstractListItem: Binding loop detected for property "implicitHeight"
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:159:13: QML AbstractListItem: Binding loop detected for property "implicitHeight"
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:159:13: QML AbstractListItem: Binding loop detected for property "implicitHeight"
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:159:13: QML AbstractListItem: Binding loop detected for property "implicitHeight"
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:159:13: QML AbstractListItem: Binding loop detected for property "implicitHeight"
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:162: TypeError: Cannot read property 'display' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:163: TypeError: Cannot read property 'immutable' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:164: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:165: TypeError: Cannot read property 'autoloadEnabled' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:243: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:255: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:244: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:230: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:231: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:232: TypeError: Cannot read property 'type' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:234: TypeError: Cannot read property 'status' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:218: TypeError: Cannot read property 'description' of null
file:///usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml:199: TypeError: Cannot read property 'autoloadEnabled' of null

seems like there's something wrong here?

So I checked the file:

$ cat /usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml
/*
 * Copyright 2020 Kai Uwe Broulik <kde@broulik.de>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License or (at your option) version 3 or any later version
 * accepted by the membership of KDE e.V. (or its successor approved
 * by the membership of KDE e.V.), which shall act as a proxy
 * defined in Section 14 of version 3 of the license.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

import QtQuick 2.6
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.3 as QtControls
import QtQml 2.15

import org.kde.kirigami 2.10 as Kirigami
import org.kde.kcm 1.5 as KCM
import org.kde.private.kcms.style 1.0 as Private

KCM.ScrollViewKCM {
    id: root

    KCM.ConfigModule.quickHelp: i18n("<p>This module allows you to have an overview of all plugins of the KDE Daemon, also referred to as KDE Services. Generally, there are two types of service:</p> <ul><li>Services invoked at startup</li><li>Services called on demand</li></ul> <p>The latter are only listed for convenience. The startup services can be started and stopped. You can also define whether services should be loaded at startup.</p> <p><b>Use this with care: some services are vital for Plasma; do not deactivate services if you  do not know what you are doing.</b></p>")

    Binding {
        target: kcm.filteredModel
        property: "query"
        value: searchField.text
        restoreMode: Binding.RestoreBinding
    }

    Binding {
        target: kcm.filteredModel
        property: "statusFilter"
        value: filterCombo.model[filterCombo.currentIndex].statusFilter
        restoreMode: Binding.RestoreBinding
    }

    header: ColumnLayout {
        Kirigami.InlineMessage {
            Layout.fillWidth: true
            text: i18n("The background services manager (kded5) is currently not running. Make sure it is installed correctly.");
            type: Kirigami.MessageType.Error
            showCloseButton: false
            visible: !kcm.kdedRunning
        }

        Kirigami.InlineMessage {
            id: selfDisablingModulesHint
            Layout.fillWidth: true
            text: i18n("Some services disable themselves again when manually started if they are not useful in the current environment.")
            type: Kirigami.MessageType.Information
            showCloseButton: true
            visible: false
        }

        Kirigami.InlineMessage {
            id: runningModulesChangedAfterSaveHint
            Layout.fillWidth: true
            text: i18n("Some services were automatically started/stopped when the background services manager (kded5) was restarted to apply your changes.")
            type: Kirigami.MessageType.Information
            showCloseButton: true
            visible: false
        }

        Kirigami.InlineMessage {
            id: errorMessage
            Layout.fillWidth: true

            type: Kirigami.MessageType.Error
            showCloseButton: true
            visible: false

            Connections {
                target: kcm
                function onErrorMessage(errorString) {
                    errorMessage.text = errorString;
                    errorMessage.visible = true;
                }
                function onShowSelfDisablingModulesHint() {
                    selfDisablingModulesHint.visible = true;
                }
                function onShowRunningModulesChangedAfterSaveHint() {
                    runningModulesChangedAfterSaveHint.visible = true;
                }
            }
        }

        RowLayout {
            Layout.fillWidth: true

            Kirigami.SearchField {
                id: searchField
                Layout.fillWidth: true
            }

            QtControls.ComboBox {
                id: filterCombo
                textRole: "text"
                enabled: kcm.kdedRunning || currentIndex > 0
                model: [
                    {text: i18n("All Services"), statusFilter: Private.KCM.UnknownStatus},
                    {text: i18nc("List running services", "Running"), statusFilter: Private.KCM.Running},
                    {text: i18nc("List not running services", "Not Running"), statusFilter: Private.KCM.NotRunning}
                ]

                // HACK QQC2 doesn't support icons, so we just tamper with the desktop style ComboBox's background
                // and inject a nice little filter icon.
                Component.onCompleted: {
                    if (!background || !background.hasOwnProperty("properties")) {
                        // not a KQuickStyleItem
                        return;
                    }

                    var props = background.properties || {};

                    background.properties = Qt.binding(function() {
                        var newProps = props;
                        newProps.currentIcon = "view-filter";
                        newProps.iconColor = Kirigami.Theme.textColor;
                        return newProps;
                    });
                }
            }
        }
    }

    view: ListView {
        id: list
        clip: true
        activeFocusOnTab: true

        model: kcm.filteredModel

        section.property: "type"
        section.delegate: Kirigami.ListSectionHeader {
            width: list.width
            label: {
                switch (Number(section)) {
                    case Private.KCM.AutostartType: return i18n("Startup Services");
                    case Private.KCM.OnDemandType: return i18n("Load-on-Demand Services");
                }
            }
        }

        Component {
            id: listDelegateComponent

            Kirigami.AbstractListItem {
                id: delegate
                // FIXME why does the padding logic to dodge the ScrollBars not work here?
                text: model.display
                enabled: !model.immutable
                checkable: model.type !== Private.KCM.OnDemandType
                checked: model.autoloadEnabled === true
                hoverEnabled: checkable
                focusPolicy: Qt.ClickFocus
                Accessible.description: i18n("Toggle automatically loading this service on startup")
                onClicked: {
                    if (checkable) {
                        model.autoloadEnabled = !model.autoloadEnabled;
                    }
                }

                Component.onCompleted: {
                    // Checkable Kirigami.ListItem has blue background which we don't want
                    // as we have a dedicated CheckBox. Still using those properties for accessibility.
                    background.color = Qt.binding(function() {
                        return delegate.highlighted || (delegate.supportsMouseEvents && delegate.pressed)
                            ? delegate.activeBackgroundColor
                            : delegate.backgroundColor
                    });
                }

                contentItem: RowLayout {
                    QtControls.CheckBox {
                        id: autoloadCheck
                        // Keep focus on the delegate
                        focusPolicy: Qt.NoFocus
                        checked: delegate.checked
                        visible: delegate.checkable
                        onToggled: model.autoloadEnabled = !model.autoloadEnabled

                        QtControls.ToolTip {
                            text: delegate.Accessible.description
                        }

                        KCM.SettingHighlighter {
                            highlight: !model.autoloadEnabled
                        }
                    }

                    ColumnLayout {
                        Layout.fillWidth: true
                        spacing: 0

                        QtControls.Label {
                            id: displayLabel
                            Layout.fillWidth: true
                            text: delegate.text
                            elide: Text.ElideRight
                            textFormat: Text.PlainText
                            color: (delegate.highlighted || (delegate.pressed && delegate.supportsMouseEvents)) ? delegate.activeTextColor : delegate.textColor
                        }

                        QtControls.Label {
                            Layout.fillWidth: true
                            text: model.description
                            // FIXME do we have a descriptive label component?
                            opacity: delegate.hovered ? 0.8 : 0.6
                            wrapMode: Text.WordWrap
                            textFormat: Text.PlainText
                            color: displayLabel.color
                        }
                    }

                    QtControls.Label {
                        id: statusLabel
                        horizontalAlignment: Text.AlignRight
                        opacity: model.status === Private.KCM.Running ? 1 : delegate.hovered ? 0.8 : 0.6
                        color: model.status === Private.KCM.Running ? Kirigami.Theme.positiveTextColor : displayLabel.color
                        visible: kcm.kdedRunning && model.type !== Private.KCM.OnDemandType
                        text: {
                            switch (model.status) {
                            case Private.KCM.NotRunning: return i18n("Not running");
                            case Private.KCM.Running: return i18n("Running");
                            }
                            return "";
                        }
                    }

                    QtControls.Button {
                        icon.name: model.status === Private.KCM.Running ? "media-playback-pause" : "media-playback-start"
                        visible: kcm.kdedRunning && model.status !== Private.KCM.UnknownStatus && model.type !== Private.KCM.OnDemandType
                        onClicked: {
                            errorMessage.visible = false;

                            console.log("DELEGATE", delegate)
                            if (model.status === Private.KCM.Running) {
                                kcm.stopModule(model.moduleName);
                            } else {
                                kcm.startModule(model.moduleName);
                            }
                        }
                        Accessible.name: model.status === Private.KCM.Running ? i18n("Stop Service") : i18n("Start Service")

                        QtControls.ToolTip {
                            text: parent.Accessible.name
                        }
                    }
                }
            }
        }

        delegate: Kirigami.DelegateRecycler {
            width: list.width
            sourceComponent: listDelegateComponent
        }
    }
}
$ ls -l /usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml
-rw-r--r-- 1 root root 11235 Jul 27 14:01 /usr/share/kpackage/kcms/kcm5_kded/contents/ui/main.qml

I also downgraded all those kde packages who went from version 21.04. to 21.08. recently, but still no effect.

Has anyone an idea what to do?

Thanks in advance.

Last edited by sillywalks (2021-08-14 11:36:17)

Offline

#2 2021-08-14 10:47:27

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,171

Re: [SOLVED] Missing menu bar in all KDE applications

sillywalks wrote:

When I do

$ kcmshell5 kcmkded

and start typing 'm...'

Why are you doing this and what makes you think it has anything to do with your problem?

Post the output of 'qdbus com.canonical.AppMenu.Registrar'

Offline

#3 2021-08-14 11:10:48

sillywalks
Member
Registered: 2021-08-14
Posts: 5

Re: [SOLVED] Missing menu bar in all KDE applications

arojas wrote:
sillywalks wrote:

...

Why are you doing this and what makes you think it has anything to do with your problem?

Because I don't know what I'm doing but I found this hint in another topic.

arojas wrote:

Post the output of 'qdbus com.canonical.AppMenu.Registrar'

$ qdbus com.canonical.AppMenu.Registrar
/
/GtkConfig
/KAppMenu
/Layouts
/MainApplication
/Mixers
/Mixers/PulseAudio__Capture_Devices_1
/Mixers/PulseAudio__Capture_Devices_1/alsa_input_pci_0000_00_08_0_analog_stereo
/Mixers/PulseAudio__Capture_Streams_1
/Mixers/PulseAudio__Playback_Devices_1
/Mixers/PulseAudio__Playback_Devices_1/alsa_output_pci_0000_00_08_0_analog_stereo
/Mixers/PulseAudio__Playback_Streams_1
/Mixers/PulseAudio__Playback_Streams_1/restore_sink_input_by_media_role_event
/Mixers/PulseAudio__Playback_Streams_1/stream_2420
/Mixers/PulseAudio__Playback_Streams_1/stream_2445
/Mixers/PulseAudio__Playback_Streams_1/stream_356
/StatusHandler
/StatusNotifierWatcher
/com
/com/canonical
/com/canonical/AppMenu
/com/canonical/AppMenu/Registrar
/kbuildsycoca
/kded
/modules
/modules/BrowserIntegrationReminder
/modules/StatusNotifierWatcher
/modules/appmenu
/modules/baloosearchmodule
/modules/browserintegrationreminder
/modules/colorcorrectlocationupdater
/modules/desktopnotifier
/modules/dnssdwatcher
/modules/freespacenotifier
/modules/gtkconfig
/modules/kcookiejar
/modules/kded_accounts
/modules/kded_bolt
/modules/kded_ktp_approver
/modules/keyboard
/modules/khotkeys
/modules/kmixd
/modules/kscreen
/modules/ksysguard
/modules/ktimezoned
/modules/ktp_integration_module
/modules/kwrited
/modules/networkmanagement
/modules/networkstatus
/modules/plasmavault
/modules/printmanager
/modules/proxyscout
/modules/remotenotifier
/modules/smart
/modules/smart/devices
/modules/smart/devices/_org_freedesktop_UDisks2_block_devices_sda
/modules/smart/devices/_org_freedesktop_UDisks2_block_devices_sdb
/modules/smart/devices/_org_freedesktop_UDisks2_block_devices_sdc
/modules/smbwatcher
/modules/statusnotifierwatcher
/modules/touchpad
/org
/org/freedesktop
/org/freedesktop/Telepathy
/org/freedesktop/Telepathy/Client
/org/freedesktop/Telepathy/Client/KTp
/org/freedesktop/Telepathy/Client/KTp/Approver
/org/kde
/org/kde/kded5
/org/kde/kscreen
/org/kde/kscreen/osdService
/org/kde/plasmanetworkmanagement

Offline

#4 2021-08-14 11:13:52

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,171

Re: [SOLVED] Missing menu bar in all KDE applications

You have some global menu applet running, that's why you don't have menus in the applications. If you want them, you need to remove the applet.

Offline

#5 2021-08-14 11:35:05

sillywalks
Member
Registered: 2021-08-14
Posts: 5

Re: [SOLVED] Missing menu bar in all KDE applications

arojas wrote:

You have some global menu applet running, that's why you don't have menus in the applications. If you want them, you need to remove the applet.

You're right! As it appears I recently added some 'global menu' widget to a new panel by accident.

I removed it and after rebooting the menu bars appear again.

Thanks a lot, you're a wizard! big_smile

Offline

Board footer

Powered by FluxBB