← Back to team overview

desktop-packages team mailing list archive

[Bug 1168705] Re: Multiple monitors with different orientation leads to stretched wallpaper when waking up.

 

I did some preliminary examination of the nautilus source code from the
Trusty repo. There is a helper object which is used to change the
desktop background, in libnautilus-private/nautilus-desktop-backround.c
(this file was actually removed in upstream:
https://git.gnome.org/browse/nautilus/commit/?id=372c60d3f8590280df23f457a67652adec369697)

The actual scaling and drawing of the desktop background is done in
gnome-bg.c in the libgnome-desktop package. If/when I get the chance,
I'll try to play around with it and see if I figure it out.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1168705

Title:
  Multiple monitors with different orientation leads to stretched
  wallpaper when waking up.

Status in nautilus package in Ubuntu:
  Confirmed

Bug description:
  I have three monitors all hooked up to a Radeon 6950, using fglrx.
  One of the monitors is in portrait orientation and is a 1680x1050
  monitor while the two monitors in landscape are 1920x1200 monitors.

  When I first select a wallpaper (say a wallpaper that is 1920x1200),
  it does the Right Thing.  That is, the two landscape monitors show the
  wallpaper as you'd expect to see a 1920x1200 image on a 1920x1200
  image display.  The portrait monitor shows a slightly scaled portrait
  aspect rectangle out of the center of that wallpaper.

  When I leave my computer for some amount of time the wallpaper on the
  two landscape monitors is zoomed by what I assume to be the same
  percentage as the wallpaper on the portrait monitor.

  I say "for some amount of time" because if I set "Turn screen off when
  inactive for:" to 1 minute and "Lock screen after:" to 1 minute and
  then wake them up and unlock after a few minutes the problem hasn't
  manifested itself, but _every_ time I'm away from the computer for
  longer periods of time the issue has manifested.

  To fix, I merely change the wallpaper to another wallpaper and then
  back again.  At this point the wallpaper displays correctly.

  See the attached image for screenshots of the issue.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: nautilus 1:3.5.90.really.3.4.2-0ubuntu4.2
  ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7
  Uname: Linux 3.5.0-27-generic x86_64
  NonfreeKernelModules: fglrx zfs zcommon znvpair zavl zunicode
  ApportVersion: 2.6.1-0ubuntu10
  Architecture: amd64
  Date: Sat Apr 13 10:42:19 2013
  ExecutablePath: /usr/bin/nautilus
  GsettingsChanges: b'org.gnome.nautilus.window-state' b'geometry' b"'1253x986+1673+326'"
  InstallationDate: Installed on 2012-10-19 (175 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  ProcEnviron:
   PATH=(custom, user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1168705/+subscriptions