Bug 479330

Summary: Ability to copy a process's cmdline text
Product: [Applications] plasma-systemmonitor Reporter: Ilya Bizyaev <bizyaev>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: ahiemstra, nate, notmart, plasma-bugs
Priority: NOR Keywords: usability
Version: 5.27.10   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 6.1

Description Ilya Bizyaev 2024-01-02 23:48:28 UTC
STEPS TO REPRODUCE
1. System Monitor > Processes
2. Enable the “Command” column

OBSERVED RESULT
Truncated commands are displayed, centered horizontally within their cells for some reason. On hover, the full command is displayed in a tooltip, but there is no way to copy it.

EXPECTED RESULT
Right-clicking the process gives an option to copy its launch command.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20231226
KDE Plasma Version: 5.91.90
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Graphics Platform: Wayland

ADDITIONAL INFORMATION
This was not a problem in Plasma 5, as the process list launched with Ctrl+Esc had an incredibly comfy “Details…” action that let you view and copy (Ctrl+C) any information available about a process.
Comment 1 Bug Janitor Service 2024-04-03 01:08:08 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/278
Comment 2 Joshua Goins 2024-04-16 20:21:02 UTC
Git commit 459deb4527d58342866cdf2bf1e609bc14e1ebfc by Joshua Goins.
Committed on 16/04/2024 at 20:19.
Pushed by redstrate into branch 'master'.

Add a new menu item to copy the current column's text

It wasn't possible before to copy the column text, which is especially
useful for the PID and Command columns. This adds a new context menu
item to do this.

M  +1    -0    .kde-ci.yml
M  +11   -0    src/faces/processtable/contents/ui/FullRepresentation.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/459deb4527d58342866cdf2bf1e609bc14e1ebfc