← 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've confirmed that this bug is due to nautilus, but haven't been
successful in fixing it (except for a workaround, described at the end
of this post). The steps to reproduce the issue are:

1) Set the wallpaper using either the system settings dialog, or gsettings from the terminal (either method will display the wallpaper correctly)
2) Shut down nautilus by typing "nautilus -q" in a terminal
3) Launch nautilus again, and the wallpaper proportions will now be incorrect (the picture will be overly magnified on the larger monitor)

In upstream, gnome shell is now responsible for rendering the background, and nautilus simply renders an invisible background over it and places the icons on top, as per these 5 commits on Feb. 20th, 2013:
https://git.gnome.org/browse/nautilus/commit/?id=f0f36c876e4810b190a82e3a953d9263c106447f
https://git.gnome.org/browse/nautilus/commit/?id=9f99ba3506d5cf1584d9afa952e11aed17deac2f
https://git.gnome.org/browse/nautilus/commit/?id=8b4a83ea80bf657cd8be754786e5f9daf7d5cc52
https://git.gnome.org/browse/nautilus/commit/?id=07d2ca86237fac8b5bddc4e619e43dfc813bc5e7
https://git.gnome.org/browse/nautilus/commit/?id=372c60d3f8590280df23f457a67652adec369697

Applying the above patches to Ubuntu's nautilus gives strange results
(severe flickering). So for now, I just made myself a simple workaround.
I wrote the bash script below and added it to my startup applications:

#!/bin/bash
gsettings set org.gnome.desktop.background picture-options "stretched"
sleep 5 # give a few seconds for the wallpaper to change
gsettings set org.gnome.desktop.background picture-options "zoom"

Basically you need to change the wallpaper mode, and then change it back
to what you had originally (in my case "zoom"), and the wallpaper will
be redrawn corretly. I hope that helps whoever else might be
experiencing this bug.

-- 
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