From 5ad016088273f9d22b24035f0019110df945c4bf Mon Sep 17 00:00:00 2001 From: Andrew Lindesay Date: Thu, 16 Apr 2020 22:29:32 +1200 Subject: [PATCH] HaikuDepot: Disable System Pkg Updates HaikuDepot reacts to changes in packages installed in the running system, but is currently reloading everything which is too slow with the quantity of data involved. Short term; disable this function in this commit so the application can be used and then come back to it later with a better solution. Relates to #15879 Change-Id: I96a17c01e8b1ae1443fb6242a5b53a22b1e44416 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2483 Reviewed-by: Adrien Destugues --- src/apps/haikudepot/ui/MainWindow.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/apps/haikudepot/ui/MainWindow.cpp b/src/apps/haikudepot/ui/MainWindow.cpp index fe8850234d..8860e66bb3 100644 --- a/src/apps/haikudepot/ui/MainWindow.cpp +++ b/src/apps/haikudepot/ui/MainWindow.cpp @@ -319,9 +319,12 @@ MainWindow::MessageReceived(BMessage* message) break; case B_PACKAGE_UPDATE: - // TODO: We should do a more selective update depending on the - // "event", "location", and "change count" fields! - _StartBulkLoad(false); + // TODO: see ticket #15879 + // work needs to be done here to selectively update package data in + // the running HaikuDepot application when there are changes on the + // system. There is now too much data to just load everything when + // there is a change. + //_StartBulkLoad(false); break; case MSG_REFRESH_REPOS: