<?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>122001</bug_id>
          
          <creation_ts>2006-02-15 04:56:22 +0000</creation_ts>
          <short_desc>desktop icons align to grid broken</short_desc>
          <delta_ts>2009-01-02 20:32:18 +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>general</component>
          <version>unspecified</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>UNMAINTAINED</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="David Sprehn">aitrus72</reporter>
          <assigned_to name="Dirk Mueller">mueller</assigned_to>
          <cc>clive</cc>
    
    <cc>davide</cc>
    
    <cc>faure</cc>
    
    <cc>finex</cc>
    
    <cc>fuzz</cc>
    
    <cc>gilboad</cc>
    
    <cc>milkman</cc>
    
    <cc>mschiff</cc>
    
    <cc>naderrau</cc>
    
    <cc>rdieter</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>131</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>414249</commentid>
    <comment_count>0</comment_count>
    <who name="David Sprehn">aitrus72</who>
    <bug_when>2006-02-15 04:56:23 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.5.1)
Installed from:    Fedora RPMs
OS:                Linux

This seems to be a regression...the problem was fixed in 3.5 but broken again in 3.5.1.  On my desktop, the &quot;align to grid&quot; option has no affect on icons whatsoever.  They don&apos;t align, nor do they adjust when I drag them around.  Please fix this, I like my desktop tidy!

Thanks,
--David</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>415418</commentid>
    <comment_count>1</comment_count>
    <who name="Ernesto Benestante">ochnap2</who>
    <bug_when>2006-02-19 14:06:55 +0000</bug_when>
    <thetext>This happens to me too (using KDE 3.5.1 on debian/unstable). Even if &quot;Align to Grid&quot; is checked, each time I login they appear quite &quot;unaligned&quot;. They are more o less in the place they should be, but not aligned at all.

A momentary workaround is: 
1- open the Configure Desktop dialog and go to the Behaviour tab.
2- uncheck &quot;Show icons on desktop&quot;.
3- Click Apply.
4- Check again &quot;Show icons on desktop&quot;.
5- Click Apply.

and your icons will be correctly aligned... until you logout.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>415760</commentid>
    <comment_count>2</comment_count>
    <who name="Rodrigo S de Castro">rodsc</who>
    <bug_when>2006-02-20 12:15:56 +0000</bug_when>
    <thetext>The same problem here (KDE 3.5.1 on debian/unstable). Alignment doesn&apos;t work at all, unless you use the workaround proposed by Ernesto for the current session.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>425931</commentid>
    <comment_count>3</comment_count>
    <who name="Eric M. Smith">esmithbss</who>
    <bug_when>2006-03-29 22:11:25 +0000</bug_when>
    <thetext>Similar problem here (FC5), but with a dual head system (ATI card and Drivers from livna) running Xinerama.  Icons on Desktop 1 (the notebook&apos;s 1280x800 display) align properly and snap back in place when moved.  Icons on Desktop 2 (separate 1280x1024 monitor) don&apos;t align or snap back when moved.  Only when Ernesto&apos;s workaround is used do they align.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>428732</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Prager">X_X_L</who>
    <bug_when>2006-04-07 13:07:44 +0000</bug_when>
    <thetext>I can confirm the problem. Using dual head, the align to grid option doesn&apos;t work for desktop2. Running kde 3.5.2 on gentoo linux here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>429547</commentid>
    <comment_count>5</comment_count>
    <who name="Antonio">antonio.merker</who>
    <bug_when>2006-04-10 13:33:28 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433633</commentid>
    <comment_count>6</comment_count>
    <who name="Ricardo Correia">bugs.kde.org</who>
    <bug_when>2006-04-24 20:39:35 +0000</bug_when>
    <thetext>Confirmed in single head kde 3.5.2 on gentoo linux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>438121</commentid>
    <comment_count>7</comment_count>
    <who name="Neil Derraugh">naderrau</who>
    <bug_when>2006-05-11 18:59:37 +0000</bug_when>
    <thetext>Ditto for 3.5.2 on gentoo again, single-head.  Ernesto&apos;s fix works too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>438832</commentid>
    <comment_count>8</comment_count>
    <who name="Alexandre Courtois">black.mustang</who>
    <bug_when>2006-05-15 00:11:07 +0000</bug_when>
    <thetext>Same problem with 3.5.2 under ArchLinux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>439505</commentid>
    <comment_count>9</comment_count>
    <who name="Mark Wehner">mark.wehner</who>
    <bug_when>2006-05-17 09:49:01 +0000</bug_when>
    <thetext>The bug seems in some way related to the config option 
UseXineramaScreen in ~/kde/share/config/kickerrc.
If I set this to 0 the symbols are perfectly after restarting kde,
but the option it changed back to -1, which messes up the order for
the next restart.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>440532</commentid>
    <comment_count>10</comment_count>
    <who name="Gilboa Davara">gilboad</who>
    <bug_when>2006-05-20 20:21:09 +0000</bug_when>
    <thetext>Same here.
Problem only appears when xinerama is enabled.

FC5/KDE 3.5.2/x86_64 based on kde-redhat&apos;s SRPMs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>440636</commentid>
    <comment_count>11</comment_count>
    <who name="Gilboa Davara">gilboad</who>
    <bug_when>2006-05-21 11:40:33 +0000</bug_when>
    <thetext>I&apos;ve been able to reproduce this on Xinearama-less (single-head) KDE 3.5.2 machine.

Ernesto (#2) solution seems to work just fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443961</commentid>
    <comment_count>12</comment_count>
    <who name="Alexander">xelfium</who>
    <bug_when>2006-06-03 15:21:52 +0000</bug_when>
    <thetext>Same problem with kde 3.5.2, debian testing: when I&apos;m checking option Alihn to grid it takes no effect to desktop.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>448476</commentid>
    <comment_count>13</comment_count>
    <who name="Alexander">xelfium</who>
    <bug_when>2006-06-21 13:37:39 +0000</bug_when>
    <thetext>Still have this problem after upgrading to 3.5.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449006</commentid>
    <comment_count>14</comment_count>
    <who name="Dirk Mueller">mueller</who>
    <bug_when>2006-06-23 02:14:37 +0000</bug_when>
    <thetext>SVN commit 554047 by mueller:

fix align-to-grid option which regressed due to the startup performance
patches. 
BUG: 122001
BUG: 127672
BUG: 114766
BUG: 117952


 M  +9 -0      desktop.cc  


--- branches/KDE/3.5/kdebase/kdesktop/desktop.cc #554046:554047
@@ -735,6 +735,15 @@
     // hurra! kicker is alive
     if ( m_waitForKicker ) m_waitForKicker-&gt;stop();
 
+    // -2: all screens
+    // -1: primary screen
+    // else: screen number
+
+    if (screen &lt;= -2)
+       screen = kdesktop_screen_number;
+    else if (screen == -1)
+       screen = kapp-&gt;desktop()-&gt;primaryScreen();
+
     if ( (screen == kdesktop_screen_number) &amp;&amp; m_pIconView )
         m_pIconView-&gt;updateWorkArea(area);
 }
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449031</commentid>
    <comment_count>15</comment_count>
    <who name="David Sprehn">aitrus72</who>
    <bug_when>2006-06-23 07:39:53 +0000</bug_when>
    <thetext>Thank you very much for fixing this problem!!!  :-)

Dirk Mueller wrote:

[bugs.kde.org quoted mail]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449062</commentid>
    <comment_count>16</comment_count>
    <who name="Alexander">xelfium</who>
    <bug_when>2006-06-23 10:31:19 +0000</bug_when>
    <thetext>Thanks, working fine! </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449068</commentid>
    <comment_count>17</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2006-06-23 10:49:55 +0000</bug_when>
    <thetext>*** Bug 117550 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449071</commentid>
    <comment_count>18</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2006-06-23 10:54:06 +0000</bug_when>
    <thetext>*** Bug 116341 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449085</commentid>
    <comment_count>19</comment_count>
    <who name="Clive Messer">clive</who>
    <bug_when>2006-06-23 11:42:23 +0000</bug_when>
    <thetext>Verified that this resolves the issue for me on a twinview setup with Xinerama. Thankyou.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>450262</commentid>
    <comment_count>20</comment_count>
    <who name="Davide">davide</who>
    <bug_when>2006-06-28 12:43:12 +0000</bug_when>
    <thetext>I still have the same problem, even after patching sources.
I&apos;m running TwinView on Slackware current.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>450263</commentid>
    <comment_count>21</comment_count>
    <who name="Davide">davide</who>
    <bug_when>2006-06-28 12:44:57 +0000</bug_when>
    <thetext>I&apos;m running KDE 3.5.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>456465</commentid>
    <comment_count>22</comment_count>
    <who name="Chris Nicola">chnicola</who>
    <bug_when>2006-07-28 21:54:56 +0000</bug_when>
    <thetext>Still finding this problem on Kubuntu Dapper

kdesktop --version
Qt: 3.3.6
KDE: 3.5.3
KDesktop: 3.5.3
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462301</commentid>
    <comment_count>23</comment_count>
    <who name="Alexander">xelfium</who>
    <bug_when>2006-08-22 12:34:44 +0000</bug_when>
    <thetext>Hm, sometimes, when I&apos;m inserting DVD in the drive, the line &quot;XineramaScreen=-1&quot; is appearing in file ~/.kde/share/config/kickerrc and function &quot;Align to Grid&quot; stops working. If I delete this line, it begins to work again. Why it is so?
Kde 3.5.3, debian testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462303</commentid>
    <comment_count>24</comment_count>
    <who name="Alexander">xelfium</who>
    <bug_when>2006-08-22 12:36:57 +0000</bug_when>
    <thetext>I forget to say that I have only one display.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462701</commentid>
    <comment_count>25</comment_count>
    <who name="David Sprehn">aitrus72</who>
    <bug_when>2006-08-23 17:27:39 +0000</bug_when>
    <thetext>Thank you very much Alexander!  You seem to have located the problem.  I found the same line (XineramaScreen=-1), and after deleting it and issuing &quot;dcop kicker kicker restart&quot; the icons behave again!  Incidentally, I also have only one screen and am not running xinerama.  KDE Developers: this clue might make the problem easier to fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>487117</commentid>
    <comment_count>26</comment_count>
    <who name="Stefan Kiesler">heavymetal</who>
    <bug_when>2006-11-16 10:34:35 +0000</bug_when>
    <thetext>Is this supposed to be fixed in 3.5.5? If so, I suggest reopening this bug.
I just installed 3.5.5 in hope that this annoying &quot;align to grid&quot; bug has been fixed, but I still experience problems in my xinerama setup even after wiping out my ~/.kde directory.
I let the wizard create a clean configuration, but icons could only be placed and aligned on xinerama screen 1 (which is my right screen at 1024x768; my left screen is 1280x1024). When I disable &quot;align to grid&quot;, I can move icons to screen 2, but as soon as I enable &quot;align to grid&quot;, they jump back to screen 1.
Sometimes enabling &quot;align to grid&quot; doesn&apos;t even work on screen 1. Moving the taskbar from screen 2 back to the default screen 1 also forces the icons back to screen 1 and makes &quot;align to grid&quot; work again (for screen 1 only).

Pleeeeeaaaaase fix this. KDE is wonderful, but this one&apos;s just so annoying...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>500531</commentid>
    <comment_count>27</comment_count>
    <who name="Jo Schulze">jo</who>
    <bug_when>2007-01-11 13:53:18 +0000</bug_when>
    <thetext>This isn&apos;t fixed/broken again in kde 3.5.5 (Twinview, X86_64, openSUSE 10.1)
$ kdesktop --version
Qt: 3.3.7
KDE: 3.5.5 &quot;release .2&quot;
KDesktop: 3.5.5

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>500936</commentid>
    <comment_count>28</comment_count>
    <who name="Jo Schulze">jo</who>
    <bug_when>2007-01-12 21:09:23 +0000</bug_when>
    <thetext>This is definitly related to twinview (more than 1 X11 screen per display device) since the same sw release does work perfectly well when only one screen is configured.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>505803</commentid>
    <comment_count>29</comment_count>
    <who name="peppelorum">peppe</who>
    <bug_when>2007-02-01 21:04:13 +0000</bug_when>
    <thetext>Seems like this is quite not fixed;-)
So I vote for a reopening of this one.

Using debian testing/sid and twinview.
peppe@hoth ~: kdesktop --version
Qt: 3.3.7
KDE: 3.5.5
KDesktop: 3.5.5
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>505947</commentid>
    <comment_count>30</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2007-02-02 14:39:52 +0000</bug_when>
    <thetext>Reopening as requested</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>520796</commentid>
    <comment_count>31</comment_count>
    <who name="Emilio Scalise">emisca</who>
    <bug_when>2007-04-15 12:47:35 +0000</bug_when>
    <thetext>I can confirm this on debian etch 4.0 with kde 3.5.5 and Kubuntu Edgy with kde 3.5.6 and nvidia twinview.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>520834</commentid>
    <comment_count>32</comment_count>
    <who name="Marc Schiffbauer">mschiff</who>
    <bug_when>2007-04-15 17:00:23 +0000</bug_when>
    <thetext>Lets hope for KDE4 as noone seems to be interested in fixing this mess in the 3.5 branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>524232</commentid>
    <comment_count>33</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2007-05-05 20:25:43 +0000</bug_when>
    <thetext>I&apos;m running here on Suse-9.3 with current KDE compiled from source (&gt; 3.5.6) and here it works. I run my X server in Xinerama mode with 2 screens (left=1:1400x1050 and right=2:1280x1024) and can enable/disable aligning to grid without problems. Even moving kicker from one screen to the other does not force any Icons jump to the other screen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>524233</commentid>
    <comment_count>34</comment_count>
    <who name="Emilio Scalise">emisca</who>
    <bug_when>2007-05-05 20:36:10 +0000</bug_when>
    <thetext>The problem is that if you enable align to grid you can&apos;t place icons on one of the two screens.. Try that..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>541036</commentid>
    <comment_count>35</comment_count>
    <who name="Stefan Kiesler">heavymetal</who>
    <bug_when>2007-08-15 18:10:44 +0000</bug_when>
    <thetext>Seems to be fixed in KDE 3.5.7, at least it&apos;s now working on my Gentoo system...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>678803</commentid>
    <comment_count>36</comment_count>
    <who name="FiNeX">finex</who>
    <bug_when>2008-12-10 02:07:15 +0000</bug_when>
    <thetext>Kdesktop is no more mantained. Fortunatly this bug seems not to be valid for KDE 4. Please reopen if this bug is not a kdesktop one (and it is not solved) or it can be reproduced on KDE 4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>692489</commentid>
    <comment_count>37</comment_count>
    <who name="FiNeX">finex</who>
    <bug_when>2009-01-02 20:32:18 +0000</bug_when>
    <thetext>Bug closed. Kdesktop is no more mantained.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>