Summary: | legacy fuzzyness | ||
---|---|---|---|
Product: | [Plasma] kdeplasma-addons | Reporter: | tukkek |
Component: | fuzzy-clock | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kde |
Priority: | NOR | ||
Version: | 5.4.2 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdeplasma-addons/74f7ffff15b20cdf589c8c6a5c9f731c3167223e | Version Fixed In: | 5.5.0 |
Sentry Crash Report: |
Description
tukkek
2015-11-11 14:07:59 UTC
Plasma 4 and Plasma 5, while looking similar, are completely different on a technical level meaning that Plasma 4 applets written in C++ do not work on Plasma 5. I basically re-implemented Fuzzy Clock from scratch. (Actually the first applet I ported to Plasma 5 because I love Fuzzy Clock) I was under the impression I ported the fuzziness levels verbatim but apparently I was wrong :) I love fuzzy clock too - actually had to install an extra Debian package just to find it. I got KDE working but it really felt like something was missing... So thanks a lot for the new plasmoid! I hope you think this feature request makes sense, it would be great to see it implemented next time an updated package comes to Debian testing! Thank you again for the replies and interest in these reports I've opened! I just saw, apparently the "fuzziness level 2" logic is flawed jumping to 10 min to the hour at ~20min before and sometimes even returning undefined. It looks like that one is actually supposed to use 15min steps as you described but there's some Maths error in the calculation. Git commit 74f7ffff15b20cdf589c8c6a5c9f731c3167223e by Kai Uwe Broulik. Committed on 11/11/2015 at 15:21. Pushed by broulik into branch 'master'. Fix quarterly fuzziness (level 2 fuzziness is now 15 minute accurate) The formula I took from the old applet was flawed and/or I did not port it properly. It was too fast and sometimes even returned undefined. FIXED-IN: 5.5.0 M +5 -3 applets/fuzzy-clock/package/contents/ui/FuzzyClock.qml http://commits.kde.org/kdeplasma-addons/74f7ffff15b20cdf589c8c6a5c9f731c3167223e Thanks man, you rock! Hopefully it won't take too long for the fix to be packaged into Debian! Btw the files I changed were QML files, they lie on your hard drive as plain text. You could basically grab FuzzyClock.qml from KDE's quickgit and replace the one you have to get the fix immediately (obviously an update that doesn't have it yet would override again). It should be located in /usr/share/plasma/plasmoids/org.kde.plasma.fuzzyclock. Did I mention you rock?! I was able to do your commits locally (spreadsheet-oriented programming ftw btw) and everything is working fine! I'll try to keep an eye on the fuzziness level 2 to see if it's acting properly over time. My desktop is perfect now! Thanks a lot again and hopefully my report (and your fix ofc) means other people will be enjoying the improved version too! |