Bug 481189 - No option to attach to the process
Summary: No option to attach to the process
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-10 21:59 UTC by popov895
Modified: 2024-03-24 18:37 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description popov895 2024-02-10 21:59:43 UTC
SUMMARY

After the System Activity has been removed from the Plasma 6, there's no option to attach to the process.

SOFTWARE/OS VERSIONS

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
KDE Gear Version: 24.04.70
Qt Version: 6.6.1
Graphics Platform: Wayland
Comment 1 Igor Kushnir 2024-02-11 11:19:47 UTC
Do you mean that the "Run=>Attach to Process" submenu disappeared from KDevelop's main menu?
Comment 2 popov895 2024-02-11 13:52:04 UTC
(In reply to Igor Kushnir from comment #1)
> Do you mean that the "Run=>Attach to Process" submenu disappeared from
> KDevelop's main menu?

Exactly.
Comment 3 Igor Kushnir 2024-02-11 15:05:06 UTC
From https://invent.kde.org/kdevelop/kdevelop/-/blob/7e6720b74ff293ed469452384809939c3b9b48d6/CMakeLists.txt#L105-L121:
> KSysGuard PROPERTIES
>    PURPOSE "Framework for process listing. Required for the 'Attach to Process' feature"
I see that the KSysGuard application is unmaintained. But what about the library https://invent.kde.org/plasma/libksysguard. Have you tried installing a libksysguard package version 5.x?
Comment 4 popov895 2024-02-11 15:47:34 UTC
(In reply to Igor Kushnir from comment #3)
> But what about the
> library https://invent.kde.org/plasma/libksysguard. Have you tried
> installing a libksysguard package version 5.x?

Didn't help, the submenu is still not available. Perhaps KDevelop was built without libksysguard support?
Comment 5 popov895 2024-02-11 15:50:51 UTC
`ldd /usr/bin/kdevelop` doesn't show any dependency on libksysguard, so it might be a packaging issue.
Comment 6 Igor Kushnir 2024-02-11 17:21:24 UTC
> `ldd /usr/bin/kdevelop` doesn't show any dependency on libksysguard, so it might be a packaging issue.
That's the same as on my system where the Attach to Process submenu is present: no ldd dependency either.

Check your kdevelop package's dependencies. In Arch Linux, kdevelop non-optionally depends on libksysguard: https://archlinux.org/packages/extra/x86_64/kdevelop . The libksysguard dependency must not be optional, because its existence is checked at kdevelop build time.
Comment 7 popov895 2024-02-11 18:14:50 UTC
What version of KDevelop are you using? Your link points me to 23.08.4, but I'm talking about 24.01.95 (which hasn't been released yet).

> Check your kdevelop package's dependencies

Just looked at the kdevelop package dependencies and found that it still depends on the kf5-* packages. So I'm sure it's a packaging issue.
Comment 8 Igor Kushnir 2024-02-11 18:20:29 UTC
(In reply to popov895 from comment #7)
> What version of KDevelop are you using? Your link points me to 23.08.4, but
> I'm talking about 24.01.95 (which hasn't been released yet).
I am using kdevelop 5.13.231170 and regularly build and run (almost) latest KDevelop master version. The point is that any kdevelop package must non-optionally depend on libksysguard. If not, it is likely built without libksysguard installed, which disables attaching to process.
> > Check your kdevelop package's dependencies
> 
> Just looked at the kdevelop package dependencies and found that it still
> depends on the kf5-* packages. So I'm sure it's a packaging issue.
KDevelop has not been ported to KF6 yet. Maybe in a few months...
Comment 9 Bug Janitor Service 2024-02-26 03:46:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 popov895 2024-03-08 21:31:14 UTC
https://invent.kde.org/plasma/libksysguard/-/commit/4b9d502baff782426ce12ff12fb72e3094f7af1f

The UI for selecting a process to attach was completely removed from libksysguard.
Comment 11 Igor Kushnir 2024-03-09 11:00:59 UTC
(In reply to popov895 from comment #10)
> https://invent.kde.org/plasma/libksysguard/-/commit/
> 4b9d502baff782426ce12ff12fb72e3094f7af1f
> 
> The UI for selecting a process to attach was completely removed from
> libksysguard.
Right, but it is removed in libksysguard v6. KDevelop still requires libksysguard v5. https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/533 deals with the v6 API removal.
Comment 12 Bug Janitor Service 2024-03-24 03:46:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 popov895 2024-03-24 08:23:49 UTC
Still relevant.
Comment 14 Igor Kushnir 2024-03-24 18:37:42 UTC
This must be a packaging issue as I wrote earlier. Nothing to be done in KDevelop's code, other than porting to KF6 and making the packagers' task easier.