Bug 504992 - Range selection acts unpredictably when underlying data is being re-sorted in real-time
Summary: Range selection acts unpredictably when underlying data is being re-sorted in...
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: usability
Depends on:
Blocks:
 
Reported: 2025-05-29 23:20 UTC by Alexander Potashev
Modified: 2025-05-30 18:15 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2025-05-29 23:20:24 UTC
SUMMARY
Processes tab: ~25% chance for range selection works by dragging.

STEPS TO REPRODUCE
1. Click LMB on a process in list, hold LMB
2. Drag up/down
3. 

OBSERVED RESULT
At 25% chance, a new range selection starts where under LMB click and extends to the current mouse pointe location.

At 75% chance, the process under LMB click becomes the only process selected; when dragging, selection doesn't change, only a subtle highlight follows the mouse pointer as if I was mouse-hovering without involving LMB.

EXPECTED RESULT
Consistent behavior, no randomness.

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 Nate Graham 2025-05-30 18:15:08 UTC
Can reproduce; this is because of the table sorting changing while the selection rectangle is being dragged. If you sort the table by a column whose data doesn't update rapidly (e.g. "Name") you won't see this issue. But you will see it when sorting by CPU, memory usage, or other rapidly-updating sort modes.