[Kst] Re: branches/work/kst/portto4/kst/src/libkstapp

Peter Kümmel syntheticpp at gmx.net
Fri Feb 11 11:25:04 CET 2011


On 11.02.2011 07:52, Brisset, Nicolas wrote:
>> SVN commit 1219771 by kuemmel:
>>
>> Make it possible to remove non existent files.
>> Don't wanna call it on startup because kst maybe
>> hangs when files with non-local paths a checked.
> I have a laptop, which is sometimes disconnected from the network. A lot
> of the files I work with are on the network. I am not sure I like the
> idea of removing all the network files whenever I lose the network
> connection...

Nothing will be removed automatically, only when you use this menu entry.

>
> I think it's better to wait until the user selects a file to check for
> it still being there, and if it's not then just raise an error,
> indicating that the problem may be due to a missing network connection.
>
> An alternative may be to deactivate ("grey out") the menu entries for
> files which we can't access, but as you say with disconnected network
> Windows (and sometimes also Linux) can become very slow and we don't
> want kst to hang on startup due to that. Either we thread the check, or
> we do it the way I described above. I think the easy way is enough...
>
> And if we keep your first menu entry, I'd suggest naming it "Remove
> Non-Existent Files" instead of "Check Files On Existence", and adding a
> separator below it.

Yes, much better.

Peter


More information about the Kst mailing list