Bug 479330 - Ability to copy a process's cmdline text
Summary: Ability to copy a process's cmdline text
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 5.27.10
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-01-02 23:48 UTC by Ilya Bizyaev
Modified: 2024-04-19 06:23 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1


Attachments

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