After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 530430 - Desktop icons should have vertical align grid and exact size
Desktop icons should have vertical align grid and exact size
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Desktop
2.22.x
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 730733 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-04-28 19:53 UTC by Jani Alanko
Modified: 2018-01-02 18:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Made the hozitonal and veritical snap size the same (546 bytes, patch)
2008-08-07 19:41 UTC, Dylan Smith
needs-work Details | Review
Patch to add gconf keys to make the snap distances configurable (15.42 KB, patch)
2009-10-25 16:42 UTC, Gerhard Bräunlich
needs-work Details | Review

Description Jani Alanko 2008-04-28 19:53:54 UTC
Desktop icons have only horizontal grid align and should probably have a vertical one too, which points to the issue that icons with stock icons and icons with thumbnail (such as pdf files) have way different sizes (I think that thumbnails should never exceed the user set icon size).

Other information:
Comment 1 Dylan Smith 2008-08-07 19:41:41 UTC
Created attachment 116088 [details] [review]
Made the hozitonal and veritical snap size the same

The vertical snap size was 20, and the horizontal snap size was 78.  Changing the vertical snap size to 78 will fix part of the problem, but as you said, the larger icons will not get aligned as well.

There is also nothing preventing icons from being placed at the same grid location.
Comment 2 Gerhard Bräunlich 2009-10-25 16:42:29 UTC
Created attachment 146216 [details] [review]
Patch to add gconf keys to make the snap distances configurable

This patch adds two new gconf keys "apps/nautilus/icon_view/snap_distance_x" and "apps/nautilus/icon_view/snap_distance_y" in to replace the local constants "SNAP_SIZE_X" and "SNAP_SIZE_Y" in libnautilus-private/nautilus-icon-container.c. The constants become local variables with a callback function to sync them against gconf. If one of the distances is altered, the icons on the desktop are realigned according to the new variables.
Comment 3 Yann 2010-03-30 03:39:14 UTC
Dear all, please see Bug 613111
Comment 4 António Fernandes 2014-05-27 22:36:44 UTC
*** Bug 730733 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2015-01-17 02:04:17 UTC
Comment on attachment 116088 [details] [review]
Made the hozitonal and veritical snap size the same

/libnautilus-private/nautilus-icon-container.c does not exist anymore in git master. Hence setting 'needs-rework' as patch does not apply cleanly.
Comment 6 André Klapper 2015-01-17 02:05:31 UTC
Comment on attachment 146216 [details] [review]
Patch to add gconf keys to make the snap distances configurable

libnautilus-private/apps_nautilus_preferences.schemas.in does not exist anymore in git master (and Nautilus has migrated away from gconf). Hence setting 'needs-rework' as patch does not apply cleanly.
Comment 7 António Fernandes 2018-01-02 18:47:23 UTC
Starting with version 3.28, nautilus will not handle the "files on desktop background" feature. For better alternatives, read this blog post https://csorianognome.wordpress.com/2017/12/21/nautilus-desktop-plans/