Hi,

I've looked in to this a bit, and I can say that this is a difference in
the interpretation of the "picture_options" for the background. I have
"zoom" set, and this covers the screen with the normal GNOME
components, but not with netbook-launcher.

<dobey> james_w: zoom is scale up and crop such that the smaller of w/h is the 
ratio used
<james_w> so it scales keeping the aspect ratio, and then crops the left over 
bit off?
<james_w> whereas "stretched" would not respect the aspect ratio?
<james_w> so what does that make "scaled"?
<dobey> yes
<dobey> scaled scales but doesn't exceed the size of the screen
<dobey> the extra area is filled with the color settings

so netbook-launcher appears to be doing "scaled" for "zoom". The
code is

  else if (strcmp (priv->option, "scaled") == 0)                              
  {                                                                           
    load_scaled (priv->filename, priv->texture);                              
  }                                                                           
  else if (strcmp (priv->option, "zoom") == 0)                                
  {                                                                           
    load_scaled (priv->filename, priv->texture);                              
  }    

which seems to confirm that.

libgnome-desktop/gnome-bg.c is where it is implemented. It has
get_scaled_pixbuf which may be useful.

Thanks,

James


Thanks,

James


** Changed in: netbook-launcher (Ubuntu)
   Importance: Undecided => Low
       Status: New => Triaged

-- 
Shrinks desktop background
https://bugs.launchpad.net/bugs/283374
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to