Bug 61341 - kdesktop icons flicker during download (too frequent notifications of file size change)
Summary: kdesktop icons flicker during download (too frequent notifications of file si...
Status: CLOSED WORKSFORME
Alias: None
Product: kdesktop
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 60181 83493 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-17 00:05 UTC by John Goodman
Modified: 2009-01-02 20:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Goodman 2003-07-17 00:05:59 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Mandrake RPMs
OS:          Linux

I booted up my machine and the desktop icons kept flickering. I couldn't get it to stop. I tried restarting kde by loging out and back in. Then rebooting. Resorting the icons. Changing the background and then finally the thing that stopped it was deleting the download of OpenOffice.org1.1rc that I had installed earlier in the day. I didn't need it as it was already installed but it was a wierd bug.
Comment 1 John Goodman 2003-07-17 12:42:15 UTC
I can reproduce this bug now. If you use kget to download a file to the desktop 
then delete the file. When you next log in kget starts to download the file again. 
This is when the desktop icons begin flickering. So now I know what caused it 
that first time. 
 
With some experimenting I find that downloading anything to the desktop with 
kget causes this. Further experiments show that any download from any source to 
the desktop cause this with or without kget. 
 
Having seen this I tried downloading to open folders in konqueror and there is no 
flickering of icons so this is a problem only with kdesktop. 
 
I hope this is enough info and is helpful to someone. 
 
John 
Comment 2 David Faure 2003-07-17 14:57:48 UTC
Subject: Re:  New: kdesktop icons keep flickering

On Thursday 17 July 2003 00:06, you wrote:
> Version:            (using KDE KDE 3.1)

Sounds like an already fixed bug - please try upgrading to a newer version of KDE.

Comment 3 John Goodman 2003-07-18 15:59:48 UTC
Sorry I can't test a newer version of kde I have been trying to learn to use gentoo 
so that I can stay upto date but every time I have tried I fail to compile kde and If 
I update mandrakes kde I always screw it up and I don't know why so until I've 
learned I can't try this on a newer system. I have gotten hold of a system I can 
mess up without worrying about my work so hopefully I can be more helpful next 
time once I've learned. For now I'm happy to assume your right and the bug has 
been fixed so I'm marking the bug as resolved. 
John 
Comment 4 David Faure 2003-08-30 18:03:14 UTC
Subject: kdebase/kdesktop

CVS commit by faure: 

* Don't touch the target of a symlink when renaming a symlink
* Set bool correctly so that we don't keep saving to .directory, which triggered
a KDirWatch update, which got us a completed() signal, which made us save to
.directory again, etc. This was the "icons keep flickering" bug.
CCMAIL: 61341@bugs.kde.org, 62530-done@bugs.kde.org, 62532-done@bugs.kde.org


  M +2 -1      kdiconview.cc   1.86


--- kdebase/kdesktop/kdiconview.cc  #1.85:1.86
@@ -885,4 +885,5 @@ void KDIconView::slotCompleted()
         slotSaveIconPositions();
         m_hasExistingPos = true; // if we didn't have positions, we have now.
+        m_bNeedSave = false;
     }
     if ( m_bNeedRepaint )
@@ -930,5 +931,5 @@ void KDIconView::slotItemRenamed(QIconVi
     {
        KFileIVI *fileItem = static_cast< KFileIVI* >( _item );
-       if ( fileItem->item() )
+       if ( fileItem->item() && !fileItem->item()->isLink() )
        {
           QString desktopFile( fileItem->item()->url().path() );


Comment 5 Sean Lynch 2003-11-11 08:16:42 UTC
I am running CVS Head (11/09/03) and this still seems present.  I am currently downloading some files from an ftp (dragged from konq to desktop) and my icons are flashing about once a second, and have been for some time (i'm downloading kernel source, hence, a big download).

Even though this bug is closed, I figured I should post to it then open a new one.  If I don't hear a response about this in the next couple days or am told otherwise, I'll open a new bug.  Not sure how well seen already closed bugs are seen.
Comment 6 David Faure 2003-11-11 13:53:44 UTC
Subject: Re:  kdesktop icons keep flickering

> I am currently downloading some files from an ftp (dragged from konq to desktop) and my icons are flashing about once a second

Ah, that's different.

There was a "the icons keep flickering for NO reason, due to .directory being saved" bug, that one is fixed.
What you're seeing is simply the fact that "directory changes notifications" (our ref: KDirWatch)
happen way too often. I thought we had a timer in KDirWatch, but I'm not 100% sure of it now.
To be investigated.

Don't create a new bug; I'll reopen this one, with a more descriptive title.

Comment 7 David Faure 2003-11-11 13:53:47 UTC
So this was different from 62530.
Comment 8 Eduardo Robles Elvira 2004-05-25 13:36:53 UTC
To me desktop icons blink when downlading files with apollon to ~/Desktop/Shared Folder. I belive it's related to this bug, isn't it ? 

It's really annoying...
Comment 9 Eduardo Robles Elvira 2004-06-13 11:55:58 UTC
BTW, the bug is still present in KDE 3.2.2. Can someone mark it as New instead of unconfirmed please?
Comment 10 Daniel D. 2004-07-22 17:05:55 UTC
I just upgraded from KDE 3.2.2 to 3.2.3  (mandrake) and the flickering behaviour is still present. friggin annoying.
Comment 11 Eduardo Robles Elvira 2004-07-23 11:25:26 UTC
So, can at least someone please mark this as new? I hope this get fixed for KDE 3.3, has someone reproduced this annoying bug in the latests kde 3.3 beta releases?
Comment 12 Maksim Orlovich 2004-11-19 18:10:08 UTC
*** Bug 83493 has been marked as a duplicate of this bug. ***
Comment 13 dierck.hillmann 2005-01-26 17:34:10 UTC
*** This bug has been confirmed by popular vote. ***
Comment 14 Martin Koller 2005-02-06 21:18:46 UTC
Can not reproduce with current 3.4. I tried a copy of a 800 MB file (via fish://) and saw no flickering in at least 20 seconds.
I'm using famd on Linux 2.6.7
Comment 15 Urs Wolfer 2005-07-26 20:23:01 UTC
*** Bug 60181 has been marked as a duplicate of this bug. ***
Comment 16 FiNeX 2009-01-02 20:22:28 UTC
Bug closed. Kdesktop is no more mantained.