Unity should take display scaling into account to avoid placement of desktop icons under launcher

Bug #1564375 reported by Harm van Bakel
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Fix Released
Medium
Andrea Azzarone
Xenial
Fix Released
Medium
Unassigned

Bug Description

[Impact]
On hidpi displays newly created desktop icons are positioned under the launcher (see attachment). Unity should take the monitor scaling into account when determining the offset for the desktop area.

[Test case]
1. From the control center (display panel) set the scale to 2.0
2. Show the desktop (minimizing all the windows or using "Show Desktop")
3. Add some icon to desktop and make sure "Keep Aligned" is enabled
4. Make sure the icons and the launcher do not overlap as shown in https://launchpadlibrarian.net/250528741/desktop-icon-screenshot.png

[Possible Regressions]
Nothing known but please make sure that the icons are properly aligned using scaling 1.0 too.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unity 7.4.0+16.04.20160322-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6
Uname: Linux 4.4.0-16-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.20-0ubuntu3
Architecture: amd64
BootLog: /dev/sda2: clean, 383376/29974528 files, 35865367/119897344 blocks
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Thu Mar 31 07:41:26 2016
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 5.0.16, 4.4.0-15-generic, x86_64: installed
 virtualbox, 5.0.16, 4.4.0-16-generic, x86_64: installed
EcryptfsInUse: Yes
GraphicsCard:
 Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Dell Broadwell-U Integrated Graphics [1028:0665]
InstallationDate: Installed on 2016-03-25 (5 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
MachineType: Dell Inc. XPS 13 9343
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-16-generic.efi.signed root=UUID=c9dc2324-2cfd-4a9d-abc5-d674ee775792 ro quiet splash vt.handoff=7
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/11/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: 0310JH
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA07:bd11/11/2015:svnDellInc.:pnXPS139343:pvr:rvnDellInc.:rn0310JH:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: XPS 13 9343
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.12.2+16.04.20160318-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.1.2-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.1.2-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.1-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.6.1-1ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160218-1ubuntu3
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Thu Mar 31 07:24:42 2016
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 5153
 vendor SHP
xserver.version: 2:1.18.1-1ubuntu4

Related branches

Revision history for this message
Harm van Bakel (hvbakel) wrote :
Revision history for this message
Andrea Azzarone (azzar1) wrote :

This is actually something that should be fixed in nautilus.

no longer affects: unity (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

I think that been able to put files in the desktop isn't useful at all.

Changed in nautilus (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Andrea Azzarone (azzar1) wrote : Automatically added comment
Changed in nautilus (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Andrea Azzarone (azzar1)
tags: added: desktop-trello-import
tags: removed: desktop-trello-import
Andrea Azzarone (azzar1)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Harm, or anyone else affected,

Accepted nautilus into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nautilus/1:3.18.4.is.3.14.3-0ubuntu5 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in nautilus (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
Mathew Hodson (mhodson)
Changed in nautilus (Ubuntu Xenial):
importance: Undecided → Medium
Revision history for this message
Harm van Bakel (hvbakel) wrote :

Great, I can confirm that after installing nautilus 1:3.18.4.is.3.14.3-0ubuntu5, new desktop icons are no longer placed under the launcher when using hidpi screens.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus - 1:3.20.1-0ubuntu1

---------------
nautilus (1:3.20.1-0ubuntu1) yakkety; urgency=medium

  [ Andrea Azzarone ]
  * debian/patches/0001-desktop-canvas-view-scale-desktop-workarea.patch:
    Scale down workarea geometries to application pixels, so that icons are
    positioned correctly on hidpi setups. (LP: #1564375)

  [ Marco Trevisan (Treviño) ]
  * debian/patches/ubuntu_revert_no_wallpaper.patch:
    - Ensure nautilus-window is always using a RGBA visual

  [ Jeremy Bicha ]
  * 0003-Fix-white-desktop.patch:
    - Fix desktop wallpaper not showing (LP: #1586655)

  [ Iain Lane ]
  * Port and re-enable the remaining patches.
  * Merge with the archive branch.
  * Upload to Ubuntu - thanks to Ubuntu GNOME folks for the initial work.

  [ Michael Biebl ]
  * d/p/0001-mime-actions-use-format-argument.patch: Fix format string handling
    in show_unhandled_type_error(), patch taken from bgo#765918.

  [ Rico Tzschichholz ]
  * New upstream release
  * Bump build-deps as per configure.ac
  * Refresh patches as required
  * Update and enable 12_unity_launcher_support.patch

  [ Tim Lunn ]
  * New upstream release
  * Bump build-deps as per configure.ac
  * Refresh patches as required
  * nautilus-data.install: Don't install gconf conversion metadata
    upstream have dropped this, since it was for gnome 2 to 3 migration

 -- Iain Lane <email address hidden> Tue, 02 Aug 2016 11:43:43 +0100

Changed in nautilus (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus - 1:3.18.4.is.3.14.3-0ubuntu5

---------------
nautilus (1:3.18.4.is.3.14.3-0ubuntu5) xenial; urgency=medium

  [ Andrea Azzarone ]
  * debian/patches/0001-desktop-canvas-view-scale-desktop-workarea.patch:
    Scale down workarea geometries to application pixels, so that icons are
    positioned correctly on hidpi setups. (LP: #1564375)

  [ Iain Lane ]
  * debian/control{,.in}: Update Vcs-Bzr for stable branch.

 -- Iain Lane <email address hidden> Tue, 02 Aug 2016 11:24:23 +0100

Changed in nautilus (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for nautilus has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.