wojnilowicz / workrave-applet

KDE Plasma 5 applet for displaying Workrave timers.
GNU General Public License v2.0
4 stars 7 forks source link

KDE Plasma 5:104 crashes when trying to invoke workrave applet v0.1 in Debian 11 (bullseye, testing) #1

Closed extralight closed 4 years ago

extralight commented 4 years ago

I have tried installing it via all 3 methods:

  1. From within kde. Taskbar > Configure Panel > Add widgets > Get New Widgets > Download New Plasma Widgets
  2. From store.kde.org/p/1384066/ > Download. kde Taskbar > Configure Panel > Add widgets > Get New Widgets > Install widget from local file.
  3. From github using kpackagetool5.

All 3 result in a crash when I double click the installed widget inside 'Add Widgets'.

When I try to restart plasma using $ kstart5 plasmashell

Below is the error that I get:

(base) ➜ ~ kstart5 plasmashell Omitting both --window and --windowclass arguments is not recommended (base) ➜ ~ org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.appmenubar org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.defaultPanel org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.emptyPanel org.kde.plasmaquick: Applet preload policy set to 1 kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList trying to show an empty dialog file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" inotify_add_watch(/var/lib/samba/usershares) failed: (Permission denied) kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" Plasma Shell startup completed Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Loading Calendar plugin HolidaysEventsPlugin(0x562db62758a0) Loading Calendar plugin PimEventsPlugin(0x562db6273c00) 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 Entry is not valid "kontact.desktop" QSharedPointer(0x562db6356330) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x562db6356330) Entry is not valid "kontact.desktop" QSharedPointer(0x562db630b200) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x562db630b200) file:///usr/share/plasma/plasmoids/org.kde.milou/contents/ui/main.qml:61:17: Unable to assign double to QQuickAnchorLine trying to show an empty dialog KCrash: Attempting to start /usr/bin/plasmashell KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = plasmashell path = /usr/bin pid = 635359 KCrash: Arguments: /usr/bin/plasmashell KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi QSocketNotifier: Invalid socket 8 and type 'Read', disabling... QSocketNotifier: Invalid socket 10 and type 'Read', disabling... QSocketNotifier: Invalid socket 28 and type 'Read', disabling... org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.appmenubar org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.defaultPanel org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.emptyPanel org.kde.plasmaquick: Applet preload policy set to 1 kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList trying to show an empty dialog file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" Plasma Shell startup completed inotify_add_watch(/var/lib/samba/usershares) failed: (Permission denied) kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Loading Calendar plugin HolidaysEventsPlugin(0x55ad3645db10) Loading Calendar plugin PimEventsPlugin(0x55ad3645be70) 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 Entry is not valid "kontact.desktop" QSharedPointer(0x55ad3627aa90) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55ad3627aa90) Entry is not valid "kontact.desktop" QSharedPointer(0x55ad3629a520) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55ad3629a520) file:///usr/share/plasma/plasmoids/org.kde.milou/contents/ui/main.qml:61:17: Unable to assign double to QQuickAnchorLine trying to show an empty dialog KCrash: Attempting to start /usr/bin/plasmashell


KDE Plasma is unable to restart with the applet installed.

Thereafter to get back kde, I need to manually delete the applet from /home/u/.local/share/plasma/plasmoids/

Now when I run $ kstart5 plasmashell

kde plasma successfully restarts with the following output:


Omitting both --window and --windowclass arguments is not recommended (base) ➜ ~ org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.appmenubar org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.defaultPanel org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.emptyPanel org.kde.plasmaquick: Applet preload policy set to 1 kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList trying to show an empty dialog file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" Plasma Shell startup completed inotify_add_watch(/var/lib/samba/usershares) failed: (Permission denied) kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Loading Calendar plugin HolidaysEventsPlugin(0x5629ec683ea0) Loading Calendar plugin PimEventsPlugin(0x5629ec682200) 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 Entry is not valid "kontact.desktop" QSharedPointer(0x5629ec2e6860) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x5629ec2e6860) Entry is not valid "kontact.desktop" QSharedPointer(0x5629ec2e5f60) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x5629ec2e5f60) file:///usr/share/plasma/plasmoids/org.kde.milou/contents/ui/main.qml:61:17: Unable to assign double to QQuickAnchorLine trying to show an empty dialog Both point size and pixel size set. Using pixel size. file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:53:17: Unable to assign [undefined] to int trying to show an empty dialog file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" (base) ➜ ~ DBusMenu disabled for this application kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. trying to show an empty dialog file:///usr/share/plasma/plasmoids/org.kde.milou/contents/ui/main.qml:61:17: Unable to assign double to QQuickAnchorLine file:///usr/share/plasma/plasmoids/org.kde.milou/contents/ui/main.qml:61:17: Unable to assign double to QQuickAnchorLine 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. 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. 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 1 Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations. Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations. Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations. DBusMenu disabled for this application


and plasma is back alive.

If someone can tell me what I did wrong?

wojnilowicz commented 4 years ago

Thank you for reporting this issue.

You did nothing wrong. It's a regression (kind of a bug) in KDE Plasma, which already has been reported at KDE Bugtracking System. You can unpack main.zip into ~/.local/share/plasma/plasmoids/org.kde.workraveApplet/contents/ui/ It would make applet functional, but totally unconfigurable. I found no other workaround, and we have to wait for someone from KDE to fix the Plasma, if ever.

Could you report here what version of Plasma are you using?

extralight commented 4 years ago

With your main.qml, its working correctly including configuration! Thank you.

I am on Plasma 5:104. Debian testing.

And thank you so much for making this app. :-)...

wojnilowicz commented 4 years ago

With your main.qml, its working correctly including configuration! Thank you.

Hmm... strange. Thanks for reporting this finding.

I am on Plasma 5:104. Debian testing.

And thank you so much for making this app. :-)...

You're welcome.

If it's not a problem then please leave this bug opened. I bet there will be others affected, and I think I cannot workaround this bug in a more proper way.

extralight commented 4 years ago

If possible please add your modified file to github and kde store. This app is important to me, thats why I had created an account here to report this bug. I think a majority of the users may not see this bugreport because they will be installing directly from within kde and will feel that the applet was the problem (and not kde) and never even reach here.

Also a crashed kde, and having to manually delete files may be beyond many people and leave their system crippled (as it persists even after a reboot), till they are able to get somebody to troubleshoot.

Regarding it being working 'fully' - Because I am on debian testing, would it be because kde has partially solved the problem?

In your qml if you could make all 3 timers visible (instead of the default 2), even people with bad kde, may not need any config changes.

extralight commented 4 years ago

Its actually still problematic.

I rebooted my pc for the first time after using your main.qml and found that kde could not start. Ran kstart5 plasmashell, but it still did not restart. So I assumed it was because of the changes I had made to it. Deleted /home/u/.local/share/plasma/plasmoids/org.kde.workraveApplet rebooted reinstalled workrave applet copied in your main.qml ran it by just doubleclicking on Taskbar > Configure Panel > Add widgets > Get New Widgets did not make any changes rebooted

still kde did not start automatically ran kstart5 plasmashell kde did not start and gave the following error


(base) ➜ ~ kstart5 plasmashell Omitting both --window and --windowclass arguments is not recommended (base) ➜ ~ org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.appmenubar org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.defaultPanel org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.emptyPanel org.kde.plasmaquick: Applet preload policy set to 1 kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList trying to show an empty dialog file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" Plasma Shell startup completed inotify_add_watch(/var/lib/samba/usershares) failed: (Permission denied) kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Loading Calendar plugin HolidaysEventsPlugin(0x564e8bf87490) Loading Calendar plugin PimEventsPlugin(0x564e8bf86270) 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 Entry is not valid "kontact.desktop" QSharedPointer(0x564e8c0cad70) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x564e8c0cad70) Entry is not valid "kontact.desktop" QSharedPointer(0x564e8c0cad70) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x564e8c0cad70) KCrash: Attempting to start /usr/bin/plasmashell KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = plasmashell path = /usr/bin pid = 3422 KCrash: Arguments: /usr/bin/plasmashell KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi QSocketNotifier: Invalid socket 8 and type 'Read', disabling... QSocketNotifier: Invalid socket 10 and type 'Read', disabling... QSocketNotifier: Invalid socket 30 and type 'Read', disabling... org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.appmenubar org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.defaultPanel org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.emptyPanel org.kde.plasmaquick: Applet preload policy set to 1 kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList trying to show an empty dialog file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" Plasma Shell startup completed inotify_add_watch(/var/lib/samba/usershares) failed: (Permission denied) kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Loading Calendar plugin HolidaysEventsPlugin(0x55c2a53da210) Loading Calendar plugin PimEventsPlugin(0x55c2a53d8350) 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 Entry is not valid "kontact.desktop" QSharedPointer(0x55c2a5708970) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55c2a5708970) Entry is not valid "kontact.desktop" QSharedPointer(0x55c2a5708970) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55c2a5708970)


Just by luck.

I started a new terminal and ran kstart5 plasmashell again. Now kde started but there were 7 workrave applets in the taskbar!

workrave error with multiple applets on taskbar even with the special main qml - Screenshot_20200707_153707

And this was printed on the terminal:


(base) ➜ ~ kstart5 plasmashell Omitting both --window and --windowclass arguments is not recommended (base) ➜ ~ org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.appmenubar org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.defaultPanel org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.emptyPanel org.kde.plasmaquick: Applet preload policy set to 1 kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList trying to show an empty dialog file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" Plasma Shell startup completed inotify_add_watch(/var/lib/samba/usershares) failed: (Permission denied) kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Loading Calendar plugin HolidaysEventsPlugin(0x55d72d142fb0) Loading Calendar plugin PimEventsPlugin(0x55d72d143630) 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 Entry is not valid "kontact.desktop" QSharedPointer(0x55d72d2cd700) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55d72d2cd700) Entry is not valid "kontact.desktop" QSharedPointer(0x55d72d2cd700) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55d72d2cd700) KCrash: Attempting to start /usr/bin/plasmashell KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = plasmashell path = /usr/bin pid = 5053 KCrash: Arguments: /usr/bin/plasmashell KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi QSocketNotifier: Invalid socket 8 and type 'Read', disabling... QSocketNotifier: Invalid socket 10 and type 'Read', disabling... QSocketNotifier: Invalid socket 28 and type 'Read', disabling... org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.appmenubar org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.defaultPanel org.kde.kcoreaddons: Expected JSON property "X-Plasma-ContainmentCategories" to be a string list. Treating it as a list with a single entry: "panel" org.kde.plasma.desktop.emptyPanel org.kde.plasmaquick: Applet preload policy set to 1 kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList trying to show an empty dialog file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" Plasma Shell startup completed inotify_add_watch(/var/lib/samba/usershares) failed: (Permission denied) kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:305:17: QML Label: Binding loop detected for property "width" Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Loading Calendar plugin HolidaysEventsPlugin(0x55fea0aa7d80) Loading Calendar plugin PimEventsPlugin(0x55fea0aa8400) 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 Entry is not valid "kontact.desktop" QSharedPointer(0x55fea0c37a00) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55fea0c37a00) Entry is not valid "kontact.desktop" QSharedPointer(0x55fea0c37a00) Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55fea0c37a00) Process "qdbus org.workrave.Workrave /org/workrave/Workrave/Core org.workrave.ConfigInterface.GetInt /timers/micro_pause/limit" already running. Pid: 5275 Process "qdbus org.workrave.Workrave /org/workrave/Workrave/Core org.workrave.ConfigInterface.GetInt /timers/micro_pause/auto_reset" already running. Pid: 5278 Process "qdbus org.workrave.Workrave /org/workrave/Workrave/Core org.workrave.ConfigInterface.GetInt /timers/rest_break/limit" already running. Pid: 5284 Process "qdbus org.workrave.Workrave /org/workrave/Workrave/Core org.workrave.ConfigInterface.GetInt /timers/rest_break/auto_reset" already running. Pid: 5286 Both point size and pixel size set. Using pixel size. file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:53:17: Unable to assign [undefined] to int trying to show an empty dialog file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" (base) ➜ ~ kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. trying to show an empty dialog Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations. Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations. file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:138:17: QML Heading: Binding loop detected for property "verticalAlignment" file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:138:17: QML Heading: Binding loop detected for property "height"


Hope this info helps you.

Is a temporary workaround possible?

Should I too report this to kde?

extralight commented 4 years ago

With the terminal open with the previous kstart5 plasmashell still running, if I click on the settings button to the right of the clock (task bar bottom right), this error gets printed:


QQmlComponent: Component is not ready QQmlEngine::setContextForObject(): Object already has a QQmlContext file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: QML QQuickItem: Binding loop detected for property "implicitWidth" file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: QML QQuickItem: Binding loop detected for property "implicitWidth" file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: QML QQuickItem: Binding loop detected for property "implicitWidth" file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: QML QQuickItem: Binding loop detected for property "implicitWidth" file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: QML QQuickItem: Binding loop detected for property "implicitWidth" Both point size and pixel size set. Using pixel size. file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:53:17: Unable to assign [undefined] to int file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:73:5: QML Binding: Not restoring previous value because restoreMode has not been set. This behavior is deprecated. You have to import QtQml 2.14 after any QtQuick imports and set the restoreMode of the binding to fix this warning. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:89:5: QML Binding: Not restoring previous value because restoreMode has not been set. This behavior is deprecated. You have to import QtQml 2.14 after any QtQuick imports and set the restoreMode of the binding to fix this warning. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/" 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. Both point size and pixel size set. Using pixel size. kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. kf5.kconfig.core: Access to ' "/home/u/Desktop/kvirc.desktop" ' denied, not owned by root, executable flag not set. file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderView.qml:180:5: QML Binding: Not restoring previous value because restoreMode has not been set. This behavior is deprecated. You have to import QtQml 2.14 after any QtQuick imports and set the restoreMode of the binding to fix this warning. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.

Error: cannot change the containment to AppletsLayout


extralight commented 4 years ago

Removed the 6 extra applets and moved the applet to a better position.

workrave working correctly - Screenshot_20200707_164311

Somehow, now rebooting is no longer causing problems. Both kde and workrave are now working well together. :-)...

Though I am not going to do any right click and 'Configure workrave applet.'

Thankfully somehow, the font height changes that I had made in the beginning has persisted through deletions and uninstallations!

wojnilowicz commented 4 years ago

If possible please add your modified file to github and kde store. This app is important to me, thats why I had created an account here to report this bug. I think a majority of the users may not see this bugreport because they will be installing directly from within kde and will feel that the applet was the problem (and not kde) and never even reach here.

Also a crashed kde, and having to manually delete files may be beyond many people and leave their system crippled (as it persists even after a reboot), till they are able to get somebody to troubleshoot.

I know what you mean, and I'm also concerned, but feel helpless. I cannot devise a workaround that won't cripple the Applet, and don't want to cripple it for users, for which this applet works fine (e.g. because they're not on bleeding edge).

Regarding it being working 'fully' - Because I am on debian testing, would it be because kde has partially solved the problem?

I doubt it, because a fix just landed. I will try to re-approach this issue though.

In your qml if you could make all 3 timers visible (instead of the default 2), even people with bad kde, may not need any config changes.

That's a preference thing. There will be people that would like to disable the 3rd timer, because they may care about screen space and distraction, like myself.

Hope this info helps you.

Not really. The root cause of this bug has already been identified by the core Plasma developer here, and fixed by him too. I understand you wanted to speed up fixing the bug.

Is a temporary workaround possible?

Should I too report this to kde?

As for the multiple applet instantiations, I think if you cannot reproduce it, then it happened by accident. If you can reproduce it, then I would like to know exact steps, so that I can see it on my machine too.

Somehow, now rebooting is no longer causing problems. Both kde and workrave are now working well together. :-)...

Please bear in mind, that other applet might be the only source of your reboots. The fix here affects many more bugs, which means that various applets are affected by this deficiency in Plasma.

Is Workrave Applet translated into your language?

wojnilowicz commented 4 years ago

Closing as it should be fixed in 0.2 version of the Applet.