Bug 442546 - Regression: KSysGuard application icon and window title missing
Summary: Regression: KSysGuard application icon and window title missing
Status: RESOLVED FIXED
Alias: None
Product: ksysguard
Classification: Applications
Component: libksysguard (show other bugs)
Version: 5.22.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-09-16 17:48 UTC by Luke Horwell
Modified: 2022-02-04 16:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of KSysGuard on 5.21.5 (left) and 5.22.5 (right, bug) (115.55 KB, image/jpeg)
2021-09-16 17:48 UTC, Luke Horwell
Details
Reverts commit 0c76e685e022e8a9648805f8ddc5a2857c9e37bb (5.01 KB, patch)
2021-11-14 20:08 UTC, Luke Horwell
Details

Note You need to log in before you can comment on or make changes to this bug.
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