Bug 506654 - "Terminate Processes" dialog loses all but one process on drag&drop in confirmation dialog
Summary: "Terminate Processes" dialog loses all but one process on drag&drop in confir...
Status: CONFIRMED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.3.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-05 21:49 UTC by Alexander Potashev
Modified: 2025-08-27 18:51 UTC (History)
4 users (show)

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


Attachments
screencast ru_RU (267.04 KB, video/x-matroska)
2025-07-05 21:49 UTC, Alexander Potashev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2025-07-05 21:49:37 UTC
Created attachment 182989 [details]
screencast ru_RU

SUMMARY
"Terminate Processes" dialog loses 2/3 processes on drag&drop.

STEPS TO REPRODUCE
1. Select multiple processes.
2. Click Terminate Process.
3. Within the confirmation dialog, click on a process in the list.
4. Move mouse pointer while holding LMB.
5. Release LMB.

OBSERVED RESULT
The confirmation dialog changes from "Terminate 3 processes" to "Terminate process" and the list is reduced accordingly.

EXPECTED RESULT
No action.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.2
Kernel Version: 6.13.11-200.fc41.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.4 ГиБ of RAM
Graphics Processor 1: Intel® HD Graphics 530
Graphics Processor 2: NVIDIA GeForce GTX 960M

ADDITIONAL INFORMATION
Comment 1 TraceyC 2025-07-10 20:21:55 UTC
I confirm this behavior on git-master
The confirmation dialog is acting like it's selecting the one process you clicked on in the confirmation, which seems wrong
Perhaps the click is being sent to the underlying window?
Clicking in the text of the dialog shouldn't select / deselect anything
Comment 2 Nate Graham 2025-08-26 19:42:07 UTC
Whoooaooh that is weird. I'll see if I can fix it.
Comment 3 Nate Graham 2025-08-27 18:05:32 UTC
I can reproduce the issue if I port it to a standard QQC2 dialog too, so it's not a problem specifically in Kirigami.Dialog. The bug is either in the implementation in System Monitor, or the upstream component itself.
Comment 4 Nate Graham 2025-08-27 18:48:26 UTC
I've investigated this and come to the conclusion that the culprit lies somewhere in System Monitor code. I can't reproduce the issue with the same code lifted outside of System Monitor and run in qmlscene, or with System Monitor using a completely naked upstream QtQuick dialog. There has to be some kind of click handling code that's interfering here.
Comment 5 Nate Graham 2025-08-27 18:51:35 UTC
Not sure I can figure this one out. Giving up for now.