Created attachment 154098 [details] System monitor widget config settings 1 SUMMARY System monitor widget disappears from the task bar panel after KDE logout and needs to be added to the task bar panel again to be shown properly STEPS TO REPRODUCE (correction to the steps above) 1. Place the system monitor sensor widget on the panel and configure it to use the following text-only sensors: CPU Total Load, Free Memory Percentage, Free Memory, Used swap memory, see the enclosed pics 2. Log out of KDE, then log back into KDE 3. The system monitor widget disappears from the task bar panel and needs to be added to the panel again to be shown properly. SOFTWARE/OS VERSIONS Operating System: Debian 12 Bookworm GNU/Linux KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.6 Kernel Version: 6.0.0-4-amd64 (64-bit) Graphics Platform: X11
Created attachment 154099 [details] System monitor widget config settings 2
Created attachment 154100 [details] System monitor widget popup menu when doing a RMB click
Created attachment 154101 [details] System monitor widget normal position and appearance This is how the system widget is supposed to look when it's working normally
Clarification to the "System monitor widget popup menu when doing a RMB click" image, see above: While the system monitor widget (SMW) is not shown on the panel it appears that it's still there, just invisible. Placing a mount pointer over the space where the SMW is supposed to be and doing a RMB click produces the SMW's popup menu.
Can't reproduce; I might have to ask you to get your hands a bit dirty in code to understand where this is coming from. At the path `/usr/share/plasma/plasmoids/org.kde.panel/contents/ui/` you should find the file `LayoutManager.js`. At line 86, you should see `function save() {`. May I ask you to add `console.log('--- TEST ---')` after that line, save, restart plasmashell with `plasmashell --replace &` in a console, add the widget as you were describing, and check if there's any (there should be) such debug line coming from AFTER you've added the widget and closed edit mode? If so, is there any significant error message after that? Extra points if you also add a `console.log(ids)` at the end of that `save()` function (line 96) and tell me what it outputs after you've added the widget.
.
Created attachment 154202 [details] Output after running 'plasmashell --replace &' Please see the enclosed file. I added both `console.log('--- TEST ---')` and `console.log(ids)`. This is the output after logging out of KDE, then logging back into KDE, then running 'plasmashell --replace &'. Note that after running 'plasmashell --replace &' I can't add the system monitor widget (SMW) to the Task Bar panel because when I do "a RMB click on the Task Bar panel > Enter Edit Mode > Add Widgets...", KDE doesn't show the list of widgets to choose from as it normally would, it just exists the edit mode and that's it.
Created attachment 154709 [details] Corrected Output after running 'plasmashell --replace &' Was able to get the "plasmashell --replace &" output after adding the second system monitor widget to the task bar. The previous issue with "plasmashell --replace &" testing, where KDE would exit the edit mode after clicking the "Add Widgets..." button without showing the list of widgets to choose from, was caused by my adding the "console.log(ids)" instruction at the very end of the save() function after updateMargins(). Moving it one line up resolved the issue. Operating System: Debian 12 Bookworm GNU/Linux KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.6 Kernel Version: 6.0.0-6-amd64 (64-bit) Graphics Platform: X11
Created attachment 154725 [details] Video showing the issue after logging out of KDE then logging back into KDE
Still have this bug in: Operating System: Debian 12 Bookworm GNU/Linux KDE Plasma Version: 5.26.90 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-2-amd64 (64-bit) Graphics Platform: X11 Pretty annoying having to add/remove the System monitor every time I log into KDE. See the enclosed video (the last attachment) for how the bug looks like in action. If you need more info, please advise.
The issue is still present in: Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-5-amd64 (64-bit) Graphics Platform: X11 See the video ( https://bugs.kde.org/attachment.cgi?id=154725 ) for how it works in real life.
Can you still reproduce this issue with Plasma 6.1.4 or newer? Thanks for checking!
(In reply to Nate Graham from comment #12) > Can you still reproduce this issue with Plasma 6.1.4 or newer? I will try to when I upgrade to Plasma 6.x, which probably will not happen for me for a while. The issue is still present for me in: Operating System: Debian GNU/Linux 12 Boorkworm KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-23-amd64 (64-bit) Graphics Platform: X11
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.