Bug 62627 - mounted unmounted devices show incorectly on desktop
Summary: mounted unmounted devices show incorectly on desktop
Status: CLOSED FIXED
Alias: None
Product: kdesktop
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 86666 87378 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-14 00:31 UTC by Philip Wall
Modified: 2009-01-02 20:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Wall 2003-08-14 00:31:59 UTC
Version:            (using KDE KDE 3.1.3)
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3 
OS:          Linux

If you run KDE as a regular user. Do Configure Desktop, Behavior, X disply devices on desktop, make sure only Mounted Hard Disc Partitions is checked, apply.
Open terminal window, su to root and mount a partition. The desktop will flash a few times and the icon for the newly mounted partition may show up, I say may since it for me appears to be a 50/50 chance it won't.
If you unmount the previously mounted partition I would say theres a 98% chance the mounted icon will remain on the desktop even though mount in the terminal window shows it's not mounted. The only way I have been able to clear the icon is to uncheck display devices, apply, check it again, apply.
This bug appears to happen with SMB mounted shares, CD drives as well as regular partitions. Having them listed in fstab or not doesn't seem to make much of a difference. The partition I use to test it isn't listed in fstab but the cd drive is.
There also seems to be some odd SMB thing going on if you use mount to mount a remote SMB share, have mounted SMB shares shown on the desktop and then unmount the SMB share. The icon remains as above but smbclient doesn't exit cleanly leaving itself in memory. That may be an SMB problem but I don't see it if I'm not showing devices on the desktop. Samba 2.2.8a.
Comment 1 Anatoli Stokurev 2003-09-12 16:48:02 UTC
automating hiding smb unmounted icons worked for me in 3.1.2 (all from slackware)
now in 3.1.3 it doesnt work.

it is corectly configured 
(show smb mounted devices, dont show smb unmounted devices)
btw, my LC_ALL=sk_SK.ISO-8859-2
Comment 2 Philip Wall 2004-05-15 04:23:25 UTC
I am still seeing this bug in 3.2.2.
Comment 3 Philip Wall 2004-12-17 15:56:52 UTC
Still seems to be an issue. 3.3.2 doesn't even seem to want to show icons for mounted cdrom drives at all no matter what options you check to show.
Comment 4 Philip Wall 2004-12-17 15:58:51 UTC
Mis clicked and didn't mean to close the bug.
Comment 5 Thiago Macieira 2004-12-17 20:23:36 UTC
Is this restricted to the devices appearing on the desktop or is it a problem as well in the devices:/ listing (Open "devices:/" in Konqueror and try the mounting/umounting, please)?
Comment 6 Philip Wall 2004-12-18 11:06:53 UTC
Seems to only affect the desktop icons showing on the desktop. Konqueror shows the correct info.
Comment 7 Thiago Macieira 2004-12-18 15:25:03 UTC
Here comes the hard part: can you reproduce this with KDE 3.4 alpha 1? The kio_devices ioslave has been replaced with a new one and the bug could have been solved.
Comment 8 Philip Wall 2004-12-19 09:39:20 UTC
I tend to avoid Alpha level code but when it finalizes I will check it out.
Comment 9 Martin Koller 2005-02-06 19:34:14 UTC
*** Bug 86666 has been marked as a duplicate of this bug. ***
Comment 10 Martin Koller 2005-02-06 19:35:27 UTC
*** Bug 87378 has been marked as a duplicate of this bug. ***
Comment 11 Michael Brade 2005-02-13 16:43:53 UTC
CVS commit by brade: 

Wonderful that Qt/KDE takes ages to compile---just had the best idea of all
to fix #62627 most efficiently: add a new method aboutToRefreshItem() that
tells the KDirListers which item will be refreshed so that the KDirLister
can check if this item is currently filtered out or not. Then use this
information in addRefreshItem() to decide if the newItems(), refreshItems(),
or deleteItem() signal has to be used.

BUGS:62627


  M +57 -13    kdirlister.cpp   1.185
  M +1 -0      kdirlister.h   1.75
  M +6 -1      kdirlister_p.h   1.35



Comment 12 Boris N.Kazak 2005-03-07 12:52:53 UTC
I am still seeing this bug in Slackware 10.1 (KDE 3.3.2)
and in SimplyMepis 3.3 (KDE 3.3.1).
If there is a fix, where can I get the correct script or how am I supposed to amend the existing ones?
Comment 13 Philip Wall 2005-03-21 06:09:13 UTC
This appears to me to be fixed in KDE 3.4.0. Just got the build from source done and everything seems to work the way it should. Icons are correctly updating no matter how the partition or device is mounted.
I will say I do miss the devices:/ sidebar tab that was in previous versions of KDE and appears to have been replaced with the media:/ url. Only took a few minutes to find the new type and to create the proper tab for the sidebar to get the same functionality back it just would have been nice to have the change done for me.
Comment 14 FiNeX 2009-01-02 20:22:43 UTC
Bug closed. Kdesktop is no more mantained.