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 161512 - Icon layout incorrect on 64 bit systems
Icon layout incorrect on 64 bit systems
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Desktop
2.8.x
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 155722 (view as bug list)
Depends on: 161520
Blocks:
 
 
Reported: 2004-12-17 02:16 UTC by Ian Wienand
Modified: 2005-02-04 10:43 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
Find the number of desktops to correctly request data on the workarea. Also be more liberal with comments. (2.90 KB, patch)
2004-12-17 02:18 UTC, Ian Wienand
none Details | Review

Description Ian Wienand 2004-12-17 02:16:28 UTC
Please describe the problem:
When getting _NET_WORKAREA information, a length value of G_LONGMAX is passed to
gdk_property_get().  Internally, gdk_property_get() increments this value,
causing it to wrap around to zero.  Thus the property call doesn't fail, but
doesn't return any useful information.

I've attached a suggested patch.

This manifests in the icon layout being slightly askew, as noted by David
Mosberger @ http://lists.debian.org/debian-ia64/2004/12/msg00034.html

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Ian Wienand 2004-12-17 02:18:03 UTC
Created attachment 34923 [details] [review]
Find the number of desktops to correctly request data on the workarea.  Also be more liberal with comments.
Comment 2 Vincent Noel 2005-01-12 21:42:18 UTC
*** Bug 155722 has been marked as a duplicate of this bug. ***
Comment 3 Sebastien Bacher 2005-02-02 17:13:09 UTC
could you send this patch the nautilus-list for review ? The nautilus
maintainers use mainly the list to review patches.
Comment 4 Sebastien Bacher 2005-02-04 10:43:16 UTC
thanks for sending that on the list, Alex has commited the fix:

2005-02-04  Alexander Larsson  <alexl@redhat.com>

        * src/file-manager/fm-desktop-icon-view.c (net_workarea_changed):
        Fix workarea detection on 64bit machines.
        Patch from Ian Wienand <ianw@gelato.unsw.edu.au>