Xfce4 mess up with icon positions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xfce4 Desktop |
Fix Released
|
Low
|
|||
xfdesktop4 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Everytime when screen resolution changes, or occasionally when rebooted, icons are automatically rearranged.
This is very annoying for people who have a lot of icons on desktop, or for who wants to keep icons in order.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: xfdesktop4 4.10.2-0ubuntu1
ProcVersionSign
Uname: Linux 3.8.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Fri Jun 14 15:30:13 2013
InstallationDate: Installed on 2010-12-17 (909 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MarkForUpload: True
SourcePackage: xfdesktop4
UpgradeStatus: Upgraded to raring on 2013-05-06 (38 days ago)
Jussi (jussi-lahtinen-gmail) wrote : | #1 |
- Dependencies.txt Edit (6.1 KiB, text/plain; charset="utf-8")
- ProcEnviron.txt Edit (313 bytes, text/plain; charset="utf-8")
Launchpad Janitor (janitor) wrote : | #2 |
Changed in xfdesktop4 (Ubuntu): | |
status: | New → Confirmed |
Sean Clarke (sean-clarke) wrote : | #3 |
I am experiencing this with around 7 Ubuntu (unity) desktop installs - is the bug as reported just affecting XFCE?
Jussi (jussi-lahtinen-gmail) wrote : | #4 |
This is reported to affect xfdesktop4 (Desktop manager of Xubuntu),
but if it really is problem also with Ubuntu, then I'm not sure what to blame... maybe they are two different bugs?
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote : | #5 |
xfdesktop saves icon positions per screen resolution and should restore the layout once the same resolution is applied again. An upstream bug report (feature request) might be required to fix or improve the current behavior.
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote : | #6 |
Initial upstream report: https:/
So, does xfdesktop not restore the icon layout per screen resolution like it is intended?
Changed in xfdesktop4 (Ubuntu): | |
status: | Confirmed → Incomplete |
Jussi (jussi-lahtinen-gmail) wrote : | #7 |
I haven't experience this problem recently. So it might be fixed. However they say the fixed version is 4.6.1 and bug was reported of 4.10.2 (which is still the recent). So at least it wasn't fixed with that release! Or the bug depends on certain configuration or other component than xfdesktop.
I think it's best to leave this open for awhile to wait potential complaints from other users.
So, anyone still experiencing this problem?
Jussi (jussi-lahtinen-gmail) wrote : | #8 |
OK, I found this:
https:/
I think the bug really is fixed for all.
Jussi (jussi-lahtinen-gmail) wrote : | #9 |
No further complains, report in bugzilla claims it's fixed and I can confirm this on my own system.
Changed in xfdesktop4 (Ubuntu): | |
status: | Incomplete → Fix Released |
Bart (bart12) wrote : | #10 |
I'm still affected. (Xubuntu 12.10 / 64). Whenever I reboot all icons on the desktop rearrange themselves to the left side of the screen.
Jussi (jussi-lahtinen-gmail) wrote : | #11 |
Xubuntu 12.10 is not long term support release, and loses its support tomorrow (1.4). So I don't think the bug fix is going to be backported. Please upgrade your system.
However, what about Xubuntu 12.04? Anyone knows?
Bart (bart12) wrote : | #12 |
Too bad. But I suppose in 13.04 this issue will sill get fixed? (I don't want 13.10 on my laptop yet). And can the fix somehow be implemented manually in 12.04?
I do have a PC running 13.10. That one seems to remember its icon locations on the desktop.
Elfy (elfy) wrote : | #13 |
13.04 is EOL. Only current versions are 12.04/12.10/13.10
Jussi (jussi-lahtinen-gmail) wrote : | #14 |
One option is to uninstall xfdesktop. Get the source code, then compile and install it. I don't know how painful this would be. This also means you would have to update it manually. I don't recommend to do it, unless you really know what to do.
Not sure if there are ready binary packages for xfdesktop, that would be easier way.
I have been on Xubuntu 13.10 quite long time and it has worked fine. So upgrading might be the easiest option.
Bart (bart12) wrote : | #15 |
Upgrading is not that easy. There's always a lot of re-installing and tweaking of installed software involved and besides that the fan of that laptop needs to be cleaned first (which involves a total dismantling and reassembling of it) as I don't want to it stop half-way during upgrading due to high CPU-temps. That could be pretty disastrous. All that just takes too much time at the moment.
Wouldn't it be possible to just copy and transplant the necessary files from my 13.10/64 desktop to my 12.10/64 laptop and then reboot? I (roughly) compared the dependencies and there doesn't seem to be much difference between them, so this might work. Or am I just being completely clueless here (you wouldn't surprise or upset me if you said I am ;-) ?
Jussi (jussi-lahtinen-gmail) wrote : | #16 |
Some of your applications might depend on certain version of xfdesktop, but I doubt it would be the case.
Also not sure how update manager would react... I think the biggest worry is about configs, if they have changed with newer version of xfdesktop, you might mess up things. But of course you can try it, just take back up of the original binaries and possible configs.
Upgrading shouldn't require re-installing or tweaking..? You are prompted to keep your old configs. Also I would clean the fan anyway! And there is always the option to just deal with messy icon positions.
But you do as you please. However this is not right place for technical support for such hacking.
In Xfce Bugzilla #10813, amigamagic (debianmaverick) wrote : | #20 |
-------
PACKAGE: xfdesktop
VERSION: 4.11.6-1ubuntu1
-------
Given that the process "xfdesktop" creates a file in ~/.config/
1) I noticed that if I change the position of an icon, it will not be saved immediately in the appropriate file in ~/.config/
2) Suppose you have a particular personal arrangement of icons. Now, if you set a screen resolution never used so far, bigger than the previous one, the icons will be correctly arranged as they were before the resolution change. However, now if you don't touch the desktop anymore (I mean you don't have to move/edit/create icons) and you log out, at the following log in you will find that the icons have been rearranged on the left side of the screen and reordered alphabetically. It's happened because after the resolution change, xfdesktop did not create the appropriate file in "~/.config/
3) The files that are created in ~/.config/
In Xfce Bugzilla #10813, amigamagic (debianmaverick) wrote : | #21 |
Created attachment 5435
Proposed patch fix for icon saving problems
Ok, problem n.3 is not a real problem. It's only a cosmetic one, so I tried to solve (1) and (2) myself and created a patch that does the something:
1) Alter the SAVE_DELAY factor from 7 seconds to 1 second, so that when you
change/move some icon on the desktop, you don't have to wait anymore 7
seconds before xfdesktop saves the icons and you can safely logout.
2) When you change your screen resolution with one never used so far,
now xfdesktop will save your icon positions even if you don't change
the icons positions before logout.
These two modifications should solve problem 1 and 2 in the description of the bug.
For now I'm using the patch myself without problems, but I would be glad if others could try it and if the developers could take a look at the patch to confirm that it's all right with my mods. Thanks. :)
In Xfce Bugzilla #10813, Eric Koegel (eric-koegel) wrote : | #22 |
Thanks for writing a patch for this! A quick note:
xfdesktop_
{
#ifdef ENABLE_FILE_ICONS
GList *l, *leftovers = NULL;
XfdesktopFi
TRACE(
if(
fmanager = XFDESKTOP_
if(fmanager == NULL)
return;
+ xfdesktop_
If we add the save function there you won't need the if check.
I don't forsee any issues with your patch, but I won't have time
to fully test this patch until the weekend, I just wanted to provide
some quick feedback. If you're ok with my proposed change, either
you or I can turn the diff into a git formatted patch for inclusion
into xfdesktop.
http://
links if you've never worked with git before and want to.
In Xfce Bugzilla #10813, amigamagic (debianmaverick) wrote : | #23 |
Created attachment 5437
Proposed patch fix for icon saving problems - Version 2 -
Thanks Erik! You are right, we can save a check placing the "xfdesktop_
I prepared the diff file as described in that link. It's attached to this message. ;)
In Xfce Bugzilla #10813, Eric Koegel (eric-koegel) wrote : | #24 |
Created attachment 5439
Fix icon position saving on resolution change
So I got the time to actually test the patch out and it works great, thanks. I turned it into a full git patch, so instead of doing:
git diff > ~/fix-for-bug-1234.patch
you can do:
git add -u
git commit
git format-patch -1
Those commands will 1) stage your changes, 2) commit them (and allow you to add a header and get credit for your work), and then 3) pull the patch out so it can be added to xfdesktop's code directly. This may be helpful if you write more patches for git based projects in the future.
If ypu're ok with the header I put on your patch, I'll commit it to xfdesktop. Thanks again.
In Xfce Bugzilla #10813, amigamagic (debianmaverick) wrote : | #25 |
Thanks Eric, I'm glad that it works. :)
Of course you can commit it but, if it's possible, I would ask you to place my real name in the credits beside the nickname. So, instead of just:
From: amigamagic <email address hidden>
I would want it to be something like:
From: Mauro Giubileo AKA amigamagic <email address hidden>
Thanks! :)
In Xfce Bugzilla #10813, Eric Koegel (eric-koegel) wrote : | #26 |
Do you want the AKA amigamagic part? Most people seem to
just use their name. You can also do the git add/commit
stuff to format the patch header how you like and I'll
push that to master :)
Rafael Muñoz Rodríguez (rmunozrodriguez) wrote : | #17 |
I'm also experiencing this issue with Xubuntu 14.04 LTS
In Xfce Bugzilla #10813, amigamagic (debianmaverick) wrote : | #27 |
Ok, you can take out the 'amigamagic' part and keep only my name.
I think the rest of the header is good as it is in your attachment. :)
Jussi (jussi-lahtinen-gmail) wrote : | #18 |
Please give more details of your problem.
In what situation this occurs? Can you reproduce it? If you can please give exact steps to do so.
Changed in xfdesktop4 (Ubuntu): | |
status: | Fix Released → Incomplete |
Alistair Buxton (a-j-buxton) wrote : | #19 |
This is bug https:/
Changed in xfdesktop4 (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in xfdesktop: | |
importance: | Unknown → Low |
status: | Unknown → Fix Released |
Jussi (jussi-lahtinen-gmail) wrote : | #29 |
Rafael Muñoz Rodríguez report this bug to be still issue with 14.04. And according to the comments of bugzilla report the affected version of xfdesktop is 4.11.6-1ubuntu1. Which is still in use in 14.04.
Changed in xfdesktop4 (Ubuntu): | |
status: | Confirmed → Fix Committed |
Santiago Romero (sromero) wrote : | #30 |
Under Linux Mint 17 (based on Ubuntu 14.04), is still happening.
After arranging all the icons in my favourite positions, I pressed F5 and everything moved to the left in vertical lines of icons :-(
I *really* love XFCE over all the things I've used in the past (icewm, kde1b4, kde2 and gnome2) but I really dislike this behaviour :(
Brian Hilmers (bhilmers) wrote : | #31 |
Problem exists in Unbuntu Studio 14.04 with XFCE 4.10. Hoping to get some sort of fix I can apply to fix this major break in functionality.
gordon (gordon-gunn) wrote : | #32 |
Okay this is Not a ubuntu bug it is a xfce bug.
I have tried xubuntu 14.04 and first encountered this bug, since then I have tried 12.04 with the new xfce desktop and the bug was there and manjaro xfce is also affected by this bug.
I have not noticed the bug on my medion pc tower (ubuntu studio) but every laptop that I have tried has experienced this bug. I can't confirm if the bug was present in the tower os as I reinstalled 12.04 to get get back features and were disabled in the upgrade.
Jussi (jussi-lahtinen-gmail) wrote : | #33 |
@gordon
The bug report is written to affect xfdesktop4, which is xfce component. But actually this is ubuntu problem. Since there is fix for xfdesktop4, but no one is willing apply the fix for xubuntu.
Jussi (jussi-lahtinen-gmail) wrote : | #34 |
PS. Bug duplicate status is removed due incorrectly applied "fix released" status. Fix is committed, not released.
Thomas Schweikle (tps) wrote : | #35 |
This bug is there now from 12.04.1 up to 15.04. It is not fixed and alive mangeling my desktop icons every start!
Thomas Schweikle (tps) wrote : | #36 |
Jussi (jussi-lahtinen-gmail) wrote : | #37 |
An update from Thaddäus Tintenfisch (thad-fisch):
"An updated package is now available in trusty-proposed. Please look at bug 1365965 and follow the instructions to test the new version."
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote : | #38 |
The new version should be available for trusty now.
If you still encounter this bug, please subscribe to bug 1335492.
Changed in xfdesktop4 (Ubuntu): | |
status: | Fix Committed → Fix Released |
WhereIsMyMindAT (e8d6dd44) wrote : | #39 |
This bug is still effecting me (both 14.04.01 and 14.04.02) as of Feb 28th, 2015.
bheka (bheka) wrote : | #40 |
This bug also found in my new xubuntu 14.04.02 at Marc 24, 2015.
Luis (djeverest) wrote : | #41 |
I have the same problem with the icons in Linux Mint 17.1 (rebecca) as of March 31st 2015. I've been waitin' for a fix in the automatic updates since January, but is almost april and there's no fix.
Paulo Marcel Coelho Aragão (marcelpaulo) wrote : | #42 |
I have freshly installed Xubuntu 15.04, and the bug is still on. xfdesktop4 version is 4.12.0-1ubuntu1.
Culverin (gustavogomes4-deactivatedaccount) wrote : | #43 |
The bug is still there - I had the icons size at 35.
Switched to 40 and its gone.
Paulo Marcel Coelho Aragão (marcelpaulo) wrote : | #44 |
@Falconet, this is magic: my icons had the default size, 48. I changed them to 40, as you've done, and now xfdesktop4 doesn't change their position anymore. Experimented logging out and also restarting, in both cases their position is not changed anymore.
I'm running Xubuntu 15.04 with xfdesktop4 4.12.0-1ubuntu1.
Paulo Marcel Coelho Aragão (marcelpaulo) wrote : | #45 |
There is an inconvenience to having icons size 40: their name is not shown in full. Using size 48, their name is shown in full.
Culverin (gustavogomes4-deactivatedaccount) wrote : | #46 |
I had at 35 and it changed all the time - now it doesn't!
Cumprimentos
Culverin (gustavogomes4-deactivatedaccount) wrote : | #47 |
Actually it still isn't working....
Pavel Ponec (pponec) wrote : | #48 |
I have the same bug on Xubuntu 15.04, however I have registered the bug I on a previous version Xubuntu 14.10 too. All updates are done.
A workaround for my desktop is the next command:
cp rc.backup ~/.config/
It seems the bug is not never fixed correctly .
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote : | #49 |
Pavel, can you test xfdesktop 4.12.1 or newer? The main issue should be fixed now (at least the aspect of this bug which I was able to reproduce).
Latest builds are available in my PPA:
https:/
Also, if you still encounter this bug, please subscribe to bug 1335492.
Paulo Marcel Coelho Aragão (marcelpaulo) wrote : | #50 |
@Thaddaeus, I restored the icon size to 48, updated xfdesktop4 from your PPA, and I can happily confirm: the issue is solved ! I tried both logging out and back in, as well as rebooting the laptop, and the icons stayed put in their positions.
So no need to workaround the issue anymore by changing the icon size to 40.
Thank you so much !
Markus Schmidt (boomshop) wrote : | #51 |
I can confirm that raising the panel size fixed the issue for me. Unfortunately on my display (3k) it needs a 56px panel which is kind of unusable. But fortunately I found an easy fix for my machine: simply unlock the top panel. Right click panel -> settings -> display -> lock panel (or the like, my system is in German).
Markus Schmidt (boomshop) wrote : | #52 |
No, I was wrong :/ it only survived restarting x but after reboot the desktop is messed up again.
Culverin (gustavogomes4-deactivatedaccount) wrote : | #53 |
Markus have you tried xfdesktop 4.12.1 or newer like it was proposed above?
I have 4.12.2 and I no longer have the problem after dozens of shut downs, restarts, etc
Culverin (gustavogomes4-deactivatedaccount) wrote : | #54 |
Markus Schmidt (boomshop) wrote : | #55 |
Falconet, thanks a lot for your answer - even if I have checked this before. Because it made me re-check things and let me stumble over a mistake I obviously made - I checked for xfce4 and not for xfdesktop4. First tests are looking promising, thank you very much for food for my thoughts .)
Culverin (gustavogomes4-deactivatedaccount) wrote : | #56 |
You are welcome :D
Markus Schmidt (boomshop) wrote : | #57 |
Unfortunately the problem still persists. But the devs are aware of the problem and are working on a fix actually.
Robert Skegg (rosk333) wrote : | #58 |
This problem has just shown up on my system: Xubuntu 14.04.3 AMD64 Desktop.
It is very annoying. I see no use for desktop icon auto-arrange, I cannot find an option to turn it off.
Why should the OS auto-destroy data that the user has entered into the system?
This annoyance seems to have been brought about by a recent ubuntu 'update'.
M.K-R (v4rn45) wrote : | #59 |
Almost every time at log in icons rearranged, one time all icons other times only part of icons rearranged and part at the same place.
Xubuntu 14.04.3 LTS
3.13.0-74-generic
Default file manager: Nemo 2.6.7
xfdesktop4 4.11.8-0ubuntu0.1 i386
xubuntu-desktop 2.180 i386
desktop-base 7.0.3ubuntu1 all
gnome-desktop-data 1:2.32.1-2ubuntu1 all
gnome-desktop3-data 3.8.4-0ubuntu3.2 all
André Barmasse (barmassus) wrote : | #60 |
Very annoying bug!! Why this bug persists since 2013 up to newest Xenial Xerus, eludes me somehow. Is it so difficult to fix? It started to appear on my older Sony Vaio last year with Wiley Werewolf and affects me since without a clear pattern. Sometimes the icons on the desktop remain perfectly arranged for a week or more. Sometimes after a software update the icons are all again grouped together at left side of the desktop and are regrouped there at every reboot, no matter how I arranged them before. And suddeny after a software update everything stays put again for a while as I arranged it ...
It would be very nice, if this bug was treatened with a very, very, very, very high priority, as it does affect a truly central part of daily work. And wasn't it always a credo of Linux Development NOT TO BREAK THE DESKTOP? Please, please, fix!!!!
Hattori Susuki (hatinhx) wrote : | #61 |
Xubuntu 16.04 LTS, the bug is still here, have no idea why developers don't fix it. :(
Christian (chgauert) wrote : | #62 |
The files that are created in ~/.config/
I changed the source to use screen resolution for the filenames and now its working for me.
See comment #20 number 3)
darko (darko-petreski) wrote : | #63 |
I still have this problem Octopber 2018, xubuntu.
Adalbert Hanßen (melolontha) wrote : | #64 |
I still encounter this bug in
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
4.4.0-157-generic x86_64
the version of xfdesktop is:
$ xfdesktop --version
(xfdesktop:17981): Gtk-WARNING **: 23:31:18.354: Im Modulpfad »hcengine« konnte keine Themen-Engine gefunden werden,
Dieses ist xfdesktop Version 4.12.3, auf Xfce 4.12.
Erstellt mit GTK+ 2.24.28, verknüpft mit GTK+ 2.24.30.
Optionen bei der Erstellung:
Schreibtischmenü: aktiviert
Schreibtischsym
Schreibtischdat
$
I have no idea what the shown warning means and how it can be circumvented.
The strange thing is: Even after I have rearranged the icons (+ some seconds later), the file dates are quite old except for icons.screen0-
$ ls -l ~/.config/
insgesamt 44
-rw-rw-r-- 1 user user 713 2018-08-12 19:52 icons.screen0-
-rw-r--r-- 1 user user 613 2018-01-27 14:30 icons.screen0-
-rw-r--r-- 1 user user 361 2017-06-05 19:20 icons.screen0-
-rw-r--r-- 1 user user 361 2017-06-05 19:20 icons.screen0-
-rw-r--r-- 1 user user 258 2017-06-05 19:20 icons.screen0-
-rw-r--r-- 1 user user 524 2017-06-05 19:20 icons.screen0-
-rw-r--r-- 1 user user 101 2017-06-05 19:20 icons.screen0-
-rw-rw-r-- 1 user user 1763 2019-08-15 23:09 icons.screen0-
-rw-rw-r-- 1 user user 1759 2019-01-20 13:33 icons.screen0-
-rw-rw-r-- 1 user user 251 2018-02-10 16:41 icons.screen0-
-rw-rw-r-- 1 user user 1133 2018-09-24 15:27 icons.screen0-
$
after I had rearranged my icons, I made these files immutable, so lsattr tells me
$ sudo lsattr ~/.config/
----i--------e-- /home/user/
----i--------e-- /home/user/
----i--------e-- /home/user/
----i--------e-- /home/user/
----i--------e-- /home/user/
----i--------e-- /home/user/
----i--------e-- /home/user/
----i--------e-- /home/user/
----i--------e-- /home/user/
----i--------e-- /home/user/
----i--------e-- /home/user/
$
despite that, the desktop icons were rearranged in two narrow columns at the left screen border after a reboot!
My screen resolution is
$ xdpyinfo | awk '/dimensions/{print $2}'
1920x1080
$
and strangely there is no file for that!
Carl Goldsworthy (ibmekon) wrote : | #65 |
I am retired.
I worked in IT all my life.
Every attempt at evading the deliberate random rearrangement is nullified over the last 10 years.(read only flags, copying , desktop --reload etc)
So there is no bug - it is deliberately programmed.
This is disgraceful.
Jean Franco Amoni Rodríguez (datalot) wrote : | #66 |
MX Linux (XFCE 4.14) - Sadly Replicated.
Jean Franco Amoni Rodríguez (datalot) wrote : | #67 |
(As specified at a XFCE forum)[https:/
Tested on MX Linux 19.2 amd64 - XFCE 4.14.
Pablo Pazos (ppazos) wrote : | #68 |
Have this issue on Mint 19.3 XFCE. This is a pain. Not sure but it seems at some point in time the option to auto-arrange or manually arrange icons was removed from the desktop options, so now it auto-arrange everything on startup. moving everything to a different place every time.
Status changed to 'Confirmed' because the bug affects multiple users.