|Summary:||Refreshing of repo data after every repo change - is annoying|
|Product:||PackageKit||Reporter:||Dan Robinson <dlrobin874>|
|Component:||General||Assignee:||Richard Hughes <richard>|
|Status:||RESOLVED NOTABUG||QA Contact:|
|i915 platform:||i915 features:|
Description Dan Robinson 2008-11-27 08:19:17 UTC
Running Fedora 10 (Yum backend) I'm using PackageKit to enable/disable repositories from the GUI. After each change, it begins downloading updated repository data. Usually, I am making several changes at once, so I find myself cancelling the upgrade 2-3 times before I finish and let it run. I agree that automatically updating with the new repositories is a good behavior, but it gets very annoying if multiple changes are being made at once. My ideal behavior would be for it to automatically update repository information when the user closes the window, not after each change.
Comment 1 Richard Hughes 2008-11-27 10:41:05 UTC
Well, I guess we can just make it schedule a change, rather that do it straight away. Do you want to write a patch or do you want me to have a look?
Comment 2 Dan Robinson 2008-11-27 10:45:40 UTC
I don't really have enough experience with GTK to try to put together a patch, and yes, it doesn't have to be done any time soon. I also realized that it will have to reload if another action is taken while the dialog is still up (since the dialog isn't modal).
Comment 3 Richard Hughes 2008-11-27 10:48:00 UTC
Yes, we have to be careful of two things modifying state at the same time (which is allowed in the spec) but we can certainly make the interaction feel better.
Comment 4 Richard Hughes 2008-11-28 04:54:41 UTC
commit ce5d5e7674a607e134527e5a77878d1f75ae4c52 Author: Richard Hughes <firstname.lastname@example.org> Date: Fri Nov 28 12:53:39 2008 +0000 bugfix: don't clear the list in gpk-repo when the list is refreshed, just update it in place. use the same approach in gpk-log. fixed first part of fd#18733 :100644 100644 5c380fb... 7086f19... M src/gpk-log.c :100644 100644 ce80a7d... 6fb572e... M src/gpk-repo.c
Comment 5 Richard Hughes 2008-11-28 05:02:21 UTC
commit bbc55c679d03b4e6caa6a9d6014ccbb67ae8c535 Author: Richard Hughes <email@example.com> Date: Fri Nov 28 13:01:29 2008 +0000 trivial: set the repo treeview insensitive when processing an action so the UI can't get confused
Comment 6 Richard Hughes 2018-08-21 15:52:49 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.