[haiku-bugs] [Haiku] #11968: ShowImage: sometimes is slow to open the requested image.

  • From: "Janus" <trac@xxxxxxxxxxxx>
  • Date: Tue, 14 Apr 2015 10:57:19 -0000

#11968: ShowImage: sometimes is slow to open the requested image.
------------------------------------+------------------------------
Reporter: Janus | Owner: leavengood
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications/ShowImage | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
------------------------------------+------------------------------
Sometimes the preloaded images are loaded before the requested one.

How to reproduce this (In a single or dual core machine):
* put in a folder a small image and a very big one.
* open the small one.
* ShowImage took a very long time to open (time to load the big image +
the small one)

This happen when the loading thread is scheduled after the insertion of
the preloaded images in the queue

--
Ticket URL: <https://dev.haiku-os.org/ticket/11968>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: