alexankitty / FancyTasks

Make your plasma task manager widget pretty.
GNU General Public License v3.0
121 stars 7 forks source link

Does not work under Kubuntu 22.04 #18

Open heqro opened 1 year ago

heqro commented 1 year ago

Message error is

file:///home/heqro/.local/share/plasma/plasmoids/alexankitty.fancytasks/contents/ui/main.qml:414:5: Type ToolTipDelegate unavailable

file:///home/heqro/.local/share/plasma/plasmoids/alexankitty.fancytasks/contents/ui/ToolTipDelegate.qml:78:9: Type ToolTipInstance unavailable

file:///home/heqro/.local/share/plasma/plasmoids/alexankitty.fancytasks/contents/ui/ToolTipInstance.qml:155:9: PlasmaExtras.Highlight is not a type

To give some more context, this has also happened with my own plasmoids. The thing is that, for a while, there was a Highlight component in PlasmaComponents which is exactly the one Kubuntu 22.04 as well as older versions of Plasma have.

This happens because QML code depends on system libraries. If you want to get this fixed for older (yet LTS) versions of Plasma, you may have to start developing two different editions of this plasmoid: one that features one declaration and one that features the other.

I wish you patience to deal with these kind of stupid issues. I'm certain more of them will appear by the minute.

alexankitty commented 1 year ago

I'm not entirely sure how I want to handle this yet, it would be nice if things remained at feature parity but fragmentation will always exist. I'll label it as a bug for now and once I'm ready to come up with a way of tackling this I will. My assumption would be that just changing the directive alone may not be enough to make it work automagically.