Bug 442546

Summary: Regression: KSysGuard application icon and window title missing
Product: [Applications] ksysguard Reporter: Luke Horwell <code>
Component: libksysguardAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: 80p3fy75dc, plasma-bugs
Priority: NOR Keywords: regression
Version: 5.22.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of KSysGuard on 5.21.5 (left) and 5.22.5 (right, bug)
Reverts commit 0c76e685e022e8a9648805f8ddc5a2857c9e37bb

Description Luke Horwell 2021-09-16 17:48:51 UTC
Created attachment 141606 [details]
Screenshot of KSysGuard on 5.21.5 (left) and 5.22.5 (right, bug)

Since the release of KDE 5.22.0, the processes listed in KSysGuard are missing both the window icon and window title. This issue is not present in KDE 5.21.5.

This bug happens in both the stand alone KSysGuard application and System Activity (CTRL+ESC) pop up.


STEPS TO REPRODUCE
1. Open KSysGuard
2. Open "Process Table" tab
3. Observe running windowed applications, such as Dolphin, Konsole.


OBSERVED RESULT
- There is no window icon in the "Name" column.
- There is no text in the "Window Title" column.


EXPECTED RESULT
- The window icon and title is displayed.


SOFTWARE/OS VERSIONS
Linux Distribution: Arch Linux
KDE Plasma Version: 5.22.5, 5.22.90
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2


ADDITIONAL INFORMATION
The alternate, newer "System Monitor" application isn't affected. Not sure if they share the same underlying library?
Comment 1 80p3fy75dc 2021-09-28 13:25:24 UTC
Same here on Arch Linux and Gentoo, same Plasma and KDE Frameworks versions.
Comment 2 Luke Horwell 2021-11-14 20:07:39 UTC
I did a git bisect and found the problem started at this commit on the libksysguard repository: 0c76e685e022e8a9648805f8ddc5a2857c9e37bb

https://invent.kde.org/plasma/libksysguard/-/commit/0c76e685e022e8a9648805f8ddc5a2857c9e37bb

I was able to get it working by reverting that commit (despite fixing something deprecated), resolving the conflict and rebuilding my package locally (in the case of Arch, the PKGBUILD file). Attached is a copy of the diff.
Comment 3 Luke Horwell 2021-11-14 20:08:12 UTC
Created attachment 143553 [details]
Reverts commit 0c76e685e022e8a9648805f8ddc5a2857c9e37bb