[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-05-10 Thread Frode M . Døving
I have a new proposal for gutsy.
Remove current patch to kdebase. (revert to ubuntu19)

I have written a small KDE application that works as a wrapper around 
kio_media_mounthelper.
It provides a progressbar, and shows up instantly.

This is a feisty package for the thing at:
 http://frode.kde.no/misc/kio_umountwrapper/

To remove the old progressbar you need /usr/bin/kio_media_mounthelper from
https://launchpad.net/ubuntu/feisty/i386/kdebase-kio-plugins/4:3.5.6-0ubuntu19

You can either install the package directly and live with the conflicting 
versions or unpack the .deb with the following commands:
$ mkdir debtmp
$ ar xf kdebase-kio-plugins_3.5.6-0ubuntu19_i386.deb
$ tar -zxf data.tar.gz

NOTE: The next command will overwrite your current 
/usr/bin/kio_media_mounthelper, 
to restore it use the command: 'sudo aptitude reinstall kdebase-kio-plugins'

$ sudo cp usr/bin/kio_media_mounthelper /usr/bin/

You can now test safely removing.

Feedback please!

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-05-01 Thread Cimmo
tried new solution built-in in Feisty, it seems to work very well,
however there is still the problem that with big files dialog appears
only at the end of sync, so for a lot of seconds after safely remove is
launched nothing occurs @ the video.

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-17 Thread Cimmo
shiny tried and got 3 times errors :)
Ok 3 is better than nothing... see attachment.

** Attachment added: device busy
   http://librarian.launchpad.net/7339352/shiny2b.png

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-16 Thread Cimmo
thanx shiny I have tested a little your second solution here my personal
suggestions (let's see you if you want to add them):

- if an error occurs can be shown why? For example if you still have an open 
konqueror window
- center window
- window should not be resizable
- close window after synced
- put an application icon, default X is not professional :)
- at the end says: ./media/usbdisk should be /media/usbdisk ?

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-16 Thread shinyblue
Hey Cimmo, thanks for comments!

New tarball, just for you! Same place.

Done:
- if an error occurs can be shown why? For example if you still have an open 
konqueror window
- at the end says: ./media/usbdisk should be /media/usbdisk ?
Errors are reported, full stop removed. Also, sync works towards 99% now, not 
100%, which
is more satisfying to me -- I hate seeing something say it's 100% done and then 
having to wait ages!
It goes to 100% when it starts calling eject.


Don't know how to do:
- center window
- window should not be resizable
- put an application icon, default X is not professional :)


Don't want to do:
- close window after synced
I like the confirmation that it has been successful. It's feasable that some 
error would happen and the application dissappear without it having sucessfully 
unmounted. So I prefer the confirmation.

smiles,
rich

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-16 Thread Cimmo
 I like the confirmation that it has been successful. It's feasable
that some error would happen and the application dissappear without it
having sucessfully unmounted. So I prefer the confirmation.

you can always close window if succesfull or no if some errors are
present

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-14 Thread shinyblue
Erm, if this is properly fixed, great!

Otherwise, I give you my 2nd offering: same workings, but using Python
(QT) and Perl.

details again at: http://shinyblue.net/safelyRemove/

smiles,

Rich.

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-12 Thread Tollef Fog Heen
Seems to be fixed by:

Changes: 
 kdebase (4:3.5.6-0ubuntu20) feisty; urgency=low
 .
   * Add kubuntu_95_safely-remove_umount_dialog.diff
 On 'Safely Remove' this will make a kprogressdialog-popup telling
 the user it's unmounting.
 The popup will not close until the umount is complete. (Closes: LP #61946)

** Changed in: kdebase (Ubuntu)
   Status: In Progress = Fix Released

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-12 Thread Cimmo
Uh? Frode is one of your solutions?

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-11 Thread Frode M . Døving
OK.

New proposal:

Get http://ubuntu.lnix.net/misc/kio_umountwrapper
and http://ubuntu.lnix.net/misc/media_safelyremove.desktop

chmod +x kio_umountwrapper  and copy to /usr/bin/
media_safelyremove.desktop replaces 
/usr/share/apps/konqueror/servicemenus/media_safelyremove.desktop 
(remember to backup).

kio_umountwrapper is a simple kdialog shellscript that executed 
kio_media_mounthelper -s.
This only adds the progress dialog, it does not remove any errors from the 
default behavior.
With this the dialogbox appears instantly.

- Frode

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-11 Thread Cimmo
Tried also this Frode, in fact dialog appears immediately however with big 
files there is always the error mentioned before and sync is not finished when 
appears.
Anyway this is a bug present also in Edgy Default... it's a pity because 
without this bug can be a realiable solution

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-11 Thread Frode M . Døving
Cimmo:

In /etc/dbus-1/session.conf
Can you try to put this line:
  limit name=activation_timeout6/limit
after this:
  limit name=service_start_timeout6/limit

So the section of the file looks like this:
 !-- raise the service start timeout to 40 seconds as it can timeout
   on the live cd on slow machines --
  limit name=service_start_timeout6/limit
  limit name=activation_timeout6/limit


Then restart your machine or dbus and try again.
The error message you see is a D-Bus one.

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-11 Thread Frode M . Døving
Nevermind the latter comment. D-bus has changed. activation_timeout is now 
known as service_start_timeout. 
I have no more ideas right now.

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-11 Thread Cimmo
Frode in fact I had problem log into my account with that modification,
the old text console let me back to previous file ;)

A question:
a script based on shinyblue solution but without kommander dependency?

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-10 Thread Sarah Hobbs
All of them work fine for me.  The last one works best.

Resulting binary file is at
http://ubuntu.lnix.net/misc/kio_media_mounthelper - chmod +x it, and put
it into /usr/bin

Two people have tried this - no ill effects.

We really want to get this fixed for feisty.

** Changed in: kdebase (Ubuntu)
   Target: None = ubuntu-7.04

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-10 Thread Laur Mõtus
Works for me.

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-10 Thread Frode M . Døving
This fix needs testing.
I don't expect testers to compile kdebase so this is a shortcut:
1.  Fetch http://ubuntu.lnix.net/misc/kio_media_mounthelper
2.  Check that md5sum is: 781e26354e3b3a1f4011d47b04107d31
3.  chmod +x kio_media_mounthelper
4.  Backup your existing /usr/bin/kio_media_mounthelper (cp 
/usr/bin/kio_media_mounthelper /tmp/)
5.  sudo cp kio_media_mounthelper/usr/bin/
6.  Safely Remove something.


Thanks for testing.
Please submit your testing results as comments to this bug.

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-10 Thread Cimmo
Ok I've tried a bit this new way:

tried to copy a large file about 50 MB then copied another one (about 15
MB), I know that my usb key is not fast as it shown, so I safely
removed, but dialog isn't appeared immediately but after some seconds
(5-6) and then progress dialog start from 0% and go to 100% very
quickly.

In other words seems that sync is called before showing progress dialog and 
then can confuse people, window dialog shouldn't be opened only at the end of 
sync.
Hope to be clear

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-10 Thread Frode M . Døving
Cimmo: 
Thanks for your testing and reply.
Can you please test this: http://ubuntu.lnix.net/misc/kio_media_mounthelper_r2
MD5SUM:
f6f0160efa1b7cbb20d81f5e3056f8d9  kio_media_mounthelper_r2

Does this behave better?

- Frode

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-10 Thread Cimmo
Frode same identical thing, dialog appears only at the end of sync and
of course is very quick to disappears.

Can be that I'm with Kubuntu Edgy and not Feisty? Anyway I have kde 3.5.6 
installed.
Let me know

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-10 Thread Martijn de Nerd
Tested _r2 on edgy+kde 3.5.6;
-same results as Cimmo, dialog seems to be called after sync
-problem; if the copied file is too large, then sync takes long, resulting in a 
kde -error message (below) concerning a time-out. Tried the same thing in a 
console (sudo umount /dev/sdb1) and although it takes long, it unmounts 
cleanly. 


error message
/*Unfortunately, the device system:/media/sdb1 (/dev/sdb1) named '131M 
Removable Media' and currently mounted at /media/usbdisk could not be 
unmounted. Unmounting failed due to the following error:
Did not receive a reply. Possible causes include: the remote application did 
not send a reply, the message bus security policy blocked the reply, the reply 
timeout expired, or the network connection was broken.
Moreover, programs still using the device have been detected. */

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-10 Thread Frode M . Døving
I am aware of the delay before the dialog is shown, I have not found a simple 
way to make it appear earlier in the process.
The error message comes from the mediamanagers HALbackend. I won't touch that 
code this close to release.
The funny thing is, It might as well unmount successfully even though it gives 
that error.

I will try to figure out a way to do this better for feisty+1.
As of now I belive the question is: Is this good enought for feisty or is it 
better to leave it out?

Thanks for testing and feedback.
- Frode

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-10 Thread Cimmo
Well I have done some more testing and tried to copy a 784.5 MB file, after it 
finished I safely removed and I got the error mentioned by Martijn (see 
attachment).
Tried the same identical file with shinyblue script and it worked a lot better:

window dialog appears immediately and also I didn't receive any errors.
In both case seems that file is copied correctly, but of course an error 
message or a late window dialog can confuse people as I said.

Frode anyway I don't want to say you did a bad job, THANK YOU SO MUCH to take 
care about that problem, I have only made some comparison :)
In my opinion your solution is better than nothing, shinyblue seems more 
reliable but uses kommander that is not installed by default.

thanx to both, hope to have a solution
Cimmo

** Attachment added: error witg kio_media_mh_r2 by Frode with big file
   http://librarian.launchpad.net/7248116/kio_media_mh_r2_error-Edgy.png

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-10 Thread Cimmo
I have to contradict myself, with Frode method when I receive the error
shown in my attachment file is still syncing, if I remove the key just
after received that error message then file is corrupted, tried with
md5sum and they didn't match.

So I'm so sorry but shinyblue solution remains the best and most
reliable one until those bugs are fixed in Frode one ;)

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-08 Thread Frode M . Døving
Got some feedback from Hobbsee, now i've made it show some (pseudo)progress.
New debdiff attached.

** Attachment added: 
kdebase_ubuntu19_ubuntu20-safely_remove_progressidalog_withprogress.debdiff
   
http://librarian.launchpad.net/7217883/kdebase_ubuntu19_ubuntu20-safely_remove_progressidalog_withprogress.debdiff

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-08 Thread Frode M . Døving
More feedback from Hobbsee, the progress dialog now stays open for atleast 1 
second.
That way it doesn't just flash at the user when it finishes quickly.
Now most users manage to read what the dialog says before it finishes.

New debdiff attached

** Attachment added: 
kdebase_ubuntu19_ubuntu20-safely_remove_progressidalog_withprogress_and_quittimer.debdiff
   
http://librarian.launchpad.net/7218673/kdebase_ubuntu19_ubuntu20-safely_remove_progressidalog_withprogress_and_quittimer.debdiff

** Changed in: kdebase (Ubuntu)
 Assignee: (unassigned) = Frode M. Døving
   Status: Confirmed = In Progress

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-07 Thread Frode M . Døving
I've experimented a little with this.
The resulting debdiff is attached.

This progressdialog does not show any real progress, it just sits there at 1/3 
till it's all finished.
I don't expect saving unwritten data to take much time.
It's a quick hack, but i belive it's better than nothing.

Please test/consider/use/enjoy.

- Frode

** Attachment added: 
kdebase_ubuntu19_ubuntu20-safely_remove_progressidalog.debdiff
   
http://librarian.launchpad.net/7216043/kdebase_ubuntu19_ubuntu20-safely_remove_progressidalog.debdiff

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-07 Thread Frode M . Døving

** Attachment added: screenshot_safely_remove_progressdialog.png
   http://librarian.launchpad.net/7216138/safely_remove_progressdialog.png

-- 
[Edgy Data Loss] umount progress dialog missing
https://bugs.launchpad.net/bugs/61946
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-06 Thread shinyblue
I have a temporary fix for this that works for me.

http://shinyblue.net/safelyRemove/

It uses kommander to provide a GUI to replace the KDE Safely Remove
action. It calls sync, monitors /proc/meminfo, and then when sync is
done, it calls eject.

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-06 Thread Cimmo
shiny fix the link ;)

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-04-06 Thread Cimmo
great shinyblue, if it works then must be included in feisty and also
backported to edgy!

thanx!

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-03-27 Thread shinyblue
On Wednesday 28 March 2007 01:22:38 Cimmo wrote:
 shiny fix the link ;)

Hey cimmo

erm, the link is correct

http://shinyblue.net/safelyRemove

site seems to be up for me, I've tried it from two different
connections.

let me know if you still have probs and I'll look into it tomorrow.

smiles,
rich

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-03-27 Thread Jonathan Riddell
shinyblue: the download link doesn't work.

Looks interesting though.  We can't use it by default since we don't
have Kommander installed by default but a version in python would be a
great idea for feisty+1.

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-03-19 Thread Kosmonaut
So, after the very detailed and informativ comments of John Dong, there
seems not to be a solution until Feisty+X. (Give X any number)

As a result, it's gonna take some time to find the optimal solution and
implement it. Confirming the bug and/or lecturing on the seriousness of
this bug any more will just generate more launchpad mail and not add any
productiveness.

Well, I really do understand that position. I guess that it is anoying
to re-re-read all those allready confirmed bugreports. But I don't
understand, what you have written here:

There is not enough information being reported back via this new route
to determine when an unmount operation is completely done... just
whether or not it was successfully initiated.

So there are not enough informations, right? Question: Is Kubuntu the
only KDE-based-distribution, that has this USB-data loss problem? How
do other KDE-distros handle that problem. Or is this a Kubuntu
special*feature* ;-).

I hope, this posting will not be misunsterstood as a *flame-posting*,or
so. If I'd be able to hack this bug, I'd have done it long time ago (but
I ehmm am to stupid for that:-D).

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-03-05 Thread Piero Ottuzzi
Please remember BUG #1!!!

M$ OSes where not as stable as linux but they (almost) never lost data: an OS 
can be unstable, ugly, unfriendly, (whatever you want), but CANNOT loose data!
Nobody would use an OS that compromise data and USB keys (with big size) are 
very common today!
Do something... disable the incriminated GUI components... but do something!

Bye
Piero

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-03-04 Thread Cimmo
I understand that continue to talk about this bug is only spam, but hey,
Feisty is near, and seems that there is NO activity for this bug.

I don't think it's a good idea to release another version affected by this bug.
Hope to understand that true is different.

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-21 Thread usr
The users do not have to put any command in Windows, to report of
which it turns out to be inconvinient to do it whenever you have to
disconnect a device.
If we follow this theory, this does not advance and we will continue
having that to do everything across a terminal.

Excuse my English.

2007/1/20, John Dong [EMAIL PROTECTED]:
 Sure, look in /etc/hal's configuration files, there already is example
 configuration (commented out) for implementing sync policy on removable
 devices.

 Personally, I think it's a better workaround for the time being to
 educate users to issue a sync command at the terminal after
 unmounting, and waiting for that command to return before yanking out
 any media.

 This allows users to keep enjoying the apparently faster write speed and
 only inconveniences the user at unmount time.

 --
 [Edgy Data Loss] umount progress dialog missing
 https://launchpad.net/bugs/61946



-- 
El veloz murcciélago hindú comia feliz cardillo y kiwi. La cigüeña
tocaba el saxofón detrás del palenque de paja. 1234567890.

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-19 Thread kubuntu_user
First of all, let me tank you for taking the time to explain this. Based
on what you said, I am willing to manually fix this problem in all the
installations I have access to, until a ditribution fix is ready.

Are there instructions to implement  Make HAL policy as sync for just
a particular device or USB bus ?

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-19 Thread John Dong
Sure, look in /etc/hal's configuration files, there already is example
configuration (commented out) for implementing sync policy on removable
devices.

Personally, I think it's a better workaround for the time being to
educate users to issue a sync command at the terminal after
unmounting, and waiting for that command to return before yanking out
any media.

This allows users to keep enjoying the apparently faster write speed and
only inconveniences the user at unmount time.

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-17 Thread Kosmonaut
I totaly agree with kubuntu_user and all you guys out there.

This bug *must* be fixed ASAP. I cannot understand why this bug is
around since monthes and nothing visible happened.

Note: Ali Milis mentioned trash: My egdy doen't delete  Trash in my Usb-
stick. Trash remains in the stick as .Trash and can only be deleted
with sudo -R .Trash. Don't get me wrong, but this drives me mad. I
don't want to use sudo just because I want to delete things that I
have allready deleted

These problems apart: Edgy rocks the house :-D

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


Re: [Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-17 Thread Martijn de Nerd
yup same here, already confirmed in another thread. dangerous bug...

On 1/17/07, Kosmonaut Bernd Müller [EMAIL PROTECTED] wrote:
 I totaly agree with kubuntu_user and all you guys out there.

 This bug *must* be fixed ASAP. I cannot understand why this bug is
 around since monthes and nothing visible happened.

 Note: Ali Milis mentioned trash: My egdy doen't delete  Trash in my Usb-
 stick. Trash remains in the stick as .Trash and can only be deleted
 with sudo -R .Trash. Don't get me wrong, but this drives me mad. I
 don't want to use sudo just because I want to delete things that I
 have allready deleted

 These problems apart: Edgy rocks the house :-D

 --
 [Edgy Data Loss] umount progress dialog missing
 https://launchpad.net/bugs/61946


-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-17 Thread John Dong
This is a definitely confirmed bug and we all understand the serious
nature of the problem at heart, but it is also a bug that does not have
any easy, unintrusive fixes. As a result, it's gonna take some time to
find the optimal solution and implement it. Confirming the bug and/or
lecturing on the seriousness of this bug any more will just generate
more launchpad mail and not add any productiveness.


The problem is, the unmount dialog was lost on migration from KDE handling 
mounts to KDE asking dbus/HAL to handle mounts. There is not enough information 
being reported back via this new route to determine when an unmount operation 
is completely done... just whether or not it was successfully initiated.

So, possible workarounds and their drawbacks would be:

(1) Make global HAL policy as sync for removable media. This drags all
flavors of Ubuntu into this ugly mess and reduces performance all-
around, not to mention adding various degrees of additional stress on
media due to VFAT's incorrect handling of the sync option. It is unfair
to have this affect other flavors of Ubuntu as they are not affected by
this KDE-specific bug.

(2) Make HAL policy as sync for kubuntu via kubuntu-default-settings.
This in my mind is the most straightforward and also easiest to
implement workaround until a true fix can be reached, but having a
package modify configuration files in /etc is currently taboo (a
violation of packaging policy)

(3) Extend the dbus/HAL mechanism for unmounting to differentiate
between unmountING and unmountED. There may or may not be enough
information exported via dbus to deduce that already; I'm not expert in
dbus. But I would expect the KDE guys not to have introduced this bug if
it was indeed this trivial to fix.

(4) Have KDE watch /proc/mounts or a similar mechanism for hackjobbed
unmount progress detection, similar to what Ubuntu's GNOME does with its
unmount dialog. Time consuming to implement?

(5) Have KDE remount read-only then unmount. This ensures that by the
time the unmount is executed the medium will be in a written state safe
for removal. This is also time-consuming to implement, and also has
further complications given that there is currently no mechanism for
ordinary users to remount read-only (That takes root), and also adds
another failure mode in the read-only stage. If a application opens a
file on the read-only disk, it will no longer unmount cleanly, leaving
the need to roll back to read-write mount (which again may or may not
succeed). This may leave users stuck with a half-crippled half-unmounted
state, which is less than optimal to say the least :)

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-16 Thread kubuntu_user
I can confirm this happening in x86_64 as well.
Please fix ASAP. 
I cannot keep recommending Kubuntu Edgy with this problem,
I will make a fool of myself.

Also see bug #1.

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-09 Thread Cimmo
I continue to NOT understand why this bug is ignored and also why a
simple workaround is not taken.

We are not talking about a simple crash but DATA LOSS.
This is even worse than security issue in certain cases, and the bug is 4 
months old!

I think Kubuntu can be called unstable or unsafe at this point, better
switch to other solutions.

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-08 Thread Dario Teixeira
Concerning mounting flash drives with sync as default, in my view this
should only be done *until* the underlying problem is corrected.  Using
sync is not really solving the problem, it's just camouflaging it.

Bear also in mind that we are talking about a regression here: this
worked perfectly in Dapper!  Moreover, since it's all too easy to lose
data over this, I agree with others who have said that this bug should
be marked Critical.

One question: does the problem affect only kubuntu or is it also present
upstream?

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-08 Thread John Dong
Right, sync or ro+umount are just workarounds until a solid solution for
tracking the unmounting state at the HAL/D-Bus level is reached.

This is indeed a KDE-wide problem that started in either 3.5.3 or 3.5.4
and affects all other KDE distros that I've tested, including Gentoo,
Fedora, OpenSUSE. The only thing is they either mount sync or have a
mounting daemon like submount that masks the problem.

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-07 Thread Cimmo
I'm not surer that sync is the right solution, read this, sync destroy 
removable keys!
http://readlist.com/lists/vger.kernel.org/linux-kernel/22/111748.html

anyway a solution is needed! And before kde 4.0 is out!

Thanx

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-07 Thread John Dong
I highly disagree with the original claims in that article. As someone
who does a lot of work with embedded devices and CompactFlash, as well
as an avid user of flash media, even the cheapest devices I can locally
purchase can put up with an astounding number of read-write cycles, much
more than the typical use-span of a thumbdrive can put on them.

Comparing a slightly premature failure in 15 years rather than 20 versus
users ripping out the thumbdrive when KDE bassured/b the user that
his data was written, which sounds worse?

Perhaps remounting read-only, then unmounting is a better solution
though I have no idea if dbus/hal has a backend for doing that.

In reality Linux needs behavior similar to Windows XP's handling of
removable media, that is, turning off writeback caching. Right now
sync is as close as we can get to that, but obviously it has some not-
so-intuitive side effects.

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 61946] Re: [Edgy Data Loss] umount progress dialog missing

2007-01-03 Thread Ali Milis
FYI:

* I always sync after using the USB storage.
* I do not use cut/paste in Konqueror anymore, because I guess that that is 
the main suspect of the corruption.
* The second suspect is the Trash can in the USB directory. Apparently, there 
is a problem with garbage collection? 
* I have already fixed the USB stick twice by using (**forgive me**) M$ disk 
tools.

-- 
[Edgy Data Loss] umount progress dialog missing
https://launchpad.net/bugs/61946

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs