[haiku-depot-web] Re: Update; New Release for Icon Download Improvements

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-depot-web@xxxxxxxxxxxxx
  • Date: Tue, 10 Jan 2017 11:53:43 +0100

Hi,

Am 10.01.2017 um 11:01 schrieb Humdinger (Redacted sender humdingerb for DMARC):

On 10/01/2017, Andrew Lindesay <apl@xxxxxxxxxxxxxx> wrote:
...will support a
mechanic for the desktop client to download and cache icons more
efficiently and in a manner that will scale better.

Cool. Is this related to HaikuDepot's unresponsiveness at times. It's
not always the case, but often when I enter a search term, the
HaikuDepot window freezes, pegs one core and ... erm... does
/something/ for many seconds.

Icon-updates are done in a separate thread. This one only locks the model for a very short time each time an icon is already fully downloaded and ready to replace what was there before. And when it actually blocks on the lock, you wouldn't notice since it means the icon update is blocking, not the UI.

Searching on the other hand is done within the window thread and blocks the UI from resonding until the results are shown. That should be improved, but is a separate problem.

Best regards,
-Stephan


Other related posts: