MarcinOrlowski / html-clock-plasmoid

Configurable and lightweight clock widget for KDE. Stylable with QT supported subset of HTML markup, supporting variety of usable placeholders to design clock widget as you like.
67 stars 6 forks source link

Plasma 6 update #93

Open sdwvit opened 8 months ago

sdwvit commented 8 months ago

Please describe the problem Widget not working

This Widget was written for an unknown older version of Plasma and is not compatible with Plasma 6. Please contact the widget's author for an updated version.

Screenshot_20240301_181429 Kindly asking to update the widget for the latest plasma version. Thank you!

Describe the solution you'd like to see Widget working

MarcinOrlowski commented 8 months ago

Thanks for the report. I do not have plasma6 here yet. Can you please click "View Error Details..." and paste if there's anything more than this message? Also would you be able to run the widget manually from console and then paste the output:

$ plasmoidviewer --applet ~/.local/share/plasma/plasmoids/com.marcinorlowski.htmlclock

Note this uses plasmoidviewer which might not be installed by default. On debian/ubuntu you need plasma-sdk package installed.

noir-Z commented 8 months ago

I don't think this is helpful but here is the output :)

QML debugging is enabled. Only use this in a safe environment.
qml: View QML loaded
kf.plasma.quick: Applet preload policy set to 1
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Toolbox not loading, toolbox package is either invalid or disabled.
qml: New Containment: ContainmentItem_QML_45(0x644c3cd283c0, "desktop")
QQmlComponent: Component is not ready
kf.plasma.quick: error when loading applet "com.marcinorlowski.htmlclock" QList("This Widget was written for an unknown older version of Plasma and is not compatible with Plasma 6. Please contact the widget's author for an updated version.")
Daruyami commented 8 months ago

After updating to KDE Plasma 6 the DE shows that this widget is unsuported. image

sdwvit commented 8 months ago

@MarcinOrlowski thanks, I have the same output as @noir-Z

plasmoidviewer --applet ~/.local/share/plasma/plasmoids/com.marcinorlowski.htmlclock
QML debugging is enabled. Only use this in a safe environment.
qml: View QML loaded
kf.plasma.quick: Applet preload policy set to 1
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Toolbox not loading, toolbox package is either invalid or disabled.
qml: New Containment: ContainmentItem_QML_42(0x56bf895990b0, "desktop")
QQmlComponent: Component is not ready
kf.plasma.quick: error when loading applet "com.marcinorlowski.htmlclock" QList("This Widget was written for an unknown older version of Plasma and is not compatible with Plasma 6. Please contact the widget's author for an updated version.")
cquasar commented 7 months ago

Any progress?

noir-Z commented 7 months ago

just let the man cook, i'm sure he'll get to it

Inu90 commented 3 months ago

So is the project dead?

zelch commented 3 months ago

I've got a port mostly complete on my local machine, I'll fork the repo and see about getting it out in the next week or so.

There are a couple of features that I'm pulling, at least for the moment, because they are more bother than I have the energy to try and get working.

By far, the biggest is the ldl, lds, ltl, lts, ldtl, and ldts templates. That is, the long and short forms of the locale specific date, time, and date and time.

If there's active interest in bringing those back, I'll take a crack at figuring out what kind of output was being generated on Plasma 5, and see if it's even remotely practical to replicate it, but I'm pretty sure that it's not going to be trivial to get right.

MarcinOrlowski commented 3 months ago

Project is not dead. I am simply busy with other tasks at work and I simply cannot refocus to work on these projects as I got more things piled up. Also I am not yet using Plasma 6 myself so I am not affected by this that much as some of you. If anyone can give a hand on this, then I'd be more than happy to merge the fix for Plasma 6, otherwise all my plasmoids will still need to wait for the turn a little bit more I am afraid.

zelch commented 3 months ago

@MarcinOrlowski I'm happy to contribute, sadly it's not as simple as just having fixes, as there are necessary changes which are incompatible with Plasma 5.

But a separate branch would be quite practical if you were interested.

(A fork is also an option, but I'm happy not maintaining it long term.)