https://bugs.kde.org/show_bug.cgi?id=410228
Bug ID: 410228 Summary: kicker doesn't respect setting favorites from javascript Product: plasmashell Version: 5.14.5 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Application Menu (Kicker) Assignee: h...@kde.org Reporter: mag...@novell.stoldgods.nu CC: plasma-b...@kde.org Target Milestone: 1.0 SUMMARY Using javascript in qdbus console to change favorites doesn't work and neither does changing the configuration file, see bug #410222 with a patch to make kicker read favorites from the configuration file, making it impossible to change the favorites. STEPS TO REPRODUCE 1. qdbus org.kde.plasmashell /PlasmaShell loadScriptInInteractiveConsole script.js 2. Run following script: loop1: for (var i in panels()) { loop2: for (var j in panels()[i].widgetIds) { if (panels()[i].widgetById(panels()[i].widgetIds[j]).type == "org.kde.plasma.kicker") { var kicker = panels()[i].widgetById(panels()[i].widgetIds[j]); kicker.favoriteApps = "konsole.desktop"; break loop1; } } } OBSERVED RESULT Nothing happens EXPECTED RESULT Favorites should now only include konsole.desktop SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian 10 (available in About System) KDE Plasma Version: 5.14.5 KDE Frameworks Version: 18.04 Qt Version: 5.11.3 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.