Bug 498672 - Kill dialog content is wrong, shows 0 processes
Summary: Kill dialog content is wrong, shows 0 processes
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 6.2.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-14 22:04 UTC by András Manţia
Modified: 2025-01-22 19:37 UTC (History)
3 users (show)

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


Attachments
Screenshot of the dialog (60.64 KB, image/png)
2025-01-14 22:04 UTC, András Manţia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description András Manţia 2025-01-14 22:04:27 UTC
Created attachment 177360 [details]
Screenshot of the dialog

In System Monitor right click on an item and select Send Signal-> Kill (or also Terminate). The popping up dialog has a Forcibly End Processes or End Processes button that goes outside of the "dialog" boundary. Well, it is not even a proper dialog box (yes, I know it is probably QML) :(

If you do the same with right clicking to an empty area it will show "Forcibly end 0 processes" , which makes no sense.
Comment 1 András Manţia 2025-01-14 22:05:27 UTC
Comment on attachment 177360 [details]
Screenshot of the dialog

Qt 6.8.1, on opensuse leap 15.6, X11.,
Comment 2 Nate Graham 2025-01-14 22:17:03 UTC

*** This bug has been marked as a duplicate of bug 497795 ***
Comment 3 András Manţia 2025-01-15 08:24:42 UTC
The duplicate doesn't handle the content problem.
Comment 4 Nate Graham 2025-01-15 18:26:18 UTC
This is why you need to report different issues in different bug reports! :) Please open a new one for the "Forcibly end 0 processes" issue.

*** This bug has been marked as a duplicate of bug 497795 ***
Comment 5 András Manţia 2025-01-15 18:56:13 UTC
Really? Sorry. You could have just NOT close this and add a remark that the layout part is a duplicate.
Comment 6 Nate Graham 2025-01-15 18:57:09 UTC
That's true. However now that it's done, can you open a new bug report anyway? Should take about 30 seconds.
Comment 7 András Manţia 2025-01-16 08:37:08 UTC
The bug remaining is that it shows 0 processes when you bring up the dialog by right clicking on an empty area.
Comment 8 Bug Janitor Service 2025-01-16 21:10:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/336
Comment 9 Nate Graham 2025-01-22 19:07:09 UTC
Git commit 37b0732a5f58fb09a32cb62d2ce93ef4159b08c8 by Nate Graham.
Committed on 21/01/2025 at 16:26.
Pushed by ngraham into branch 'master'.

Don't show context menu in table view when right-clicking on nothing

Otherwise it shows a menu with items that don't work, and that's awkward.
FIXED-IN: 6.3.0

M  +6    -0    src/table/BaseTableView.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/37b0732a5f58fb09a32cb62d2ce93ef4159b08c8
Comment 10 Nate Graham 2025-01-22 19:37:46 UTC
Git commit 678d56900793bebc097f269f7669faa281103f16 by Nate Graham.
Committed on 22/01/2025 at 19:37.
Pushed by ngraham into branch 'Plasma/6.3'.

Don't show context menu in table view when right-clicking on nothing

Otherwise it shows a menu with items that don't work, and that's awkward.
FIXED-IN: 6.3.0


(cherry picked from commit 37b0732a5f58fb09a32cb62d2ce93ef4159b08c8)

Co-authored-by: Nate Graham <nate@kde.org>

M  +6    -0    src/table/BaseTableView.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/678d56900793bebc097f269f7669faa281103f16