SUMMARY It would be nice to either a) have a command line switch to clear QML cache or b) alter behaviour of -r switch so that it clears the cache. Usually upon upgrade of latte-dock it becomes unusable (unable to start) without manually deleting the QML cache. STEPS TO REPRODUCE 1. Upgrade latte-dock to latest version 2. Use: latte-dock -r OBSERVED RESULT Some part of the application is rendered but is unusable - no applets... EXPECTED RESULT Should start fine. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 18.10 cosmic (available in About System) KDE Plasma Version: 5.54.0 KDE Frameworks Version: 5.54.0 Qt Version: 5.11.1
very good idea!
is there any reason the "-r" is proposed instead of something else? I would like more, -cc -> Clear Cache
(In reply to Michail Vourlakos from comment #2) > is there any reason the "-r" is proposed instead of something else? > > I would like more, -cc -> Clear Cache No specific reason at all. Just when I upgrade the package I usually try "latte-dock -r" to replace the running instance with upgraded one. That's where I find out if it works or not. If it doesn't I have to clear the cache. So it would be convenient to do this in one go. However additional switch is perfectly OK with me. Would just do "latte-dock -r -cc". No problem there.
Git commit f2b2121003a30b1272d08e8244089bc3a9c1e788 by Michail Vourlakos. Committed on 11/03/2019 at 08:08. Pushed by mvourlakos into branch 'master'. add option to clear qml cachec from command line --add comments in order to distinguish parameters sections M +18 -0 app/main.cpp https://commits.kde.org/latte-dock/f2b2121003a30b1272d08e8244089bc3a9c1e788