Version: 2.2-GIT (09/08/2009 built) (using KDE 4.3.0) OS: Linux Installed from: Ubuntu Packages This bug happens randomly. I have an audio CD in my cd drive. I eject the cd, and replace it by another. The KDE 'Recently plugged-in devices' notification window pops up in my taskbar. The CD is present in dolphin But not in amarok. Amarok apparently detects the audio cd, but doesn't display it. Here is the output when launching amarok --debug : amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&) amarok: [MediaDeviceCache] Found new Solid device with udi = "/org/freedesktop/Hal/devices/volume_part_1_size_642267136" amarok: [MediaDeviceCache] Device name is = "Volume" and was made by "" amarok: [MediaDeviceCache] device is an Audio CD amarok: BEGIN: void MediaDeviceMonitor::deviceAdded(const QString&) amarok: BEGIN: void MediaDeviceMonitor::checkDevice(const QString&) amarok: BEGIN: virtual bool MtpConnectionAssistant::identify(const QString&) amarok: Not a PMP amarok: END__: virtual bool MtpConnectionAssistant::identify(const QString&) - Took 0.00073s amarok: BEGIN: virtual bool AudioCdConnectionAssistant::identify(const QString&) amarok: OpticalDisc amarok: AudioCd amarok: END__: virtual bool AudioCdConnectionAssistant::identify(const QString&) - Took 0.00058s amarok: [MediaDeviceMonitor] Device identified with udi: "/org/freedesktop/Hal/devices/volume_part_1_size_642267136" amarok: BEGIN: virtual void ConnectionAssistant::tellIdentified(const QString&) amarok: BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const amarok: [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty amarok: END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 8.1e-05s amarok: BEGIN: AudioCdCollection::AudioCdCollection(MediaDeviceInfo*) amarok: Getting Audio CD info amarok: BEGIN: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*) amarok: END__: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*) - Took 6.8e-05s amarok: END__: AudioCdCollection::AudioCdCollection(MediaDeviceInfo*) - Took 0.0022s amarok: BEGIN: void MediaDeviceCollection::slotAttemptConnectionDone(bool) amarok: [MediaDeviceCollection] connection failed, not scanning amarok: BEGIN: void MediaDeviceCollectionFactoryBase::slotDeviceDisconnected(const QString&) amarok: END__: void MediaDeviceCollectionFactoryBase::slotDeviceDisconnected(const QString&) - Took 4.8e-05s amarok: END__: void MediaDeviceCollection::slotAttemptConnectionDone(bool) - Took 0.00019s amarok: END__: virtual void ConnectionAssistant::tellIdentified(const QString&) - Took 0.0026s amarok: END__: void MediaDeviceMonitor::checkDevice(const QString&) - Took 0.0041s amarok: END__: void MediaDeviceMonitor::deviceAdded(const QString&) - Took 0.0042s amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 0.014s amarok: BEGIN: void MountPointManager::deviceAdded(const QString&) amarok: END__: void MountPointManager::deviceAdded(const QString&) - Took 0.0023s amarok: BEGIN: void CollectionTreeView::slotExpand(const QModelIndex&) amarok: modelindex = QModelIndex(0,0,0x993ed20,CollectionTreeItemModel(0x993e038) ) amarok: m_filterModel ? true amarok: END__: void CollectionTreeView::slotExpand(const QModelIndex&) - Took 0.00014s amarok: BEGIN: void CollectionTreeView::slotExpand(const QModelIndex&) amarok: modelindex = QModelIndex(767,0,0xc2d0b38,CollectionTreeItemModel(0x993e038) ) amarok: m_filterModel ? true QPainter::begin: Cannot paint on a null pixmap QPainter::translate: Painter not active QPainter::end: Painter not active, aborted QPainter::begin: Cannot paint on a null pixmap QPainter::translate: Painter not active QPainter::end: Painter not active, aborted amarok: END__: void CollectionTreeView::slotExpand(const QModelIndex&) - Took 0.00018s amarok: BEGIN: void CollectionTreeView::slotExpand(const QModelIndex&) amarok: modelindex = QModelIndex(882,0,0xc2d4120,CollectionTreeItemModel(0x993e038) ) amarok: m_filterModel ? true QPainter::begin: Cannot paint on a null pixmap QPainter::translate: Painter not active QPainter::end: Painter not active, aborted QPainter::begin: Cannot paint on a null pixmap QPainter::translate: Painter not active QPainter::end: Painter not active, aborted amarok: END__: void CollectionTreeView::slotExpand(const QModelIndex&) - Took 0.00018s amarok: BEGIN: void CollectionTreeView::slotExpand(const QModelIndex&) amarok: modelindex = QModelIndex(6,0,0xbf55bd0,CollectionTreeItemModel(0x993e038) ) amarok: m_filterModel ? true QPainter::begin: Cannot paint on a null pixmap QPainter::translate: Painter not active QPainter::end: Painter not active, aborted QPainter::begin: Cannot paint on a null pixmap QPainter::translate: Painter not active QPainter::end: Painter not active, aborted amarok: END__: void CollectionTreeView::slotExpand(const QModelIndex&) - Took 0.0002s amarok: BEGIN: void CollectionTreeView::slotExpand(const QModelIndex&) amarok: modelindex = QModelIndex(7,0,0xc2d7258,CollectionTreeItemModel(0x993e038) ) amarok: m_filterModel ? true QPainter::begin: Cannot paint on a null pixmap QPainter::translate: Painter not active QPainter::end: Painter not active, aborted QPainter::begin: Cannot paint on a null pixmap QPainter::translate: Painter not active QPainter::end: Painter not active, aborted amarok: END__: void CollectionTreeView::slotExpand(const QModelIndex&) - Took 0.00017s amarok: BEGIN: void ScanManager::startIncrementalScan() amarok: scanning currently blocked amarok: END__: void ScanManager::startIncrementalScan() - Took 0.00061s amarok: BEGIN: void ScanManager::startIncrementalScan() amarok: scanning currently blocked amarok: END__: void ScanManager::startIncrementalScan() - Took 0.00012s amarok: BEGIN: void ScanManager::startIncrementalScan() amarok: scanning currently blocked amarok: END__: void ScanManager::startIncrementalScan() - Took 0.00012s amarok: BEGIN: void ScanManager::startIncrementalScan() amarok: scanning currently blocked amarok: END__: void ScanManager::startIncrementalScan() - Took 0.00012s
After quitting and restarting amarok, the Audio Cd is displayed correctly.
Sorry about last comment : The CD displayed is not the correct one, but the previous audio cd i used (the one I ejected before putting in the cd which caused the bug) ...
Yes, we know about that, but it is not an Amarok bug, but a bug of the underlying kio-audiocd. Sending this upstream.
Should be fixed, please reopen if happens with KDE >= 4.4