plasma-applet-todolist icon indicating copy to clipboard operation
plasma-applet-todolist copied to clipboard

Port to Plasma 6

Open d-air1 opened this issue 11 months ago • 8 comments

This is a very rudimentary port to plasma 6. I have things mostly working. There are a few issues I haven't quite worked out such as getting the draggable area image to show up. It doesn't seem to appear to no matter how I specify the relative path after porting to KSVG. The Plasmoid property no longer exposes a file function to resolve that path and I am unsure of how or if I can use kpackage::filePath in the qml. Also the configuration menu seems to be blank. I was testing with plasmoidviewer, so I don't know if that is playing a role in these last two issues.

d-air1 avatar Mar 09 '24 22:03 d-air1

fixes #82

d-air1 avatar Mar 09 '24 22:03 d-air1

Ahh, another thing that I haven't tested is the install scripts. I switch to kreadconfig6 instead of kreadconfig5 as well as other similar changes, but I'm sure more needs to be done in that regard.

d-air1 avatar Mar 09 '24 22:03 d-air1

I unversioned the Qt imports as well, that may or may not have been needed.

d-air1 avatar Mar 10 '24 10:03 d-air1

@Zren could we get a review on this? It would be much appreciated to get this great applet on Plasma6.

browser-bug avatar Mar 28 '24 08:03 browser-bug

Hi, I'm new to KDE Applet and just tried to install it on my device. I run bash ./install and it says metadata.desktop is not found while running kreadconfig6. I think that's because now the metadata file is changed from metadata.desktop to metadata.json. Maybe we need to either use the old .desktop format or use json utilities (such as jq) to read values?

LucunJi avatar Apr 24 '24 08:04 LucunJi

Hi, I'm new to KDE Applet and just tried to install it on my device. I run bash ./install and it says metadata.desktop is not found while running kreadconfig6. I think that's because now the metadata file is changed from metadata.desktop to metadata.json. Maybe we need to either use the old .desktop format or use json utilities (such as jq) to read values?

Sorry for the late reply. I wasn't sure about the install scripts and previously mentioned that they may not be working. I'm not so sure about going back to the .desktop format because the porting guide specifically mentioned converting to json in order to be used on plasma 6.

I need to gather a bit more information on how the new json format is supposed to be used. It hadn't crossed my mind that those values would need to be parsed by the widget itself.

d-air1 avatar Apr 28 '24 05:04 d-air1

How do you install this here? I didn't understand.

gleyconJ avatar Jun 03 '24 15:06 gleyconJ

How do you install this here? I didn't understand.

I didn't install it. I have been doing all my testing with plasmoidviewer as mentioned in the kde development documentation here: https://develop.kde.org/docs/plasma/widget/testing/

d-air1 avatar Jun 03 '24 23:06 d-air1