aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Visible lack of space  (Read 3992 times)

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Visible lack of space
« on: July 14, 2004, 08:16:34 AM »

I thought it would be great to show in a visible way when there's not enough space for all the downloads in disk. This way, before getting the dialog about not enough free space (and therefor, before stopping all transfers), you would now you have to check for free space. Also, it would be easier to check all those "aMule isn't beginning downloads" questions in forums and channel.
BUT, I don't know where it should be placed really. Either the Tranfers icon could turn into red or some different icon, or in the transfers tab some red (or visible colour) thingy should appear in sme free place (I mean somewhere with no icons, etc).
Ideas are wellcome ;-)
Logged

lfroen

  • Guest
Lack of space - check without overrate
« Reply #1 on: July 14, 2004, 04:09:52 PM »

The actual time when you know for sure that you out of space - is when write to disk failed. At this point mule must stop downloading this specific file only, (and probably change color of progress bar).
Why only 1 file ? Because other file can have space already allocated and thus write will not fail.
This way you can avoid periodical check for disk space, which is bad anyway - on ext2(3) filesystem will report free space even when total size of files is more that disk capacity (sparse files)
Another check can be performed before starting to download, but this is not very presize too  (sparse files :) - so it can be a warning
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Visible lack of space
« Reply #2 on: July 15, 2004, 04:32:17 AM »

Yes I know. So that's what I was thinking about. When first time a file has no speace left, that mark should be shown. And should be kept untill _no_ file has stil no space left. The problem is, anyway, that aMule doesn't recover those files which are marked as "no space left for them". Only way to resume them is reastart aMule. But anyway, for the moment, for the first time a file has no space left, I'd be nice to show something to warn.
Logged

lfroen

  • Guest
Re: Visible lack of space
« Reply #3 on: July 15, 2004, 09:08:29 AM »

Show warning is good intension, but you should consider that there may no one to look at it that time and press 'ok' button. Now we entering new problem - should you block gui while warning is shown ? (bad idea) Or continue as usual, but here there's chance for another such warning, and we end with many warning dialogs hanging around (not very good too).
May be just change tray icon or send email ?
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Visible lack of space
« Reply #4 on: July 15, 2004, 03:55:30 PM »

Maybe there was no need to pop a dialog. Some color on the interface could change from green to yellow to red and then you would know disk space was low.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Visible lack of space
« Reply #5 on: July 15, 2004, 06:56:24 PM »

no dialog, lfroen:
"BUT, I don't know where it should be placed really. Either the Tranfers icon could turn into red or some different icon, or in the transfers tab some red (or visible colour) thingy should appear"
phoenix got the idea. I mean some visible change in GUI, in transfers tab or transfers icon. No dialog, of course, that would be disturbing when aMule is minimized, in tray, no-one-infornt or even when the user simply doesn't care if there's space for all files.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Visible lack of space
« Reply #6 on: July 15, 2004, 06:57:49 PM »

lol, i just noticed a possible missunderstunding in my above post:
"no dialog" <- I mean, no dialog window. I didn't mean "I don't want to talk to you any longer" ;-)
Sorry
Logged