Comment 162 for bug 1335492

Revision history for this message
In , Alexxcons-x (alexxcons-x) wrote :

Created attachment 8463
patch to add symlink to the latest working config, used as fallback

(In reply to Underpass from comment #119)
> Any chance to have it solved in version 4.14?

Here we go.

One concrete problem is, that opening the setting menu of the panel will add one extra pixel to the panel(some border showing the focus). That will change the size of space available for xfdesktop.
If the desktop is saved now, it will be e.g. saved as icons.screen0-1366x701.rc

After a logout + relogin the panel will not have this extra-pixel. So xfdesktop searches for icons.screen0-1366x700.rc ... possibly does not exist --> Fallback to just place all icons in a line.

The attached patch will always create a symlink "icons.screen.last.rc" on save, pointing to the current *.rc file, whenever a new .rc file is written.

This fix cures the symptoms. IMO should be fine for 4.14 .. however later on I would start to work on the actual problem, which is, that xfdesktop does not use the whole screen, but only the workarea. (Another logical error is, that the icon size is not saved in the .rc file, together with the grid, but somewhere else, independently)