| Summary: | "no" button in window of confirm erase cd-rw disc not working | ||
|---|---|---|---|
| Product: | [Applications] k3b | Reporter: | Anton <anton25> |
| Component: | general | Assignee: | Sebastian Trueg <trueg> |
| Status: | RESOLVED FIXED | ||
| Severity: | grave | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Anton
2006-02-01 21:34:15 UTC
this is a duplicate of some bug already reported and is caused by automounting. can this be closed (it not being a problem with k3b as such) or should it be kept open to remind developers of this issue? SVN commit 583863 by trueg:
Try unmounting the device before ejecting. Maybe a wrapper method would be better, one that
always unmounts before ejecting.
This is one step but is not guranteed to work all the time.
BUG: 121177
M +5 -0 k3bemptydiscwaiter.cpp
--- trunk/extragear/multimedia/k3b/src/k3bemptydiscwaiter.cpp #583862:583863
@@ -349,6 +349,7 @@
}
else {
kdDebug() << "(K3bEmptyDiscWaiter) starting devicehandler: no DVD+RW overwrite" << endl;
+ K3b::unmount( d->device );
K3bDevice::eject( d->device );
continueWaiting();
}
@@ -418,6 +419,7 @@
}
else {
kdDebug() << "(K3bEmptyDiscWaiter) starting devicehandler: no DVD-RW overwrite." << endl;
+ K3b::unmount( d->device );
K3bDevice::eject( d->device );
continueWaiting();
}
@@ -499,6 +501,7 @@
}
else {
kdDebug() << "(K3bEmptyDiscWaiter) starting devicehandler: no DVD-RW formatting." << endl;
+ K3b::unmount( d->device );
K3bDevice::eject( d->device );
continueWaiting();
}
@@ -573,6 +576,7 @@
}
else {
kdDebug() << "(K3bEmptyDiscWaiter) starting devicehandler: no CD-RW overwrite." << endl;
+ K3b::unmount( d->device );
K3bDevice::eject( d->device );
continueWaiting();
}
@@ -630,6 +634,7 @@
void K3bEmptyDiscWaiter::slotUser2()
{
+ K3b::unmount( d->device );
K3bDevice::eject( d->device );
}
|