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.
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?
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).
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.
commit ce5d5e7674a607e134527e5a77878d1f75ae4c52 Author: Richard Hughes <richard@hughsie.com> 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
commit bbc55c679d03b4e6caa6a9d6014ccbb67ae8c535 Author: Richard Hughes <richard@hughsie.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
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.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.