GNOME Bugzilla – Bug 106599
Nautilus does not update desktop icon position on resolution change.
Last modified: 2008-11-15 11:50:10 UTC
Starting with XFree86 4.3.0, XRandR extension becomes mainstream. Nautilus desktop does not reorder icons on RandR request for desktop size change. Icons placed on right part of desktop are unaccessible. I have been thinking about nice icon-place-non-destuctive algorithms: 1) Store icon positions on desktop not in pixels, but in percentage (or recumpute it in such way while resizing). 2) When resizing, icons placed on right and down 20% of screen (or similar) will be moved, others untouch. You can also look at gnome-panel, how it does its things.
Another suggestion: Matrox's "PowerDesk" utility has an option to allow the user to save icon positions independantly in each resolution. Therefore, an icon arrangement that makes sense at a given resolution/orientation is used only for that resolution/orientation, and the user is free to maintain reasonable settings for each layout. Additionally, the implementation multiple-layouts might just solve http://bugzilla.gnome.org/show_bug.cgi?id=82400 at the same time.
I am facing this scenario in a slightly different way: with a dual-screen setup on my laptop, I would like to arrange some work-related icons on the secondary screen's desktop area, and other icons on the primary (laptop) screen's desktop. I would not actually mind not having the icons on the extended desktop unavailable at times. However, when I log in with just one screen, Nautilus resets the positions of the icons, so that when logging in with both screens, all the extended desktop icons are bunched together at the edge of the desktop area, having lost the positions where I would have preferred to place them.
*** Bug 114691 has been marked as a duplicate of this bug. ***
> when I log in with just one screen, Nautilus resets > the positions of the icons, so that when logging in with both screens, > all the extended desktop icons are bunched together at the edge of the > desktop area How can Nautilus know that you'll attach your second monitor in an upcoming session?
Created attachment 51608 [details] [review] Prelimitary patch, icon position dumbness The attached patch makes Nautilus handle xrandr requests by a dumb relayout. Not very smart, but a starting point.
Now I am regularly using two desktops with different resolution and shared home. There is my idea on ideal solution: After login with different desktop size: "You are using new desktop size. What do you want to do?" "Bunch offscreen icons at the edge" "Keep relations" First turns on custom icon positioning for moved icons, second sets relative positioning for all icons. In context menu of the icon, additional menu can contain: "Icon position > Absolute" (remove custom positions), "Icon position > Relative" "Icon position > Custom for screen size" (create custom record). Technically, I can imagine following solution: icon_position_relative="0.03,0.5" or icon_position="64,600" icon_position_custom="1280,1024,64,900"
should the blocked_by_freeze keyword be removed from this?
Still there with 2.21.91.
*** Bug 499580 has been marked as a duplicate of this bug. ***
Still in 2.22. These 3 bugs all seem quite tightly related, and all quite old: http://bugzilla.gnome.org/show_bug.cgi?id=47943 http://bugzilla.gnome.org/show_bug.cgi?id=82400 http://bugzilla.gnome.org/show_bug.cgi?id=106599
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 47943 ***