<?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>117868</bug_id>
          
          <creation_ts>2005-12-07 16:21:33 +0000</creation_ts>
          <short_desc>Desktop icons move down at each login due to child panel at top of screen</short_desc>
          <delta_ts>2009-01-02 20:31:57 +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>unspecified</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="Pat Double">kde.org</reporter>
          <assigned_to name="Benoit Walter">b.walter</assigned_to>
          <cc>asparks</cc>
    
    <cc>finex</cc>
    
    <cc>philipp.sternberg</cc>
    
    <cc>rdieter</cc>
    
    <cc>santin.martin</cc>
    
    <cc>trizt</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>31</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>396469</commentid>
    <comment_count>0</comment_count>
    <who name="Pat Double">kde.org</who>
    <bug_when>2005-12-07 16:21:34 +0000</bug_when>
    <thetext>Version:           unknown (using KDE 3.5.0, Gentoo)
Compiler:          gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
OS:                Linux (i686) release 2.6.12.3-pat-r1

I have kicker at the bottom and a child panel at the top. At each login my desktop icons move down by the height of the child panel. This bug was reported in 2004 and was supposedly fixed, but it is happening with me for KDE 3.5.0. Due to the age of the resolved bug I did not add a comment to it. Please see http://bugs.kde.org/show_bug.cgi?id=82800</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>396680</commentid>
    <comment_count>1</comment_count>
    <who name="J.O. Aho">trizt</who>
    <bug_when>2005-12-08 08:41:16 +0000</bug_when>
    <thetext>I do second this bug for KDE 3.5.0 (Didn&apos;t have this bug under KDE 3.4.x). 

GCC: gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
Kernel: Linux version 2.6.14-gentoo-r2 (root@lai) (gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)) #2 PREEMPT Thu Nov 24 23:03:24 CET 2005
Qt: 3.3.4
KDE: 3.5.0
KDE Panel: 3.5.0

Icon options:
- Sort Icons, Directories First
- Lock in Place

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>398165</commentid>
    <comment_count>2</comment_count>
    <who name="Sebastian Noa">xaon.seb</who>
    <bug_when>2005-12-13 17:27:34 +0000</bug_when>
    <thetext>i can confirm this.

same behaviour here!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>399227</commentid>
    <comment_count>3</comment_count>
    <who name="">nine</who>
    <bug_when>2005-12-16 22:43:19 +0000</bug_when>
    <thetext>Can confirm this problem, too with the OpenSUSE KDE 3.5.0 Level &quot;a&quot; binaries. I have an External Taskbar at the lower left corner of the screen and after every login the icons on the desktop are moved to the right by it&apos;s width. Also I cannot move the icons to the left end of the screen, only to the right edge of the taskbar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>399243</commentid>
    <comment_count>4</comment_count>
    <who name="f00bar12">asparks</who>
    <bug_when>2005-12-17 00:29:47 +0000</bug_when>
    <thetext>Icons on my desktop move down with every restart, at least as many pixels as there are on my top-of-desktop child panel.  Extremely annoying, did not have this problem with 3.4.  Using kde-redhat RPM builds on CentOS 4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>403329</commentid>
    <comment_count>5</comment_count>
    <who name="Gunter Ohrner">mails.bugs.kde.org-2025-1</who>
    <bug_when>2006-01-03 11:49:53 +0000</bug_when>
    <thetext>I can confirm this bug, it&apos;s the same bug as #118385 (https://bugs.kde.org/show_bug.cgi?id=118385). It completely messes up my desktop icon configuration... :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>404627</commentid>
    <comment_count>6</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2006-01-08 20:46:08 +0000</bug_when>
    <thetext>SVN commit 495736 by mkoller:

BUG: 117868
Avoid to move icons on desktop when a new panel is added in case
the icons will not be covered by it anyway.



 M  +25 -5     kdiconview.cc  


--- branches/KDE/3.5/kdebase/kdesktop/kdiconview.cc #495735:495736
@@ -150,6 +150,7 @@
       m_gotIconsArea(false)
 {
     setResizeMode( Fixed );
+    setIconArea( desktopRect() );  // the default is the whole desktop
 
     // Initialise the shadow data objects...
     m_shadowEngine = new KShadowEngine(new KDesktopShadowSettings(KGlobal::config()));
@@ -1379,24 +1380,43 @@
 
     if ( iconArea() == wr ) return;  // nothing changed; avoid repaint/saveIconPosition ...
 
-    kdDebug(1204) &lt;&lt; &quot;KDIconView::updateWorkArea wr: &quot; &lt;&lt; wr.x() &lt;&lt; &quot;,&quot; &lt;&lt; wr.y()
-              &lt;&lt; &quot; &quot; &lt;&lt; wr.width() &lt;&lt; &quot;x&quot; &lt;&lt; wr.height() &lt;&lt; endl;
     QRect oldArea = iconArea();
     setIconArea( wr );
 
+    kdDebug(1204) &lt;&lt; &quot;KDIconView::updateWorkArea wr: &quot; &lt;&lt; wr.x() &lt;&lt; &quot;,&quot; &lt;&lt; wr.y()
+              &lt;&lt; &quot; &quot; &lt;&lt; wr.width() &lt;&lt; &quot;x&quot; &lt;&lt; wr.height() &lt;&lt; endl;
+    kdDebug(1204) &lt;&lt; &quot;  oldArea:                     &quot; &lt;&lt; oldArea.x() &lt;&lt; &quot;,&quot; &lt;&lt; oldArea.y()
+              &lt;&lt; &quot; &quot; &lt;&lt; oldArea.width() &lt;&lt; &quot;x&quot; &lt;&lt; oldArea.height() &lt;&lt; endl;
+
     if ( m_autoAlign )
         lineupIcons();
     else {
         bool needRepaint = false;
         QIconViewItem* item;
         int dx, dy;
+
         dx = wr.left() - oldArea.left();
         dy = wr.top() - oldArea.top();
+
         if ( dx != 0 || dy != 0 ) {
-            needRepaint = true;
-            for ( item = firstItem(); item; item = item-&gt;nextItem() )
-                item-&gt;moveBy( dx, dy );
+          if ( (dx &gt; 0) || (dy &gt; 0) ) // the iconArea was shifted right/down; less space now
+              for ( item = firstItem(); item; item = item-&gt;nextItem() ) {
+                  // check if there is any item inside the now unavailable area
+                  // If so, we have to move _all_ items
+                  // If not, we don&apos;t have to move any item (avoids bug:117868)
+                  if ( (item-&gt;x() &lt; wr.x()) || (item-&gt;y() &lt; wr.y()) ) {
+                    needRepaint = true;
+                    break;
+                  }
+              }
+          else  // the iconArea was shifted left/up; more space now - use it
+              needRepaint = true;
+
+            if ( needRepaint )
+                for ( item = firstItem(); item; item = item-&gt;nextItem() )
+                    item-&gt;moveBy( dx, dy );
         }
+
         for ( item = firstItem(); item; item = item-&gt;nextItem() ) {
             QRect r( item-&gt;rect() );
             int dx = 0, dy = 0;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>404645</commentid>
    <comment_count>7</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2006-01-08 21:28:18 +0000</bug_when>
    <thetext>*** Bug 114921 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>410532</commentid>
    <comment_count>8</comment_count>
    <who name="Gunter Ohrner">mails.bugs.kde.org-2025-1</who>
    <bug_when>2006-02-01 11:51:18 +0000</bug_when>
    <thetext>I just updated to KDE 3.5.1 and it&apos;s not really fixed for me. I have an auto-hidden taskbar in the top left corner and all icons stay away from the area the taskbar would occupy if it was not hidden.

Is this a different bug? Anyhow, KDE 3.5.1 made no improvements for me in this respect. :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412259</commentid>
    <comment_count>9</comment_count>
    <who name="Philipp Sternberg">philipp.sternberg</who>
    <bug_when>2006-02-07 16:24:25 +0000</bug_when>
    <thetext>Hi guys, there seem to be several reports commenting on icons loosing their position if child panels are used. However they are all slightly different. The above described problem applies perfctly to what i can see after logging in on my desktop except of icons moving up and not down.(using Debian Sid KDE 3.5.1 packages)

Here a short list of bugs which seem to be related to this, which are not marked as duplicates but as resolved bugs:

Bug 103985: icons move to upper left corner (appaerently no child panel used)
Bug 82800: (same description, as already mentioned above)
Bug 47627: many comments describing various similar problems (exists since 2002-09-08 !!!)
Bug 91575: same problem as described here

Sorry to Martin Koller, Benoit Walter and David Faure who obviously put a lot of work in these things, this bug seems to be a realy tough one.

By the way accroding to J.R.R Gott&apos;s forumla, to calucalte how long things will still exist, this bug will live at least another 32 days or at most another 133 years and some 93 days with a probability of 95% if you take 2002-09-08 as the very opening date of this bug....let&apos;s hope that the real time to solve this is nearer to the 32 days than to 133 years....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412327</commentid>
    <comment_count>10</comment_count>
    <who name="J.O. Aho">trizt</who>
    <bug_when>2006-02-07 19:33:40 +0000</bug_when>
    <thetext>@Philipp Sternberg

I guess it&apos;s difficult to describe the problem in an universal way that everyone would think is a logical description, which makes there are many bugs that describes the problem and it can make it more difficult for the devels to figure it out.


Now of late my icons has been quite still.

I have now &quot;Align to Grid&quot; and &quot;Lock in Place&quot; enabled, the icons stopped at the grid just belove the top panel. Hiding the pannel won&apos;t move the icons (good).
I&apos;m thinking of upgrading to the monolithic kde 3.5.1, not sure if things will work the same way as in the modular kde 3.5.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>498495</commentid>
    <comment_count>11</comment_count>
    <who name="Andrew Matta">andrewmatta</who>
    <bug_when>2007-01-06 05:48:18 +0000</bug_when>
    <thetext>Similar things happen for me on Debian Testing with KDE 3.5.5, I have a small panel on the bottom and one auto-hiding panel each on the left and top. If I manually arrange the icons on the desktop, log out, and log back in it shuffles them around. I assume that the panels have something to do with it but it doesn&apos;t just shift icons up or down it actually rearranges them sometimes. Over time the original columns have turned in to a sort of triangle in the upper left corner of the screen. It is extremely annoying.

What would be great is if when the user selects the &quot;Lock In Place&quot; option (or add a new option such as &quot;Save Current Layout&quot;), the desktop would record the locations of all the icons and save that configuration. When panels appear and resolutions change it might rearrange icons temporarily, but it should keep the original locked configuration. Every time resolution or panel configurations change it should attempt to lay out the icons as close to the original pattern as possible. In other words, always retain the original layout, when the original layout is not possible adjust it as needed for the moment, then each time the space given to the icons on the desktop changes repeat the process (Load original layout again, modify temporarily if necessary).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525953</commentid>
    <comment_count>12</comment_count>
    <who name="Jani-Matti Hätinen">jani-matti.hatinen</who>
    <bug_when>2007-05-16 00:16:57 +0000</bug_when>
    <thetext>I can confirm that this (or something similar) still happens with KDE-3.5.6.

I&apos;m running Gentoo with the following package versions:
kde-base/kdelibs-3.5.6-r8
kde-base/kdesktop-3.5.6-r2
kde-base/kicker-3.5.6

I have a static panel at the bottom of the screen and an additional auto-hidin panel at the left edge of the screen. Furthermore I&apos;ve set my desktop icons to Align to grid and to not be locked in place.

Whenever I log in (or kill and start kicker) the icons on my desktop move one step to the right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525955</commentid>
    <comment_count>13</comment_count>
      <attachid>20578</attachid>
    <who name="Jani-Matti Hätinen">jani-matti.hatinen</who>
    <bug_when>2007-05-16 00:23:50 +0000</bug_when>
    <thetext>Created attachment 20578
Relevant configuration files from my system

Attached are the configuration files for kdesktop, kicker and the child panel I
mentioned. These are taken straight out of my system with no modifications.

Please tell me if you need other config files to reproduce this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>661066</commentid>
    <comment_count>14</comment_count>
    <who name="Drew Kraus">bluevette</who>
    <bug_when>2008-11-06 18:52:45 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>692459</commentid>
    <comment_count>15</comment_count>
    <who name="FiNeX">finex</who>
    <bug_when>2009-01-02 20:31:57 +0000</bug_when>
    <thetext>Bug closed. Kdesktop is no more mantained.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>20578</attachid>
            <date>2007-05-16 00:23:50 +0000</date>
            <delta_ts>2007-05-16 00:23:50 +0000</delta_ts>
            <desc>Relevant configuration files from my system</desc>
            <filename>desktop configuration files bug#117868.tar.gz</filename>
            <type>application/x-tgz</type>
            <size>1898</size>
            <attacher name="Jani-Matti Hätinen">jani-matti.hatinen</attacher>
            
              <data encoding="base64">H4sICDgySkYAA3V2cHdvYS50YXIA7VhNc9s4D85Zv8KH9+jE+razMzo0bdJ2mnQzcbLd2YzHQ0u0
zYgiFYqK7fz6F9S3FKdVOrvtxeg0FiCCAAESfAR/TWgQI4bpPPuLtxKzhHA2Xz0vt8+Pm4A9sZW9
YQ+THU3mwj96O+lArq6rX2PsGBlv2Hb2C2TZjn5k6K5p2qY7Nqwj3TRNwz4a6D9h682UJhKJweDo
ATGWfnccFsmvcOjX0v27OKZYzo2Z9p6zJVldEIo9yv2QpzLfEigfEYvHwDh9ZM9+sHu2Fw9yET3A
ftA+4CSUPG7qnQS5TLsQGE9j5GPT07VPmKzW8oKLbySQ60+ESc8yNK30wGx5EEZk2zLP1gGPF4uI
sjQUqR063Ii75pVSPry3B7YOHnzEDAtEZ9o7SlYswiA3tdytxPS+XGGWnqVSwqEwhlMsnoiPX+En
Hd7s8G6HH3d4q8M7Hd4u+ZZPZQTLB0N7l0r+iQT4A8RvBysv+WsVUU+KFFei6YZIf+0tEU2wdob8
cCV4ygL1qhC+hzPCoyl5xjDT+RayEmRMNo0a946RCEkoGntE0xjjQIX58/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