Bug 518073 - Changing column option or order in Process page causes columns to be duplicated or out of saved order
Summary: Changing column option or order in Process page causes columns to be duplicat...
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.6.3
Platform: CachyOS Linux
: HI normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
: 519697 520978 521090 (view as bug list)
Depends on:
Blocks:
 
Reported: 2026-03-24 07:53 UTC by Andrea
Modified: 2026-06-16 15:06 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.6.6
Sentry Crash Report:


Attachments
duplicated columns and column options (84.07 KB, image/png)
2026-03-24 07:53 UTC, Andrea
Details
system monitor config file (61 bytes, text/plain)
2026-04-13 20:25 UTC, Andrea
Details
applications.page with duplicated columns (818 bytes, text/plain)
2026-04-13 20:32 UTC, Andrea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea 2026-03-24 07:53:16 UTC
Created attachment 190952 [details]
duplicated columns and column options

SUMMARY
When customizing columns in the Process page weird stuff happens, columns sometimes get duplicated, other times the order is not respected and others get duplicated.

STEPS TO REPRODUCE
1. open system monitor
2. go to process
3. click configure columns
4. change any option value or try to reorder the columns

OBSERVED RESULT
column gets duplicated or sort order is wrong

EXPECTED RESULT
the edit should be correct

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.19.9-1-cachyos (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
None
Comment 1 TraceyC 2026-03-25 21:17:59 UTC
Thanks for the bug report. I'm not able to reproduce this on Plasma 6.6.3 or built from git-master. Can you please attach your System Monitor config file, which is here:

~/.config/systemmonitorrc

Thanks!
Comment 2 Bug Janitor Service 2026-04-09 03:47:27 UTC
๐Ÿ›๐Ÿงน โš ๏ธ 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!
Comment 3 Andrea 2026-04-13 20:25:08 UTC
Created attachment 191504 [details]
system monitor config file

Hi, here the file you requested but I think it doesn't contain anything useful.
Also I updated to version 6.6.4 and the problem still exists.
Comment 4 Andrea 2026-04-13 20:32:22 UTC
Created attachment 191505 [details]
applications.page with duplicated columns

Hi again, I found something while looking around.
The file "applications.page" in ~/.local/share/plasma-systemmonitor has the problem: every time I change the column type, the name of the column is appended to "sortedColumns"
If I remove the duplicated column and restart the application the problem is gone.
I haven't specified it before but my locale is it_IT.UTF-8, may be it's something related to it...
I have attached my applications.page file after changing memory column two times.
Comment 5 TraceyC 2026-04-15 22:41:21 UTC
Thanks for the added details, those are helpful. I see what you're talking about in ~/.local/share/plasma-systemmonitor.
The System Monitor maintainers will have to take a closer look.
Comment 6 Arjen Hiemstra 2026-06-05 11:03:58 UTC
*** Bug 520978 has been marked as a duplicate of this bug. ***
Comment 7 Arjen Hiemstra 2026-06-05 11:06:26 UTC
*** Bug 519697 has been marked as a duplicate of this bug. ***
Comment 8 TraceyC 2026-06-08 14:57:41 UTC
Setting to confirmed, since there are duplicates.
Comment 9 Arjen Hiemstra 2026-06-12 08:35:42 UTC
*** Bug 521090 has been marked as a duplicate of this bug. ***
Comment 10 Bug Janitor Service 2026-06-12 09:48:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/439
Comment 11 Arjen Hiemstra 2026-06-15 10:31:08 UTC
Git commit dd3bbce1af75003b1ec40be40597737b51e09e36 by Arjen Hiemstra.
Committed on 15/06/2026 at 09:32.
Pushed by ahiemstra into branch 'master'.

table: Explicitly remove duplicate entries from sortedColumns in ColumnSFModel

In some cases we can end up with duplicate entries in sortedColumns.
That leads to incorrect display of columns. So remove any duplicates
from the list of sorted columns as a final cleanup step.

M  +2    -0    src/table/ColumnSortFilterDisplayModel.cpp

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/dd3bbce1af75003b1ec40be40597737b51e09e36
Comment 12 Arjen Hiemstra 2026-06-16 14:37:57 UTC
Git commit 7514be989b2d3190186115b755f9862a4de91144 by Arjen Hiemstra.
Committed on 16/06/2026 at 14:30.
Pushed by ahiemstra into branch 'Plasma/6.7'.

table: Explicitly remove duplicate entries from sortedColumns in ColumnSFModel

In some cases we can end up with duplicate entries in sortedColumns.
That leads to incorrect display of columns. So remove any duplicates
from the list of sorted columns as a final cleanup step.


(cherry picked from commit dd3bbce1af75003b1ec40be40597737b51e09e36)

Co-authored-by: Arjen Hiemstra <ahiemstra@heimr.nl>

M  +2    -0    src/table/ColumnSortFilterDisplayModel.cpp

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/7514be989b2d3190186115b755f9862a4de91144
Comment 13 Arjen Hiemstra 2026-06-16 15:06:17 UTC
Git commit 9c795ef0ba171ed0e24cd3768191431d8991739a by Arjen Hiemstra.
Committed on 16/06/2026 at 14:43.
Pushed by ahiemstra into branch 'Plasma/6.6'.

table: Explicitly remove duplicate entries from sortedColumns in ColumnSFModel

In some cases we can end up with duplicate entries in sortedColumns.
That leads to incorrect display of columns. So remove any duplicates
from the list of sorted columns as a final cleanup step.


(cherry picked from commit dd3bbce1af75003b1ec40be40597737b51e09e36)

Co-authored-by: Arjen Hiemstra <ahiemstra@heimr.nl>

M  +2    -0    src/table/ColumnSortFilterDisplayModel.cpp

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/9c795ef0ba171ed0e24cd3768191431d8991739a