Bug 433216 - In System Monitor, "Configure Columns" creates extra Name column filled with 0s
Summary: In System Monitor, "Configure Columns" creates extra Name column filled with 0s
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
: 433446 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-19 02:40 UTC by nyanpasu64
Modified: 2021-02-23 08:15 UTC (History)
5 users (show)

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


Attachments
Screenshot of System Monitor with a Name column filled with 0 (83.84 KB, image/png)
2021-02-19 02:40 UTC, nyanpasu64
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nyanpasu64 2021-02-19 02:40:52 UTC
Created attachment 135879 [details]
Screenshot of System Monitor with a Name column filled with 0

SUMMARY
If I open System Monitor and edit the column layout in the Applications tab, an extra Name column appears where every application is called 0.

STEPS TO REPRODUCE
1. Open System Monitor. In the left sidebar, click on the Applications tab. (Processes is unaffected.)
2. In the main pane, right-click the heading (Name, etc.) and click "Configure columns...". Alternatively click the "Configure columns..." toolbar button.
3. Optionally change settings.
4. Click OK.

OBSERVED RESULT
An extra Name column pops up with nothing but app icons and "0" text, (regardless if the real one is present or hidden). The actual application titles move to a small Name column to the right.

EXPECTED RESULT
The Name column is unaffected.

SOFTWARE/OS VERSIONS
Operating System: Garuda Linux
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.15-120-tkg-bmq
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2021-02-19 10:14:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/93
Comment 2 nyanpasu64 2021-02-22 09:12:45 UTC
Correction: in my original report, I said that "Processes is unaffected". This is not true; reconfiguring columns in the Processes tab results in two functioning Name columns with the same contents, one at the far left and one at the far right (or, if you open the dialog and drag the Name row around, the second Name column shifts as well).

The merge request to fix the bug still hasn't been merged yet... I hope it works.
Comment 3 David Redondo 2021-02-22 09:13:26 UTC
Git commit 0c683b383e969bb7e958a66f98975182f18e173e by David Redondo.
Committed on 19/02/2021 at 10:13.
Pushed by davidre into branch 'master'.

Fix duplicate name columns appearing when configuring columns

There were two issues:
1. The wrong name of the fixedColumn in the Applciation Table
2. We also need to remove the fixed columns from the display in the config dialog
FIXED-IN:5.21.1

M  +1    -1    src/faces/applicationstable/contents/ui/FullRepresentation.qml
M  +4    -1    src/table/ColumnConfigurationDialog.qml

https://invent.kde.org/plasma/plasma-systemmonitor/commit/0c683b383e969bb7e958a66f98975182f18e173e
Comment 4 David Redondo 2021-02-22 09:13:53 UTC
Git commit 3e1140460ef092c325106a57432b14bde2a054e1 by David Redondo.
Committed on 22/02/2021 at 09:13.
Pushed by davidre into branch 'Plasma/5.21'.

Fix duplicate name columns appearing when configuring columns

There were two issues:
1. The wrong name of the fixedColumn in the Applciation Table
2. We also need to remove the fixed columns from the display in the config dialog
FIXED-IN:5.21.1


(cherry picked from commit 0c683b383e969bb7e958a66f98975182f18e173e)

M  +1    -1    src/faces/applicationstable/contents/ui/FullRepresentation.qml
M  +4    -1    src/table/ColumnConfigurationDialog.qml

https://invent.kde.org/plasma/plasma-systemmonitor/commit/3e1140460ef092c325106a57432b14bde2a054e1
Comment 5 David Redondo 2021-02-23 08:15:32 UTC
*** Bug 433446 has been marked as a duplicate of this bug. ***