<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>47627</bug_id>
          
          <creation_ts>2002-09-08 20:03:00 +0000</creation_ts>
          <short_desc>desktop icons move when kicker is hidden/unhidden</short_desc>
          <delta_ts>2009-01-02 20:19:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdesktop</product>
          <component>icons</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jens Dagerbo">jens.dagerbo</reporter>
          <assigned_to name="David Faure">faure</assigned_to>
          <cc>aleph</cc>
    
    <cc>ana</cc>
    
    <cc>antonio.merker</cc>
    
    <cc>finex</cc>
    
    <cc>martin</cc>
    
    <cc>seorge</cc>
    
    <cc>techniq35</cc>
    
    <cc>tim</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>105</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87929</commentid>
    <comment_count>0</comment_count>
    <who name="Jens Dagerbo">jens.dagerbo</who>
    <bug_when>2002-09-08 20:00:58 +0000</bug_when>
    <thetext>(*** This bug was imported into bugs.kde.org ***)

Package:           kdesktop
Version:           KDE 3.0.7 CVS/CVSup/Snapshot
Severity:          normal
Installed from:    Compiled sources
Compiler:          gcc version 2.95.3 20010315 (release)
OS:                Linux (i686) release 2.4.19-pre10-gentoo-r3
OS/Compiler notes: 

Cosmetics only. 

To reproduce:

1. Run Kicker aligned to the top of the screen. Have some icons on the desktop.
2. Hide/Unhide Kicker and watch those icons jump! :)

(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application KDE Version manually changed)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123106</commentid>
    <comment_count>1</comment_count>
    <who name="Tobias Koenig">tokoe</who>
    <bug_when>2003-03-13 20:55:27 +0000</bug_when>
    <thetext>Hi Jens, 
 
this is no bug, this isa feature... 
If we won&apos;t rearrange the icons, I&apos;m sure there will be enough bug reports, that 
wants it this way, because it would be a waste of space if not doing so... 
 
Ciao, 
Tobias </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123133</commentid>
    <comment_count>2</comment_count>
    <who name="J">joerg.mensmann</who>
    <bug_when>2003-03-13 21:25:26 +0000</bug_when>
    <thetext>Subject: Re:  desktop icons move when kicker is hidden/unhidden

Two objections against closing this bug:

1. It flickers like hell (Really, plain ugly. First the nice animation
with Kicker sliding away sidewards, and then icons jump, *FLICKER*).

2. I don&apos;t think there is any waste of screen space, since the
additional space only exists, as long Kicker is hidden. What happens to
icons at the bottom of the screen when Kicker is unhidden? Compare this
to what happens when Kicker is located at the bottom of the screen. Any
icon moved to the area that is usually covered by Kicker will be moved
upward when Kicker is unhidden. So this area actually is unusable. No
waste of screen space here?

I don&apos;t think this would produce lots of new bug reports, since Kicker
positioned at the top of the screen isn&apos;t the default, and only few
people will notice this change at all.

bye
  J</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123171</commentid>
    <comment_count>3</comment_count>
    <who name="Jens Dagerbo">jens.dagerbo</who>
    <bug_when>2003-03-14 01:26:27 +0000</bug_when>
    <thetext>Tobias, 
 
Seriously.. you are joking, right?  
 
This is clearly a bug since, like J</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268514</commentid>
    <comment_count>4</comment_count>
    <who name="Thomas Bettler">thomas.bettler</who>
    <bug_when>2004-09-14 12:52:18 +0000</bug_when>
    <thetext>I have the same problem:

The icons wander down a step each time I log in, and this is really annoying to place each 4th time the icons again on top. At least fix the problem at login, but I guess it is easier to remove this unneeded feature.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270133</commentid>
    <comment_count>5</comment_count>
    <who name="Peter Fuhrmann">tixiv</who>
    <bug_when>2004-09-20 13:21:01 +0000</bug_when>
    <thetext>I have my kicker on the left side of the screen, and each time I log in all the icons shift one step to the right, until they finally shift out of the visible area.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274916</commentid>
    <comment_count>6</comment_count>
    <who name="Jeff Robertson">syntaxaire</who>
    <bug_when>2004-10-08 10:16:08 +0000</bug_when>
    <thetext>This is ridiculous, the icons actually move UP when you hide the kicker, even though if they are compensating for new space they should move DOWN.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>279259</commentid>
    <comment_count>7</comment_count>
    <who name="Ryan Freeman">ryan</who>
    <bug_when>2004-10-23 19:57:35 +0000</bug_when>
    <thetext>The icons don&apos;t just move out of the way ,they shift around each time you hide/unhide kicker. I get to watch my trash bin dance its way up the screen. I&apos;m getting tired of having to continually move it back DOWN where I want it. Feature? More like a pain!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283360</commentid>
    <comment_count>8</comment_count>
    <who name="Georg Wittenburg">georg.wittenburg</who>
    <bug_when>2004-11-06 15:50:28 +0000</bug_when>
    <thetext>I&apos;ve getting the same behaviour (icons moving upwards after starting KDE or changing the position of the Kicker panel) since KDE 3.3.0. The fact that it only started back clearly shows that it&apos;s not a feature. Further, no one can really expect users to manually rearrange their desktop everytime they log in. This is highly annoying. Please fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283575</commentid>
    <comment_count>9</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2004-11-07 10:48:20 +0000</bug_when>
    <thetext>&gt; I&apos;ve getting the same behaviour (icons moving upwards after starting KDE or changing the position of the Kicker panel) since KDE 3.3.0. The fact that it only started back clearly shows that it&apos;s not a feature. Further, no one can really expect users to manually rearrange their desktop everytime they log in. This is highly annoying. Please fix.

We have already.
This was fixed on 20-Sep-2004, in kdiconview.cc 1.132 and 1.126.2.3 (KDE_3_3_BRANCH)
(bug report #82800)
... which means the fix is in KDE-3.3.1.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283577</commentid>
    <comment_count>10</comment_count>
    <who name="Georg Wittenburg">georg.wittenburg</who>
    <bug_when>2004-11-07 11:03:59 +0000</bug_when>
    <thetext>My upgrade to KDE 3.3.1 isn&apos;t fully complete as kdemultimedia and kdenetwork missing, but the relevant Debian packages (kwin - http://packages.debian.org/unstable/kde/kwin, kdesktop - http://packages.debian.org/unstable/kde/kdesktop, please correct me here if I&apos;m wrong) are clearly 3.3.1. So either the bug is caused by some other package, or there is a packaging problem, or the bug presists.

Thanks a lot for spending time on trivial stuff like this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283578</commentid>
    <comment_count>11</comment_count>
    <who name="Thomas Bettler">thomas.bettler</who>
    <bug_when>2004-11-07 11:07:09 +0000</bug_when>
    <thetext>I have installed kde-3.3.1 on my Gentoo box and it seems to be fixed now.
I think it depends on some other packages then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283579</commentid>
    <comment_count>12</comment_count>
    <who name="Georg Wittenburg">georg.wittenburg</who>
    <bug_when>2004-11-07 11:13:11 +0000</bug_when>
    <thetext>OK, then it really seems to be a problem with the Debian packages. I&apos;ll bug them about it. Thanks for your time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283584</commentid>
    <comment_count>13</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2004-11-07 11:51:53 +0000</bug_when>
    <thetext>The fix is in kdesktop, this doesn&apos;t rely on another package. But maybe the debian
package isn&apos;t really 3.3.1, dunno.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>297493</commentid>
    <comment_count>14</comment_count>
    <who name="Georg Wittenburg">georg.wittenburg</who>
    <bug_when>2004-12-27 16:26:34 +0000</bug_when>
    <thetext>I&apos;ve just upgraded to KDE 3.3.2 from Debian experimental (see http://lists.debian.org/debian-kde/2004/12/msg00150.html) and while most of the issues mentioned above are indeed fixed, the icons still do move up by one square on the &quot;grid&quot; each and every time I start KDE. Worth mentioning is that Kicker is on top of the screen and that Icons -&gt; &quot;Align to Grid&quot; in the desktop RMB menu is checked.

This really doesn&apos;t look like a Debian packaging problem. Can anybody reproduce this?

(For the Debian side of things, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=279993)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>325338</commentid>
    <comment_count>15</comment_count>
    <who name="Jeff Robertson">syntaxaire</who>
    <bug_when>2005-03-18 18:53:31 +0000</bug_when>
    <thetext>This bug STILL exists in the the KDE 3.4 preview packages for Debian.  I moved my ~/.kde directory away to make sure it&apos;s not a configuration issue, and started KDE, then used all the default options in the setup wizard.  All the icons on my desktop still dance around every time the kicker is hidden or unhidden.  I even recorded a video of it using gvidcap, for anybody who still wants to mark this bug &quot;closed&quot;:

http://home.erin.utoronto.ca/~jbonham/kdesktop-bug.avi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>325343</commentid>
    <comment_count>16</comment_count>
    <who name="Jeff Robertson">syntaxaire</who>
    <bug_when>2005-03-18 19:01:23 +0000</bug_when>
    <thetext>Forgot to mention, I also made sure icon alignment was turned on.  If icon alignment is turned off then this obviously doesn&apos;t happen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327307</commentid>
    <comment_count>17</comment_count>
    <who name="Stefano Fedrigo">aleph</who>
    <bug_when>2005-03-23 17:43:42 +0000</bug_when>
    <thetext>This bug is present in KDE 3.4 with Gentoo.
My kicker panel is at bottom.
When kicker is minimized, _all_ icons in the desktop move up a little.
When kicker is maximized, _only_ the icons in the upper half of the desktop move down to the original position: the icons in the lower half move up.
At login the same thing (as if kicker is maximized) happens.
The result is that I can&apos;t keep icons in the bottom half of the desktop. They slowly walk up...
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329186</commentid>
    <comment_count>18</comment_count>
    <who name="Emanuele Tamponi">emanuele</who>
    <bug_when>2005-03-28 22:13:51 +0000</bug_when>
    <thetext>Also here the bug is present, using KDE 3.4 and Gentoo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>330498</commentid>
    <comment_count>19</comment_count>
    <who name="Jeff Robertson">syntaxaire</who>
    <bug_when>2005-03-31 23:58:57 +0000</bug_when>
    <thetext>Please reopen this bug, it is obviously still in the code having been reported by separate users from separate distributions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>330614</commentid>
    <comment_count>20</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2005-04-01 11:19:00 +0000</bug_when>
    <thetext>reopening then...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>331933</commentid>
    <comment_count>21</comment_count>
    <who name="icebox">icebox</who>
    <bug_when>2005-04-05 12:23:38 +0000</bug_when>
    <thetext>3.4 slackware 10.1

At each hide/unhide the bottom icons go one step up.

This problem doesn&apos;t apear if the Configure Panel -&gt; hiding -&gt; Allow other windows to cover panel is enabled.

It is really annoying that in the &quot;Next generation computer gui&quot; the icons don&apos;t stay in the place the user sets them. This is growing to a pain in the #$%^ ever since kde 3.2
If it is that hard make the code leave the icons in peace at least provide a lock setting that would make the icons stick in their place!

This was one of the uglyest things in the 3.3 series and it should really have been fixed in 3.4

I mean it... you cannot exmplain to someone migrating from windows you know linux is better, it&apos;s more stable but you know ... the damn icons won&apos;t stay in their place no matter how hard you try...

Please...please please do something about it!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>344479</commentid>
    <comment_count>22</comment_count>
    <who name="Sal">samilhd</who>
    <bug_when>2005-05-23 09:28:39 +0000</bug_when>
    <thetext>I see no mention of any improvement in KDE 3.4.1  :( Aline to Grid has been a mess for it&apos;s users since 3.3 was released. There have been a number of bugs posted about the different problems it has caused,
http://bugs.kde.org/show_bug.cgi?id=79932
http://bugs.kde.org/show_bug.cgi?id=94126
are just two. They are marked as resolved but clearly are not. If we could just go back to the pre 3.3 grid system most of these problems would be corrected. I was using the DesktopGridSpacing=x,y hack of the kdeglobals file to keep things reasonably set where I wanted them but the change in 3.4 to the kcontrol-background-advanced dialog system broke that as well. As user should be able to arrange icons where he likes them, click aline to grid to get them perfectly lined up and then just forget about it. They shouldn&apos;t get moved around every time he hides/unhides the task bar or logs out/in. Nor should the grid spacing for the icons put a huge gap vertically between the icons. Something needs to be done with the Aline to Grid system, Please.  Sal
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>351356</commentid>
    <comment_count>23</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2005-06-17 20:59:14 +0000</bug_when>
    <thetext>OK the description confused me for a long time. This isn&apos;t the same as the bug that was fixed in 3.3.1. That one was about handling workarea size changes.

The new bug, though, is about the &quot;auto-align&quot; feature. The problem is that lineupIcons isn&apos;t idempotent, i.e. when being called more than once it moves the icons again, which obviously it shouldn&apos;t do. I was afraid of that when I saw the auto-align feature being added, which only exposes even more than before the lineupIcons deficiencies. lineupIcons is from Tim Jansen. Tim? Interesting in having a look at it again?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>351358</commentid>
    <comment_count>24</comment_count>
    <who name="">tim</who>
    <bug_when>2005-06-17 21:04:16 +0000</bug_when>
    <thetext>Sorry, I don&apos;t even have KDE installed anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354110</commentid>
    <comment_count>25</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2005-06-28 16:00:54 +0000</bug_when>
    <thetext>*** Bug 108258 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354119</commentid>
    <comment_count>26</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-06-28 16:23:19 +0000</bug_when>
    <thetext>They move not only when kicker hidden/unhidden, but everytime KDE starts and 
sometimes they can&apos;t find their previous location. The move not only up and 
down like when the kicker hidden/unhidden, but they also move from side to 
side for no reason.

------- Original message -------
From: owner@bugs.kde.org
To: mekoc@inbox.ru
Subject: [Bug 47627] desktop icons move when kicker is hidden/unhidden
Date: 28 Июнь 2005 16:00
[bugs.kde.org quoted mail]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354122</commentid>
    <comment_count>27</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-06-28 16:51:34 +0000</bug_when>
    <thetext>Good to see that I&apos;m not alone. But since the first bugreport is dated 
2002-09-08, I doubt that the developers even made an attempt to fix it. Seems 
they simply like this icon freestyle movement at thats all.
In GNOME the icons always stay where the users put them. Is it so hard to take 
a look at the GNOME&apos;s source codes. I know it use different engine, but maybe 
it will help a bit. I using Linux since KDE 3.1. but this bug still here in 
every distribution I&apos;ve tried before (SuSE, Mandrake, Debian, Slackware, UHU, 
Fedora). 
 
------- Original message -------
From: Serja &lt;mekoc@inbox.ru&gt;
To: mekoc@inbox.ru
Subject: [Bug 47627] desktop icons move when kicker is hidden/unhidden
Date: 28 Июнь 2005 16:23
[bugs.kde.org quoted mail]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354131</commentid>
    <comment_count>28</comment_count>
    <who name="icebox">icebox</who>
    <bug_when>2005-06-28 17:33:23 +0000</bug_when>
    <thetext>This is outrageous !

I mean it is something extremely simple: icons should NOT move by their will ! It&apos;s been like that since I saw Windows 3.0. I&apos;m using linux since 98 - used window maker at first and then gnome for a while but never really liked it.(personal taste - no point flaming here). Kde has been a bless ever since version 2. But this is the most annoying thing I encountered in linux since I can remember !
Like in war - man should learn from the enemies ;) Experiment with how icons line up in windows (be that 98 2000 or XP - in any it happends corectly!), check out gnome sources - I mean watch ANY window manager. Until kde3 I never saw icons with their own will.

Thank you for your time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354137</commentid>
    <comment_count>29</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-06-28 18:20:07 +0000</bug_when>
    <thetext>Is this bug present in KDE2? If not then maybe the developers should use the 
codes from KDE2 or find some bertayer from m$. Please fix it! Do something! 
It&apos;s very idiotic situation: the award winning desktop environment unable to 
make the icons obey to their masters (I mean KDE-users). I don&apos;t know, maybe 
the developers just develop, develop, develop and have no time to use their 
PC-s for everyday use and therefore they don&apos;t understand whats so annoying 
if the icons are dancing at the screen. But believe me, It&apos;s a very annoing 
thing for everyday use. 

------- Original message -------
From: icebox &lt;icebox@miv.directnet.ro&gt;
To: mekoc@inbox.ru
Subject: [Bug 47627] desktop icons move when kicker is hidden/unhidden
Date: 28 Июнь 2005 17:33
[bugs.kde.org quoted mail]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354145</commentid>
    <comment_count>30</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2005-06-28 19:07:13 +0000</bug_when>
    <thetext>Please calm down instead of saying nonsense. Thanks.
We know about the bug, and we are about to have a look at it. Our problem
is among other things the fact that the author of the lineup-icons code isn&apos;t
active anymore, so we have to take over that code, understand it, and bugfix it.
Patience, OK?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354183</commentid>
    <comment_count>31</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-06-28 21:02:33 +0000</bug_when>
    <thetext>Ok! I&apos;m a patient man. But please remember that this bug present in KDE for 
years and was reported many times by different users. Please do not just 
close it again sometimes later like it was before without really fixing it. 
I&apos;ll be watching it. Thanks. 

------- Original message -------
From: David Faure &lt;faure@kde.org&gt;
To: mekoc@inbox.ru
Subject: [Bug 47627] desktop icons move when kicker is hidden/unhidden
Date: 28 Июнь 2005 19:07
[bugs.kde.org quoted mail]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354400</commentid>
    <comment_count>32</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-06-29 20:33:51 +0000</bug_when>
    <thetext>I think if the kicker hidding/unhidding feature will be removed, it will help 
to fix this bug. If I understand it correctly the kicker hidding/unhidding 
feature was added because the windows are relatively often won&apos;t fit in to 
the screen. Maybe the bugfixing process should be started by fixing windows 
positions and not by simply reduce this bug with  kicker hidding/unhidding, 
which may cause newer bugs.

------- Original message -------
From: icebox &lt;icebox@miv.directnet.ro&gt;
To: mekoc@inbox.ru
Subject: [Bug 47627] desktop icons move when kicker is hidden/unhidden
Date: 28 Июнь 2005 17:33
[bugs.kde.org quoted mail]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359361</commentid>
    <comment_count>33</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-07-21 11:46:08 +0000</bug_when>
    <thetext>It seems I&apos;ve find the temporary solution how to avoid &quot;icon jumping&quot;.
in $HOME/.kde/share/apps/kdesktop there is a file called &quot;IconPositions&quot;. If after placing all the icons you&apos;ll need on the desktop you block the access to this file by making it read-only, the icons won&apos;t jump anymore. Well it&apos;s true on 90%, because newer icon placement may cause &quot;icon jumping&quot; again.
It seems some applications write to this file. Currently I use 1024x768 resolution, but if I open some application which use for example a lower resolution (e.g. 800x600), after closing this application the icons change their position. But if I made the &quot;IconPositions&quot; file read-only the applications can&apos;t write it and change the icons position. Disabling the panel hiding buttons may also help.
I hope this information should help the developers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359366</commentid>
    <comment_count>34</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-07-21 12:00:39 +0000</bug_when>
    <thetext>I forgot to mention: before making this file read-only I&apos;ve edited it manually 
by removing all lines which try to place the icons using a lower resolution 
than the default resolution. Here comes an example:

[IconPosition::Home.desktop]
X=21
X 800=value -- REMOVE THIS LINE!!!!!
X 1024=21
Y=10
Y 600=value -- REMOVE THIS LINE!!!!!
Y 768=10

------- Original message -------
From: Serja &lt;mekoc@inbox.ru&gt;
To: mekoc@inbox.ru
Subject: [Bug 47627] desktop icons move when kicker is hidden/unhidden
Date: 21 Июль 2005 11:46
[bugs.kde.org quoted mail]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363732</commentid>
    <comment_count>35</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2005-08-08 12:14:57 +0000</bug_when>
    <thetext>*** Bug 98244 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363733</commentid>
    <comment_count>36</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2005-08-08 12:21:01 +0000</bug_when>
    <thetext>SVN commit 444002 by mkoller:

BUG: 91575
BUG: 47627

Kicker now has the capability to tell kdesktop an area to place desktop icons in.
This area is different from the workArea (which is used by windows/the window manager).
The desktopIconsArea is not modified when a panel/extension is hidden/shown - only
when a new panel/extension is created or an existing one is moved.



 M  +5 -0      container_extension.cpp  
 M  +1 -0      container_extension.h  
 M  +81 -0     extensionmanager.cpp  
 M  +9 -0      extensionmanager.h  
 M  +16 -0     kicker.cpp  
 M  +7 -0      kicker.h  


--- branches/KDE/3.5/kdebase/kicker/kicker/core/container_extension.cpp #444001:444002
@@ -141,6 +141,9 @@
     _layout-&gt;setRowStretch(1,10);
     _layout-&gt;setColStretch(1,10);
 
+    connect(this, SIGNAL(layoutUpdated(ExtensionContainer *)),
+            ExtensionManager::the(), SLOT(extensionSizeChanged(ExtensionContainer *)));
+
     // instantiate the autohide timer
     _autohideTimer = new QTimer(this);
     connect(_autohideTimer, SIGNAL(timeout()), SLOT(autoHideTimeout()));
@@ -542,6 +545,8 @@
 //    kdDebug(1210) &lt;&lt; &quot;PanelContainer::updateLayout()&quot; &lt;&lt; endl;
     resetLayout();
     updateWindowManager();
+
+    emit layoutUpdated(this);
 }
 
 void ExtensionContainer::enableMouseOverEffects()
--- branches/KDE/3.5/kdebase/kicker/kicker/core/container_extension.h #444001:444002
@@ -114,6 +114,7 @@
 
 signals:
     void removeme(ExtensionContainer*);
+    void layoutUpdated(ExtensionContainer*);
 
 protected slots:
     virtual void showPanelMenu( const QPoint&amp; pos );
--- branches/KDE/3.5/kdebase/kicker/kicker/core/extensionmanager.cpp #444001:444002
@@ -209,8 +209,11 @@
     }
     else if (m_menubarPanel)
     {
+        int screen = m_menubarPanel-&gt;xineramaScreen();
         delete m_menubarPanel;
         m_menubarPanel = 0;
+
+        emit desktopIconsAreaChanged(desktopIconsArea(screen), screen);
     }
 }
 
@@ -353,6 +356,9 @@
     tmpmenu.insertItem(&quot;Aaron Seigo&quot;);
     m_menubarPanel-&gt;setSize(KPanelExtension::SizeCustom,
                             tmpmenu.sizeHint().height());
+
+    emit desktopIconsAreaChanged(desktopIconsArea(m_menubarPanel-&gt;xineramaScreen()),
+                                 m_menubarPanel-&gt;xineramaScreen());
 }
 
 bool ExtensionManager::isMainPanel(const QWidget* panel) const
@@ -397,6 +403,9 @@
 
     connect(e, SIGNAL(removeme(ExtensionContainer*)),
             this, SLOT(removeContainer(ExtensionContainer*)));
+
+    emit desktopIconsAreaChanged(desktopIconsArea(e-&gt;xineramaScreen()),
+                                 e-&gt;xineramaScreen());
 }
 
 void ExtensionManager::removeContainer(ExtensionContainer* e)
@@ -410,6 +419,9 @@
     _containers.remove(e);
     e-&gt;deleteLater(); // Wait till we return to the main event loop
     saveContainerConfig();
+
+    emit desktopIconsAreaChanged(desktopIconsArea(e-&gt;xineramaScreen()),
+                                 e-&gt;xineramaScreen());
 }
 
 void ExtensionManager::removeAllContainers()
@@ -660,4 +672,73 @@
     return m_panelCounter;
 }
 
+void ExtensionManager::reduceArea(QRect &amp;area, const ExtensionContainer *extension) const
+{
+    if (!extension)
+    {
+        return;
+    }
+
+    // reduce given area (QRect) to the space not covered by the given extension
+    // As simplification: the length of the extension is not taken into account
+    // which means that even a small extension e.g. on the left side of the desktop
+    // will remove the available area with its with
+
+    switch (extension-&gt;position())
+    {
+        case KPanelExtension::Left:
+        {
+            area.setLeft(QMAX(area.left(), extension-&gt;frameGeometry().right()));
+            break;
+        }
+        case KPanelExtension::Right:
+        {
+            area.setRight(QMIN(area.right(), extension-&gt;frameGeometry().left()));
+            break;
+        }
+        case KPanelExtension::Top:
+        {
+            area.setTop(QMAX(area.top(), extension-&gt;frameGeometry().bottom()));
+            break;
+        }
+        case KPanelExtension::Bottom:
+        {
+            area.setBottom(QMIN(area.bottom(), extension-&gt;frameGeometry().top()));
+            break;
+        }
+        default: ;  // ignore KPanelExtension::Floating ... at least for now
+    }
+}
+
+QRect ExtensionManager::desktopIconsArea(int screen) const
+{
+    QRect area = QApplication::desktop()-&gt;screenGeometry(screen);
+
+    reduceArea(area, m_mainPanel);
+    reduceArea(area, m_menubarPanel);
+
+    for (ExtensionList::const_iterator it = _containers.constBegin();
+         it != _containers.constEnd();
+         ++it)
+    {
+        reduceArea(area, (*it));
+    }
+
+    kdDebug(1210) &lt;&lt; &quot;ExtensionManager::desktopIconsArea() = &quot; &lt;&lt; area
+                  &lt;&lt; &quot; screen = &quot; &lt;&lt; screen &lt;&lt; endl;
+    return area;
+}
+
+void ExtensionManager::extensionSizeChanged(ExtensionContainer *extension)
+{
+  // we have to recalc the available space for desktop icons
+  if (!extension)
+  {
+      return;
+  }
+
+  emit desktopIconsAreaChanged(desktopIconsArea(extension-&gt;xineramaScreen()),
+                               extension-&gt;xineramaScreen());
+}
+
 #include &quot;extensionmanager.moc&quot;
--- branches/KDE/3.5/kdebase/kicker/kicker/core/extensionmanager.h #444001:444002
@@ -52,10 +52,18 @@
     QRect workArea(int XineramaScreen, ExtensionContainer* container);
     int nextPanelOrder();
 
+    // return the space available for all icons on the desktop
+    // subtracts all panels from XineramaScreen&apos;s geometry
+    QRect desktopIconsArea(int xineramaScreen) const;
+
 public slots:
     void removeContainer( ExtensionContainer* );
     void initialize();
+    void extensionSizeChanged(ExtensionContainer *);
 
+signals:
+    void desktopIconsAreaChanged(const QRect &amp;, int xineramaScreen);
+
 protected:
     friend class KStaticDeleter&lt;ExtensionManager&gt;;
 
@@ -73,6 +81,7 @@
 
 private:
     void migrateMenubar();
+    void reduceArea(QRect &amp;area, const ExtensionContainer *panel) const;
 
     ExtensionList _containers;
     ExtensionContainer* m_menubarPanel;
--- branches/KDE/3.5/kdebase/kicker/kicker/core/kicker.cpp #444001:444002
@@ -145,6 +145,9 @@
 
     // the panels, aka extensions
     QTimer::singleShot(0, ExtensionManager::the(), SLOT(initialize()));
+
+    connect(ExtensionManager::the(), SIGNAL(desktopIconsAreaChanged(const QRect &amp;, int)),
+            this, SLOT(slotDesktopIconsAreaChanged(const QRect &amp;, int)));
 }
 
 Kicker::~Kicker()
@@ -389,3 +392,16 @@
     return m_kwinModule;
 }
 
+QRect Kicker::desktopIconsArea(int screen) const
+{
+    return ExtensionManager::the()-&gt;desktopIconsArea(screen);
+}
+
+void Kicker::slotDesktopIconsAreaChanged(const QRect &amp;area, int screen)
+{
+    QByteArray params;
+    QDataStream stream(params, IO_WriteOnly);
+    stream &lt;&lt; area;
+    stream &lt;&lt; screen;
+    emitDCOPSignal(&quot;desktopIconsAreaChanged(QRect, int)&quot;, params);
+}
--- branches/KDE/3.5/kdebase/kicker/kicker/core/kicker.h #444001:444002
@@ -59,7 +59,13 @@
     void showConfig(const QString&amp; config, int page = -1);
     void showTaskBarConfig();
     void configureMenubar();
+    // return the region on the desktop, which is not covered by panels
+    // and therefore allowed to be used by icons placed on the desktop
+    QRect desktopIconsArea(int screen) const;
 
+k_dcop_signals:
+    void desktopIconsAreaChanged(QRect area, int screen);
+
 public:
     static Kicker* the();
     KDirWatch* fileWatcher();
@@ -109,6 +115,7 @@
     void slotDesktopResized();
     void paletteChanged();
     void setCrashHandler();
+    void slotDesktopIconsAreaChanged(const QRect &amp;area, int screen);
 
 private:
     static void crashHandler(int signal);
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363783</commentid>
    <comment_count>37</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-08-08 15:02:35 +0000</bug_when>
    <thetext>But this icon jumpung not only depends on kicker, because something else tell 
the icons that they should move.
So is the codes you post here fix the icon jumping or this is a one more new 
option which may help and may not? 

------- Original message -------
From: Martin Koller &lt;m.koller@surfeu.at&gt;
To: mekoc@inbox.ru
Subject: [Bug 47627] desktop icons move when kicker is hidden/unhidden
Date: 8 Август 2005 12:21
[bugs.kde.org quoted mail]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363804</commentid>
    <comment_count>38</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2005-08-08 16:08:45 +0000</bug_when>
    <thetext>On Monday 08 August 2005 15:02, Serja wrote:
&gt; ------- Additional Comments From mekoc inbox ru  2005-08-08 15:02 -------
&gt; But this icon jumpung not only depends on kicker, because something else
&gt; tell the icons that they should move.
&gt; So is the codes you post here fix the icon jumping or this is a one more
&gt; new option which may help and may not?


The mentioned bug is about &quot;desktop icons move when kicker is hidden/unhidden&quot;
but you&apos;re right, there was another one  
https://bugs.kde.org/show_bug.cgi?id=91575
which was about what you said &quot;Icons get rearranged on login&quot;.
I also fixed this one in kdesktop.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363814</commentid>
    <comment_count>39</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-08-08 16:58:57 +0000</bug_when>
    <thetext>wow, thats sounds great! thanks!

------- Original message -------
From: Martin Koller &lt;m.koller@surfeu.at&gt;
To: mekoc@inbox.ru
Subject: [Bug 47627] desktop icons move when kicker is hidden/unhidden
Date: 8 Август 2005 16:08
[bugs.kde.org quoted mail]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>364002</commentid>
    <comment_count>40</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-08-09 08:27:42 +0000</bug_when>
    <thetext>And can this patch be applied against 3.4.0?

------- Original message -------
From: Martin Koller &lt;m.koller@surfeu.at&gt;
To: mekoc@inbox.ru
Subject: [Bug 47627] desktop icons move when kicker is hidden/unhidden
Date: 8 Август 2005 12:21
[bugs.kde.org quoted mail]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>364039</commentid>
    <comment_count>41</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2005-08-09 10:51:22 +0000</bug_when>
    <thetext>On Tuesday 09 August 2005 08:27, Serja wrote:
&gt; And can this patch be applied against 3.4.0?


Probably yes, I didn&apos;t try it and as I don&apos;t have a 3.4 workspace anymore, I 
won&apos;t do it.
If you like, I can send you the patch files and you try it.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>364044</commentid>
    <comment_count>42</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-08-09 11:26:59 +0000</bug_when>
    <thetext>&gt; If you like, I can send you the patch files and you try it.

That would be nice. Thank you.

------- Original message -------
From: Martin Koller &lt;m.koller@surfeu.at&gt;
To: mekoc@inbox.ru
Subject: [Bug 47627] desktop icons move when kicker is hidden/unhidden
Date: 9 Август 2005 10:51
[bugs.kde.org quoted mail]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>386843</commentid>
    <comment_count>43</comment_count>
    <who name="icebox">icebox</who>
    <bug_when>2005-11-03 09:41:28 +0000</bug_when>
    <thetext>Running Kde 3.5 beta 2 (3.4.92) and the bug is still present, although there is a workaround - enabling Lock in place.

This must be one of the oldest and annoyng bugs I&apos;m aware of...

BTW 3.5beta2 looks and feels great - always a pleasure upgrading the software not the hardware to get more speed and features ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>386917</commentid>
    <comment_count>44</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-11-03 14:25:56 +0000</bug_when>
    <thetext>But I&apos;ve told the developers that not only the kicker cause this bug, but the applications which use different resolution than the default one. Hey, KDE developers, please take a look at some other open source codes for desktop icons and fix this 3 years old bug! Please respect the users of your software - stop just adding new features without fixing old bugs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387140</commentid>
    <comment_count>45</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2005-11-04 09:51:15 +0000</bug_when>
    <thetext>On Thursday 03 November 2005 14:25, Serja wrote:
&gt; Hey,
&gt; KDE developers, please take a look at some other open source codes for
&gt; desktop icons and fix this 3 years old bug! Please respect the users of
&gt; your software - stop just adding new features without fixing old bugs.


Serja,
I can understand your frustration, but comments in this way don&apos;t help.
I&apos;ve fixed this bug in August this year to my best knowledge.
If it still does not work for you, then please provide as much useful 
information as possible, so that I can try to reproduce and fix it.

Otherwise please give only advice if you know what you are talking about.
If you do know C++ programming, then you&apos;re free to have a look at the KDE 
source (or whatever other source you think might be appropriate) and fix the 
bug. If you think it helps to look at a complete different code to fix a 
particular problem in KDE, then you might also think you can drive a 
Formula-I car when you know how to drive a family car. Believe me, you can&apos;t!
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387211</commentid>
    <comment_count>46</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-11-04 14:56:02 +0000</bug_when>
    <thetext>Actually I don&apos;t have KDE 3.5, so can&apos;t give any usefull information about how 
this bug &quot;work&quot; in the latest version. I have only 3.3.X and 3.4.X versions, 
so I can explain how and when this bug appear in this versions:
1. Usually when I start KDE, but not always.
2. My daughter play full-screen games (gcompris, etc.) and some of those games 
use a lower resolution (for example 800X600) and the default is 1027X768. 
This also affect the icons, because they change their position, but IMHO this 
shouldn&apos;t happen. As I understand something write to the 
~.kde/share/apps/kdesktop/IconPositions file and rearrange the icons 
according to the lower resolution of the full-screen application. And when 
the application is exited the icons are unable to rearrange themself back to 
their original place. 
3. Probably something else too.
That is why I&apos;ve placed all the icons I need at the desktop and made this file 
read-only, so none of any applications can&apos;t write this file. It&apos;s look a 
quite stable workaround.
And sorry for the previous post.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387226</commentid>
    <comment_count>47</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2005-11-04 15:56:51 +0000</bug_when>
    <thetext>On Friday 04 November 2005 14:56, Serja wrote:
&gt; Actually I don&apos;t have KDE 3.5, so can&apos;t give any usefull information about
&gt; how this bug &quot;work&quot; in the latest version.


Thanks, but as I said, the bug has already been fixed for 3.5.
AFAIK I sent you a patch for 3.4.
Did it work ?

&gt; And sorry for the previous post.


ok.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387243</commentid>
    <comment_count>48</comment_count>
    <who name="Jens Dagerbo">jens.dagerbo</who>
    <bug_when>2005-11-04 17:07:03 +0000</bug_when>
    <thetext>Using a three week old svn checkout, I&apos;m happy to report it works well now. Thanks! :)

(I&apos;m the original reporter)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387245</commentid>
    <comment_count>49</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-11-04 17:17:17 +0000</bug_when>
    <thetext>&gt;Using a three week old svn checkout, I&apos;m happy to report it works
&gt; well now. Thanks! :)
&gt;
&gt; (I&apos;m the original reporter)

Is thats mean icebox was wrong? 
&gt;&gt;------- Additional Comments From icebox miv directnet ro  2005-11-03 09:41 
&gt;&gt;------- Running Kde 3.5 beta 2 (3.4.92) and the bug is still present, 
&gt;&gt;although there is a workaround - enabling Lock in place.
&gt;&gt; This must be one of the oldest and annoyng bugs I&apos;m aware of...


&gt; Thanks, but as I said, the bug has already been fixed for 3.5.

Is thats mean icebox was wrong? 
&gt; AFAIK I sent you a patch for 3.4.
&gt; Did it work ?

No, I&apos;m not checked out the patch yet  - I&apos;m better gonna try to download 3.5 
beta and check if out how this work.
Is 3.5 beta2 is stable enough to run on a productivity desktop?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387441</commentid>
    <comment_count>50</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2005-11-05 14:02:52 +0000</bug_when>
    <thetext>On Friday 04 November 2005 17:17, Serja wrote:
&gt; ------- You are receiving this mail because: -------
&gt; No, I&apos;m not checked out the patch yet  - I&apos;m better gonna try to download
&gt; 3.5 beta and check if out how this work.
&gt; Is 3.5 beta2 is stable enough to run on a productivity desktop?


Yes, it&apos;s stable enough. I use it every day.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387445</commentid>
    <comment_count>51</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-11-05 14:13:37 +0000</bug_when>
    <thetext>Ok, then I&apos;m gonna download it today or tomorrow, install and check it out.
&gt; Yes, it&apos;s stable enough. I use it every day.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>387822</commentid>
    <comment_count>52</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-11-07 08:24:07 +0000</bug_when>
    <thetext>I&apos;ve downloaded the KDE 3.5 beta2 packages for Slackware and have tested them 
a bit. For now I can confirm, that I didn&apos;t noticed any icon-jumping. Good 
work! Thanks!
&gt; &gt; Yes, it&apos;s stable enough. I use it every day.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>389594</commentid>
    <comment_count>53</comment_count>
    <who name="Sal">samilhd</who>
    <bug_when>2005-11-13 23:57:18 +0000</bug_when>
    <thetext>Just a quick FYI, have installed 3.5rc1 on a PCLinuxOS P.92t3 partition that is updated to full unstable branch with a 2.6.13-oci3 kernel. No issues or problems to report.
For me a MAJOR cause of celebration here, for the first time in I don&apos;t 
remember how long it appears KDE finally has the bouncing desktop icons issue 
fixed! I can aline desktop icons anyway I want, log out and in, hide and 
unhide the taskbar and the icons stay where I put them. Woo Hoo.
Thanks everyone that has worked so hard and long on these desktop icon problems!
Sal</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>389691</commentid>
    <comment_count>54</comment_count>
    <who name="Hertz">seorge</who>
    <bug_when>2005-11-14 07:53:19 +0000</bug_when>
    <thetext>Yes, after about 1-2 week of testing KDE 3.5 beta2 I didn&apos;t noticed jumping 
icons. 
Again: great work!
Champagne anyone? :)
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390018</commentid>
    <comment_count>55</comment_count>
    <who name="Sean Lynch">techniq35</who>
    <bug_when>2005-11-15 04:48:09 +0000</bug_when>
    <thetext>Of note for this bug.. I have been experiencing some xinerama regressions since these corrections.. the screenshots in bug 111961 demonstrates 2 of the regressions.. one is explained in the bug report, the other is noticeable in this attachment (http://bugs.kde.org/attachment.cgi?id=12462&amp;action=view) where the icons are overlapped by the top panel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>691575</commentid>
    <comment_count>56</comment_count>
    <who name="FiNeX">finex</who>
    <bug_when>2009-01-02 20:19:34 +0000</bug_when>
    <thetext>Bug closed. Kdesktop is no more mantained.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>