Bug 389297

Summary: plasmashell does not show a panel and layout settings cannot be changed
Product: [Plasma] plasmashell Reporter: Stas <stas.kazmin>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: arojas, bortega, cherkaba, jgrulich, kde, r.lehmeier
Priority: NOR    
Version: 5.12.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot. Settings get stucked in this view.
Screeshot of Desktop Settings - Wallpapers don't appear.

Description Stas 2018-01-21 21:18:29 UTC
Hello, I have updated my plasma desktop packages to 5.11.5 yesterday from arch linux repositories and now in the system tray everything except "non system" trays like telegram or thunderbird is gone. So, I have not networkmanager, no volume control, no notifications, no device manager and so on.

However, each of then is now available as a separate widget for the panel.

Since I have not found the right place for a question about system tray as such, maybe someone here knows the answer: is it a bug (how to fix) or a design change. In the second case, how can I then d let them hide until they are needed, like the device tray shows up only if I plug in e.g. a USB stick into the computer.


And you can forward this question further to the right forum if you like.

Thanks.
Comment 1 Stas 2018-01-22 07:51:03 UTC
A short addition: the "extra items" list in system tray settings is empty.
Comment 2 David Edmundson 2018-01-25 11:36:55 UTC
It's not a design change; extra items should be populated.

I have not seen any other reports of this so it's quite unusual.
If you run plasmashell manually from konsole is there anything relevant in the output.

Do you have this issue if you create a new user and log in?
Comment 3 Stas 2018-01-25 11:46:19 UTC
Created attachment 110113 [details]
Screenshot. Settings get stucked in this view.
Comment 4 Stas 2018-01-25 11:48:22 UTC
Yes, the same happens for a new user. Even more: I cannot change anything in system tray settings. I get stuck with the window attached above and with the message:

"Layout changes must be applied before other changes can be made."

I cannot switch to other menu entries nor does anything happen by pressing "Apply".

Maybe this is a hint about what is going wrong here.
Comment 5 Stas 2018-01-25 11:54:48 UTC
Here the same behavior is described:

https://forums.opensuse.org/showthread.php/529253-Configure-Desktop-seems-not-to-work-now

So at least I am not the only one and it is a wider issue than just system tray.
Comment 6 Stas 2018-02-09 11:48:17 UTC
I still have problems with 5.12 version.

When i start systemsettings5 from console and go to layout, I get the following errors:
[code]
KActivities: Database connection:  "kactivities_db_resources_139926662121472_readonly" 
    query_only:          QVariant(qlonglong, 1) 
    journal_mode:        QVariant(QString, "wal") 
    wal_autocheckpoint:  QVariant(qlonglong, 100) 
    synchronous:         QVariant(qlonglong, 0)
Nothing to load - the client id is empty
Nothing to load - the client id is empty
Error:  QSqlError("11", "Unable to fetch row", "database disk image is malformed")
Error:  QSqlError("11", "Unable to fetch row", "database disk image is malformed")
org.kde.kcoreaddons: Error loading plugin "kcm_lookandfeel" "The shared library was not found." 
Plugin search paths are ("/usr/lib/qt/plugins", "/usr/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
KActivitiesStats( 0x55e06f4e2e20 ) ResultModelPrivate::onResultScoreUpdated  result added: "kcm:kcm_lookandfeel.desktop" score: 0 last: 1518176817 first: 4294967295
file:///usr/share/kpackage/kcms/kcm_lookandfeel/contents/ui/main.qml:190: ReferenceError: needsSave is not defined
file:///usr/share/kpackage/kcms/kcm_lookandfeel/contents/ui/main.qml:190: ReferenceError: needsSave is not defined
[/code]

I still cannot add new panels or change the wallpaper. The 'Extra Items' in the system tray are additional but not the main problem I think.
Comment 7 Baltasar 2018-02-20 18:03:30 UTC
I have this problem with KDE Nedon with Plasma 5.12.
I can't change the wallpaper.
Comment 8 Baltasar 2018-02-20 18:10:40 UTC
More info. When I put the command "systemsettings5" appears these lines:

KActivities: Database connection:  "kactivities_db_resources_140557141772480_readonly" 
    query_only:          QVariant(qlonglong, 1) 
    journal_mode:        QVariant(QString, "wal") 
    wal_autocheckpoint:  QVariant(qlonglong, 100) 
    synchronous:         QVariant(qlonglong, 0)
Nothing to load - the client id is empty
Nothing to load - the client id is empty
Comment 9 Baltasar 2018-02-21 17:56:54 UTC
Update to Plasma 5.12.2 and the problem still exist.
Comment 10 David Edmundson 2018-02-22 18:24:26 UTC
What do you mean you can't change wallpaper? Are there no options? Or it fails to apply? Can I have a screenshot maybe?

Can I see command line output of plasmshell (system settings isn't very relevnat here)

kquitapp5 plasmashell
plasmashell

from a terminal
Comment 11 Baltasar 2018-02-22 19:09:27 UTC
Created attachment 110908 [details]
Screeshot of Desktop Settings - Wallpapers don't appear.
Comment 12 Baltasar 2018-02-22 19:10:03 UTC
Plasmashell command in terminal:


altolkien@baltolkien-SlimbookPRO:~$ plasmashell
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/code/LayoutManager.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/LayoutManager.js")
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/code/FolderTools.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderTools.js")
trying to show an empty dialog
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
qml: onLoaded
KActivities: Database connection:  "kactivities_db_resources_140654406195392_readonly" 
    query_only:          QVariant(qlonglong, 1) 
    journal_mode:        QVariant(QString, "wal") 
    wal_autocheckpoint:  QVariant(qlonglong, 100) 
    synchronous:         QVariant(qlonglong, 0)
Entry is not valid "kontact.desktop" 0x1b95b90
Entry is not valid "ktp-contactlist.desktop" 0x1b95b90
Entry is not valid "kontact.desktop" 0x1b95b90
Entry is not valid "ktp-contactlist.desktop" 0x1b95b90
Closing SQL connection:  "kactivities_db_resources_140654406195392_readonly"
KActivities: Database connection:  "kactivities_db_resources_140654406195392_readonly" 
    query_only:          QVariant(qlonglong, 1) 
    journal_mode:        QVariant(QString, "wal") 
    wal_autocheckpoint:  QVariant(qlonglong, 100) 
    synchronous:         QVariant(qlonglong, 0)
Nothing to load - the client id is empty
Nothing to load - the client id is empty
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.panel/contents/code/LayoutManager.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/LayoutManager.js")
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
trying to show an empty dialog
trying to show an empty dialog
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property 'width' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:365: TypeError: Cannot read property 'padding' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:364: TypeError: Cannot read property 'padding' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:363: TypeError: Cannot read property 'padding' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:362: TypeError: Cannot read property 'padding' of null
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/code/uiproperties.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/uiproperties.js")
file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/clipboard.qml:32: TypeError: Cannot read property 'empty' of undefined
file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/clipboard.qml:34: TypeError: Cannot read property 'empty' of undefined
Plasma Shell startup completed
libkcups: 0
libkcups: 0
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/code/logic.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/logic.js")
Both point size and pixel size set. Using pixel size.
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "GlobalDnsConfiguration"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
Warning: all files used by qml by the plasmoid should be in ui/. The file in the path "file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/conten/logic.js" was expected at QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js")
org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor"
kf5.karchive: bzDecompress returned -5
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:210:25: QML ListView: Binding loop detected for property "model"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:210:25: QML ListView: Binding loop detected for property "model"
trying to show an empty dialog
trying to show an empty dialog
trying to show an empty dialog
QXcbConnection: XCB error: 2 (BadValue), sequence: 8569, resource id: 100663312, major code: 142 (Unknown), minor code: 3
QXcbConnection: XCB error: 2 (BadValue), sequence: 8594, resource id: 83886085, major code: 142 (Unknown), minor code: 3
QXcbConnection: XCB error: 2 (BadValue), sequence: 8604, resource id: 100663312, major code: 142 (Unknown), minor code: 3
KActivitiesStats( 0x2e1f800 ) ResultModelPrivate::onResultScoreUpdated  result added: "/home/baltolkien" score: 1.00125 last: 1519326412 first: 1500815609
QXcbConnection: XCB error: 2 (BadValue), sequence: 9004, resource id: 119537668, major code: 142 (Unknown), minor code: 3
QXcbConnection: XCB error: 2 (BadValue), sequence: 9026, resource id: 123731973, major code: 142 (Unknown), minor code: 3
QXcbConnection: XCB error: 2 (BadValue), sequence: 9062, resource id: 83886085, major code: 142 (Unknown), minor code: 3
Comment 13 Antonio Rojas 2018-02-22 19:42:07 UTC
(In reply to Baltasar from comment #11)
> Created attachment 110908 [details]
> Screeshot of Desktop Settings - Wallpapers don't appear.

Do you have a kpluginindex.json file in /usr/share/plasma/wallpapers/?
Comment 14 Baltasar 2018-02-22 19:47:07 UTC
Yes, I have it.
Comment 15 Antonio Rojas 2018-02-22 19:48:42 UTC
(In reply to Baltasar from comment #14)
> Yes, I have it.

Then that's your problem, delete it. You've probably run Plasma as root at some point.
Comment 16 Baltasar 2018-02-22 19:59:52 UTC
It works!!!!
Thank you!!!!
Comment 17 David Edmundson 2018-02-22 20:02:18 UTC
Antonio, wow, wouldn't have thought of that.

@Stas can you confirm the same thing
Comment 18 Stas 2018-02-23 14:49:36 UTC
For me the file was in /usr/share/plasma/plasmoids/kpluginindex.json
And yes, deleting it solved the problem.

Thanks for the solution.
Comment 19 Antonio Rojas 2018-02-23 15:04:41 UTC

*** This bug has been marked as a duplicate of bug 389197 ***
Comment 20 Antonio Rojas 2018-04-17 07:46:00 UTC
*** Bug 393179 has been marked as a duplicate of this bug. ***
Comment 21 Cherkah 2018-08-26 00:49:35 UTC
Hello,
after an update (plasma desktop packages to 5.13.4 yesterday) on a debian stretch, problems came:
- system is gone:not networkmanager, no volume control, no notifications, etc..
- no right-click: on desktop only (app ok)
- krunner don't lets me run cmd like kquit/ksqtart
- shortcut  disable: alt+f1 & cannot reasigne on
- about nm, i'm constraint to activate network throug system-settings


 to resolve this problem i rm all kpluginindex.json's files 
but nothing

Since I have not found the right place for a question about system tray as such, maybe someone here knows the answer: is it a bug & how to fix it ?

thanks
Comment 22 Lehmeier 2018-08-26 06:03:59 UTC
The messages of the users are systematically ignored and negated.
It seems only the will of the developers counts.
Because not what the users need is implemented, but what the developer wants to try.
At the moment you can only say: KDE is dead because it is not usable.
Let's see if it becomes usable again, or finally disappears into insignificance.