hello i was using plasma shell interactive console with this code on plasma 5.7.5 (qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell. showInteractiveConsole
) and plasma just crashes can you reproduce this ? i will paste down here the code : > var panel = new Panel > var panelScreen = panel.screen > var freeEdges = {"bottom": true, "top": true, "left": true, "right": true} > > for (i = 0; i < panelIds.length; ++i) { > var tmpPanel = panelById(panelIds[i]) > if (tmpPanel.screen == panelScreen) { > // Ignore the new panel > if (tmpPanel.id != panel.id) { > freeEdges[tmpPanel.location] = false; > } > } > } > > if (freeEdges["bottom"] == true) { > panel.location = "bottom"; > } else if (freeEdges["top"] == true) { > panel.location = "top"; > } else if (freeEdges["left"] == true) { > panel.location = "left"; > } else if (freeEdges["right"] == true) { > panel.location = "right"; > } else { > // There is no free edge, so leave the default value > panel.location = "top"; > } > > panel.height = gridUnit * 2 > > var volume = panel.addWidget("org.kde.plasma.volume")