Bug 131351 - media manager loses devices upon manual mount/unmount
Summary: media manager loses devices upon manual mount/unmount
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: media (show other bugs)
Version: 3.5
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-25 16:10 UTC by richlv
Modified: 2009-02-28 11:04 UTC (History)
2 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 richlv 2006-07-25 16:10:07 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Slackware Packages
OS:                Linux

this behaviour is exposed by recent versions of amarok, which depend on media manager daemon to provide dynamic collection support.

this happens with fstab backend, no hal/dbus.

whenever a device is manually mounted or unmounted (with or without an entry in fstab), all the devices are removed in amarok.

restarting media manager daemon and amarok brings them back.

the devices disappear also when amarok is not running and a manual mount/umount is performed.
Comment 1 Kevin Ottens 2006-07-25 16:21:46 UTC
They disappear from amarok? or from media:/? or both?
Comment 2 richlv 2006-07-25 16:33:34 UTC
they disappear from amarok, but stay in media:/
Comment 3 Kevin Ottens 2006-07-25 17:06:14 UTC
Ok, reassigning there then. It's likely to be an amarok bug.
Comment 4 richlv 2006-07-25 17:14:31 UTC
additional info, based mo max's question ;)
actually devices stay in media:/, but they appear as unmounted (whereas they appear as mounted before performing manual mount/umount).
sorry for missing that fact.
Comment 5 Maximilian Kossick 2006-07-25 17:17:52 UTC
No, it's not an Amarok bug. Running dcop kded mediamanager fullList after mounting/unmounting a device shows that the mount status of all other devices is set to unmounted, although they are actually still mounted. Mediamanager emits the DCOP signal mediumChanged for every device. Forcing mediamanager to reload its backends restores the correct state of the mountpoints, but only till the next manual mount/umount
Comment 6 Alexandre Oliveira 2006-07-25 17:43:34 UTC
Sending back the report, then.
Comment 7 richlv 2006-08-02 14:13:25 UTC
if anybody else stumbles upon this before it's fixed - as an alternative to opening services window & starting/stopping media device service there, you can try executing
`dcop kded mediamanager reloadBackends`
Comment 8 richlv 2006-08-04 15:20:28 UTC
for the record : just mounted & unmounted usb flash - and only the correct device was added/removed in amarok, also media:/ still shows all the correct devices as mounted.

i have upgraded to kde 3.5.4, so this might be fixed in there - but it would be nice of other could thest this, too. even better would be a particular commit so that we know this indeed is fixed ;)
Comment 9 David Unric 2006-11-26 02:40:12 UTC
I can confirm the same behaviour. It's probaly related to latest S. Kulow patch fixing bug nr. 132281 (https://bugs.kde.org/show_bug.cgi?id=132281#c10)
Comment 10 Ricardson Williams 2006-12-06 01:36:42 UTC
I can confirm the same behaviour.
Comment 11 Kevin Ottens 2009-02-28 11:04:27 UTC
kio media doesn't exist on KDE4.