[haiku-bugs] [Haiku] #8778: Poor handling of very large JPEG images in Backgrounds preferences.

  • From: "jstressman" <trac@xxxxxxxxxxxx>
  • Date: Wed, 25 Jul 2012 20:04:57 -0000

#8778: Poor handling of very large JPEG images in Backgrounds preferences.
-------------------------------------+------------------------------
 Reporter:  jstressman               |        Owner:  korli
     Type:  bug                      |       Status:  new
 Priority:  normal                   |    Milestone:  R1
Component:  Preferences/Backgrounds  |      Version:  R1/Development
 Keywords:                           |   Blocked By:
 Blocking:                           |  Has a Patch:  0
 Platform:  All                      |
-------------------------------------+------------------------------
 This extends further than just Backgrounds, but I'll constrain this ticket
 to just Backgrounds handling.

 This also seems like it could be 3 different bugs... I'm not sure if they
 each need their own ticket?

 When attempting to load a very large image, in this case the full size
 JPEG image from the link at the bottom of this page:
 http://photojournal.jpl.nasa.gov/catalog/PIA15689  (not the link at the
 top, which is considerably smaller, even though it says full size at the
 top as well)

 The image is 23096 x 7981 pixels, 13.15MB

 When you select it in the Open dialog, another bug is triggered in which
 the delay in loading the preview apparently causes the dialog to think
 that the mouse is being held down the entire time, and so the context menu
 pops up when you don't want it to when the preview finally shows. This bug
 shows up on a number of my wallpapers, anything over around 4 or 5MB for
 me. Which is about 9 of the wallpapers in my wallpapers folder. Since this
 appears to be related to the time it takes to load the preview, this might
 be much more noticeable on slower systems.

 Further, the preview itself is corrupted, showing a repeat of the left
 side of the image where the right side should be. This same bug shows up
 in ShowImage as well.

 Next, if you actually select the image and choose to make it your desktop,
 it doesn't actually show up in the preview on the main Backgrounds dialog
 once selected. And when you apply it, it doesn't show up on your desktop
 either. No errors or warnings are given that I can see, it simply doesn't
 do anything.

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

Other related posts: