Bug 502040

Summary: While updating, two identical transactions are shown on Tasks View
Product: [Applications] Discover Reporter: Nate Graham <nate>
Component: KDE Linux backendAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: aleixpol, kde, sitter
Priority: NOR    
Version First Reported In: 6.4.80   
Target Milestone: ---   
Platform: KDE Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.5.0
Sentry Crash Report:
Attachments: Two transactions

Description Nate Graham 2025-03-26 19:29:59 UTC
Created attachment 179760 [details]
Two transactions

See attached screenshot.
Comment 1 Bug Janitor Service 2025-09-10 16:09:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1150
Comment 2 Aleix Pol 2025-09-18 16:11:04 UTC
Git commit 9df05ef0883834315152260fabad4194abd30779 by Aleix Pol.
Committed on 18/09/2025 at 15:54.
Pushed by apol into branch 'master'.

ProgressView: Hide transactions.visible==false

Do so by adding a TransactionModel::VisibleRole and using
KSortFilterProxyModel to filter them out.

M  +9    -1    discover/qml/ProgressView.qml
M  +3    -0    libdiscover/Transaction/TransactionModel.cpp
M  +2    -0    libdiscover/Transaction/TransactionModel.h

https://invent.kde.org/plasma/discover/-/commit/9df05ef0883834315152260fabad4194abd30779
Comment 3 Aleix Pol 2025-09-18 16:11:12 UTC
Git commit 87c4933a8b3a72399a1126f1572c93cb7d0d530e by Aleix Pol.
Committed on 18/09/2025 at 15:55.
Pushed by apol into branch 'master'.

Hide grouped transaction in transactions popup

Part of kde-linux/kde-linux#147

It's unneeded, and becomes confusing when there's only one other
transaction.
FIXED-IN: 6.5.0

M  +1    -0    libdiscover/resources/ResourcesUpdatesModel.cpp
M  +0    -1    libdiscover/resources/StandardBackendUpdater.cpp

https://invent.kde.org/plasma/discover/-/commit/87c4933a8b3a72399a1126f1572c93cb7d0d530e
Comment 4 Aleix Pol 2025-09-18 16:11:24 UTC
Git commit 7a077aa916654508dba5d9e845362d0a43f7d4aa by Aleix Pol Gonzalez.
Committed on 18/09/2025 at 16:11.
Pushed by apol into branch 'Plasma/6.5'.

Hide grouped transaction in transactions popup

Part of kde-linux/kde-linux#147

It's unneeded, and becomes confusing when there's only one other
transaction.
FIXED-IN: 6.5.0


(cherry picked from commit 87c4933a8b3a72399a1126f1572c93cb7d0d530e)

Co-authored-by: Aleix Pol <aleixpol@kde.org>

M  +1    -0    libdiscover/resources/ResourcesUpdatesModel.cpp
M  +0    -1    libdiscover/resources/StandardBackendUpdater.cpp

https://invent.kde.org/plasma/discover/-/commit/7a077aa916654508dba5d9e845362d0a43f7d4aa