Bug 440520 - application name in KDE System Monitor Shows incorrect application name
Summary: application name in KDE System Monitor Shows incorrect application name
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 5.22.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL: https://gitlab.gnome.org/GNOME/glib/-...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-02 12:24 UTC by Reno Sifana Paksi
Modified: 2021-08-06 17:55 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
description: the name of the application shows the name of the application that should not be. (241.11 KB, image/png)
2021-08-02 12:24 UTC, Reno Sifana Paksi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reno Sifana Paksi 2021-08-02 12:24:03 UTC
Created attachment 140464 [details]
description: the name of the application shows the name of the application that should not be.

SUMMARY
Bugs. The KDE System Monitor application on Kubuntu 21.0.4 DE KDE Plasma 5.22.4 displays only the name Thunderbird. when in fact I'm opening the Mozilla Firefox browser.

STEPS TO REPRODUCE
1. Open Thunderbird Email Client
2. Navigate and open any link you want in Mozilla Thunderbird and let the Firefox browser open the link.

OBSERVED RESULT
App name shows incorrect name

EXPECTED RESULT
you found the bug

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 21.04
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Arjen Hiemstra 2021-08-02 13:21:31 UTC
There are two possibilities here: Either Thunderbird is not launching Firefox in its own CGroup which means plasma-systemmonitor cannot know it is a separate application, or alternatively, it is creating a CGroup with the wrong name and thus we match it to Thunderbird instead of Firefox.

Please share the output of systemd-cgls to confirm which one it is.
Comment 2 Reno Sifana Paksi 2021-08-03 06:29:28 UTC
(In reply to Arjen Hiemstra from comment #1)
> There are two possibilities here: Either Thunderbird is not launching
> Firefox in its own CGroup which means plasma-systemmonitor cannot know it is
> a separate application, or alternatively, it is creating a CGroup with the
> wrong name and thus we match it to Thunderbird instead of Firefox.
> 
> Please share the output of systemd-cgls to confirm which one it is.

  │ │ ├─app-thunderbird-2a89ae54f1f2446f8b70fdbff27cccb3.scope 
│   │ │ │ ├─8854 /usr/lib/thunderbird/thunderbird
│   │ │ │ ├─9571 /usr/lib/firefox/firefox https://bugs.kde.org/show_bug.cgi>
│   │ │ │ ├─9653 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBro>
│   │ │ │ ├─9683 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBro>
│   │ │ │ ├─9747 /usr/lib/firefox/firefox -contentproc -childID 3 -isForBro>
│   │ │ │ ├─9808 /opt/freedownloadmanager/wenativehost /home/reno/.mozilla/>
│   │ │ │ └─9826 /usr/lib/firefox/firefox -contentproc -childID 4 -isForBro
Comment 3 Nate Graham 2021-08-03 19:45:24 UTC
Looks like the former. This would then be a Thunderbird bug, right?
Comment 4 David Edmundson 2021-08-05 13:56:23 UTC
Yes, though lets investigate a bit more to see what it's actually running.
Comment 5 David Edmundson 2021-08-05 15:57:30 UTC
Thunderbird is launching through g_app_info_launch_default_for_uri.

Will prepare a report there and then close this.
Comment 6 David Edmundson 2021-08-05 16:17:32 UTC
Apparently a patch exists, Fedora has been shipping it since F34

It isn't merged upstream in GIO