Package: libgnome-desktop-3-2
Version: 3.4.2-1
Severity: normal
Tags: patch
Dear Maintainer,
Unless, the desktop background image have exactly the right
dimensions, spanning the image across multiple monitors will
result in contant-color bars on the multi-monitor
background.
It seems that SPAN operates like SCALE, but it would be
better for SPAN to operate like ZOOM, so that it just works
as the user expects in most cases. An ideal solution would
be to replace the single SPAN case with SPAN-ZOOM and
SPAN-SCALE cases, so that one could use SCALE-like behavior
if one really wanted to.
The included patch changes SPAN's behavior so that it works
like ZOOM and not like SCALE.
This is essentially the same as the patch submitted in
#608411 but applies to libgnome-desktop-3-2 instead of
libgnome-desktop-2-17. A similar fix would be nice for
libgnome-desktop-3-4 (in experimental as of this writing).
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libgnome-desktop-3-2 depends on:
ii gnome-desktop3-data 3.4.2-1
ii gsettings-desktop-schemas 3.4.2-3
ii libc6 2.13-38
ii libcairo2 1.12.2-2
ii libgdk-pixbuf2.0-0 2.26.1-1
ii libglib2.0-0 2.33.12+really2.32.4-3
ii libgtk-3-0 3.4.2-4
ii libx11-6 2:1.5.0-1
ii libxext6 2:1.3.1-2
ii libxrandr2 2:1.3.2-2
Versions of packages libgnome-desktop-3-2 recommends:
ii hwdata 0.234-1
libgnome-desktop-3-2 suggests no packages.
-- no debconf information
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
Description: Make wallpaper span work like zoom and not like scale.
The stock source makes the span setting for the desktop wallpaper work like
scale. This patch makes span work instead like zoom.
.
gnome-desktop3 (3.4.2-1local2) UNRELEASED; urgency=low
.
* span zoom
Author: Thomas E. Vaughan <[email protected]>
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>
--- gnome-desktop3-3.4.2.orig/libgnome-desktop/gnome-bg.c
+++ gnome-desktop3-3.4.2/libgnome-desktop/gnome-bg.c
@@ -840,7 +840,7 @@ get_scaled_pixbuf (GDesktopBackgroundSty
switch (placement) {
case G_DESKTOP_BACKGROUND_STYLE_SPANNED:
- new = pixbuf_scale_to_fit (pixbuf, width, height);
+ new = pixbuf_scale_to_min (pixbuf, width, height);
break;
case G_DESKTOP_BACKGROUND_STYLE_ZOOM:
new = pixbuf_scale_to_min (pixbuf, width, height);