← Back to team overview

desktop-packages team mailing list archive

[Bug 1462267] Re: Desktop icon alignment `floor()`s instead of `round()`

 

Finally tracked it down myself. Here is the result:
https://git.gnome.org/browse/nautilus/commit/?id=984438f

** Changed in: nautilus (Ubuntu)
       Status: Triaged => Fix Committed

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

Title:
  Desktop icon alignment `floor()`s instead of `round()`

Status in Nautilus:
  Confirmed
Status in nautilus package in Ubuntu:
  Fix Committed

Bug description:
  When dragging to arrange icons on the desktop, there is an invisible
  grid that the icons get snapped to. The x-axis has larger distance
  between grid lines and this bug is more visible in that direction.

  Steps to reproduce:

  1. Take an icon
  2. Drag a few pixels to left
  3. Release icon

  Expected behavior:

  - You are more or less still in the same position, so the icon should
  go back to where it was before dragging

  Observed behavior:

  - The icon jumps a long way to the left

  You can recreate this with "one pixel up" as well, where the icon
  jumps up, although not as dramatically as with the x-axis. The
  behavior is the same regardless of the icon size.

  I am reporting this as a bug, because it is highly annoying to move an
  icon to more or less where you want, only to find it jumps back. I
  think the correct behavior would be for the icon to snap to the
  closest grid lines, rather than the one on its left/up.

  ---

  Note: this is not a fresh install.

  $ lsb_release -rd
  Description:	Ubuntu 14.04.2 LTS
  Release:	14.04

  
  $ apt-cache policy nautilus
  nautilus:
    Installed: 1:3.10.1-0ubuntu9.8
    Candidate: 1:3.10.1-0ubuntu9.8
    Version table:
   *** 1:3.10.1-0ubuntu9.8 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
          100 /var/lib/dpkg/status
       1:3.10.1-0ubuntu8 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

  Note sure if desktop is nautilus or unity:

  $ apt-cache policy unity
  unity:
    Installed: 7.2.5+14.04.20150521.1-0ubuntu1
    Candidate: 7.2.5+14.04.20150521.1-0ubuntu1
    Version table:
   *** 7.2.5+14.04.20150521.1-0ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
          100 /var/lib/dpkg/status
       7.2.2+14.04.20140714-0ubuntu1.1 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
       7.2.0+14.04.20140416-0ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: nautilus 1:3.10.1-0ubuntu9.8
  Uname: Linux 3.16.7-rtai+ i686
  NonfreeKernelModules: rtai_rtdm rtai_mbx rtai_fifos rtai_shm rtai_sem rtai_sched rtai_hal
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: i386
  CurrentDesktop: Unity
  Date: Fri Jun  5 10:45:02 2015
  ExecutablePath: /usr/bin/nautilus
  GsettingsChanges: b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'date_modified', 'date_accessed', 'owner', 'group', 'permissions', 'mime_type', 'where']"
  InstallationDate: Installed on 2014-07-04 (335 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)

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


References