Summary: | [ProcessesView] Clicking on the already-selected item deselects it but the selection highlight doesn't go away | ||
---|---|---|---|
Product: | [Applications] plasma-systemmonitor | Reporter: | popov895 <popov895> |
Component: | general | Assignee: | KSysGuard Developers <ksysguard-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahiemstra, kdedev, nate, plasma-bugs, popov895 |
Priority: | NOR | ||
Version: | 6.1.5 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/13911268973ddde2304229a6565ce8429ff48ccd | Version Fixed In: | 6.2.4 |
Sentry Crash Report: |
Description
popov895
2024-10-07 20:27:48 UTC
*** Bug 494257 has been marked as a duplicate of this bug. *** Can reproduce. Seems like the item actually gets deselected, but the selection highlight doesn't show it. So the behavior is correct (or at least, as intended) but the UI isn't accurate. (in BaseCellDelegate.qml) A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/315 Git commit b0c9c7b7a8c9becbc427ac4756016446f7ed6c88 by Akseli Lahtinen. Committed on 22/11/2024 at 10:01. Pushed by akselmo into branch 'master'. BaseCellDelegate: Use correct colorSet when selected When item is set selected, it will change its colorSet to Selection as well, but it will not change back to normal on deselect. See https://invent.kde.org/frameworks/qqc2-desktop-style/-/blob/master/org.kde.desktop/TreeViewDelegate.qml?ref_type=heads#L41 This makes sure we use the correct colorset here. M +1 -1 src/table/BaseCellDelegate.qml https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/b0c9c7b7a8c9becbc427ac4756016446f7ed6c88 Git commit 13911268973ddde2304229a6565ce8429ff48ccd by Akseli Lahtinen. Committed on 22/11/2024 at 10:06. Pushed by akselmo into branch 'Plasma/6.2'. BaseCellDelegate: Use correct colorSet when selected When item is set selected, it will change its colorSet to Selection as well, but it will not change back to normal on deselect. See https://invent.kde.org/frameworks/qqc2-desktop-style/-/blob/master/org.kde.desktop/TreeViewDelegate.qml?ref_type=heads#L41 This makes sure we use the correct colorset here. (cherry picked from commit b0c9c7b7a8c9becbc427ac4756016446f7ed6c88) a1441383 BaseCellDelegate: Use correct colorSet when selected Co-authored-by: Akseli Lahtinen <akselmo@akselmo.dev> M +1 -1 src/table/BaseCellDelegate.qml https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/13911268973ddde2304229a6565ce8429ff48ccd |