https://bugs.kde.org/show_bug.cgi?id=370953
Antonio Orefice <kokok...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kokok...@gmail.com --- Comment #11 from Antonio Orefice <kokok...@gmail.com> --- I used to restart plasmashell, but now i'm using the following to force an update of folderviews and taskmanager (may leave other widgets corrupted if you use them): #!/bin/bash #This is for folderview: qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript "$(cat ./folderview.re-align.js)" #This is for taskmanager: qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.toggleDashboard qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.toggleDashboard #-------------- folderview.re-align.js is the following: for (i=0;i<activityIds.length;i++) {{ desktop=desktopById(activityIds[i]) for (Wid=0;Wid<desktop.widgetIds.length;Wid++) {{ WidgetID=desktop.widgetIds[Wid] MyWidget=desktop.widgetById(WidgetID) if ( MyWidget.type == "org.kde.plasma.folder") { old=MyWidget.readConfig("alignment") if (old == 0) { MyWidget.writeConfig("alignment",1) MyWidget.reloadConfig() } else { MyWidget.writeConfig("alignment",0) MyWidget.reloadConfig() } MyWidget.writeConfig("alignment",old) MyWidget.reloadConfig() } }} }} -- You are receiving this mail because: You are watching all bug changes.