Bug 397759

Summary: Discover Update doesn't ask for passwords.
Product: [Applications] Discover Reporter: lnxusr
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: major CC: adkail, andrewdbanks, bionicdna, d.thompson, erichabelle8, gt, nate, raymond_m, wadefogarty
Priority: NOR    
Version: 5.12.6   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.12.7

Description lnxusr 2018-08-22 20:05:29 UTC
Kubuntu 18.04
Plasma 5.12.6
Frameworks 5.44.0
QT 5.9.5
Kernel 4.15.0-32-generic 64-bit

Often, when trying to update a package, Discover-Update will hang after clicking the Update button.  It password dialog never appears, and the window can't be closed due to "pending operations" or some such, and has to be killed.

I don't know if the underlying problem is with Discover or Packagekit, but Discover should timeout if it doesn't get a response from Packagekit within a reasonable time.  It times out if I wait too long to enter the password when the dialog does appear, so should time out if the dialog doesn't appear.
Comment 1 Aleix Pol 2018-08-29 16:19:53 UTC
Git commit 31ea5cc11526d454e880337cc904ad6361d7eac4 by Aleix Pol.
Committed on 29/08/2018 at 16:11.
Pushed by apol into branch 'Plasma/5.12'.

Don't try to trigger an empty transaction

M  +3    -0    libdiscover/resources/ResourcesUpdatesModel.cpp

https://commits.kde.org/discover/31ea5cc11526d454e880337cc904ad6361d7eac4
Comment 2 Nate Graham 2018-08-30 16:38:25 UTC
*** Bug 398060 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2018-09-04 18:56:50 UTC
*** Bug 398083 has been marked as a duplicate of this bug. ***
Comment 4 Wade Fogarty 2018-09-05 12:21:01 UTC
*** Bug 396261 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2018-09-14 16:24:35 UTC
*** Bug 398347 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2018-09-17 04:43:57 UTC
*** Bug 398507 has been marked as a duplicate of this bug. ***
Comment 7 Aleix Pol 2018-09-21 14:33:58 UTC
*** Bug 396986 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2018-09-24 14:40:08 UTC
*** Bug 398932 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2018-09-24 15:07:18 UTC
*** Bug 398995 has been marked as a duplicate of this bug. ***