Bug 134153 - Collection list disappears when K3B-1.0_preX stops kded mediamanager and medianotifier
Summary: Collection list disappears when K3B-1.0_preX stops kded mediamanager and medi...
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 1.4.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-16 10:05 UTC by Elias Probst
Modified: 2007-05-01 21:22 UTC (History)
1 user (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 Elias Probst 2006-09-16 10:05:33 UTC
Version:           1.4.3 (using KDE KDE 3.5.4)
Installed from:    Gentoo Packages

As I'm currently testing the new K3B-1.0_preX release I found a problem in Amarok.

Because of a bug in kdelibs, K3B stops the KDED Mediamanager and Medianotifier before burning/ripping/copying a CD/DVD/..
As soon as this daemons are stopped, the collection view of Amarok gets totally empty.

Although K3B restarts this daemons after doing it's job, the collection view stays empty, only restarting Amarok helps.
Comment 1 Elias Probst 2006-09-16 10:07:40 UTC
Just did some testing... it happens, when the KDED Mediamanager is stopped... Medianotifier doesn't affect this.
Comment 2 Maximilian Kossick 2006-09-16 21:32:39 UTC
As a workaround, you can add DynamicCollection=false to the [Collection] section of your amarokrc. This will disable Amarok's Dynamic Collection feature.
Is there a bug report for K3B's problem? This isn't really an Amarok bug, but I might be able to add some code to recover to some extent.
Comment 3 Ian Monroe 2006-09-16 23:26:46 UTC
K3B 1.0 turns off the mediamangager since it querying the CD drives can interfer with burns.

So I guess the mediamanager disappearing while amarok is running is something we have to deal with...
Comment 4 Maximilian Kossick 2006-09-17 00:03:59 UTC
I think it's possible to recover by polling MediaManager and updating Amarok's list of available devices as soon as MediaManager is available again. The only problem left is that the collection will be empty as long as MediaManager is not available (there are some corner cases where the collection will not vanish but those are not relevant).
The only option to solve this problem that I see is to implement a compatibility mode in both Amarok and K3b...K3b will have to emit a DCOP signal when it is about to deactivate MediaManager, and Amarok will listen to that signal. If we are doing that K3b can emit another signal after activating the KDED MediaManager so we won't have to poll.

I haven't talked to the K3b dev(s) yet, but will do that as soon as I get some feedback on this problem from the other Amarok devs.
Comment 5 Elias Probst 2006-09-17 16:08:51 UTC
Sebastian Trueg knows about this problem. See bug#134158 (issue 4.)
Comment 6 Elias Probst 2007-04-05 18:23:52 UTC
Seems not to happen anymore using k3b-1.0 and Amarok-1.4.5.
If 2 or 3 people would confirm this we can close the bug.
Comment 7 shattered 2007-04-14 09:54:18 UTC
Yes, this WFM with k3b-1.0 and Amarok-1.4.5.
Comment 8 Elias Probst 2007-05-01 21:22:53 UTC
This problem never occured here. Nobody else complained, so I think it's o.k. closing this bug as RESOLVED.