> That's what a windows application would do. And then this will break
> many other applications which work in the same directory.
No. It will only break applications with that rely on directories names
not to change. Which applications require this? For sure, LyX does not.
> You should now that people do not read popup windows anyway, so you
> would basically do that behind their back. It seems reasonable to tell
> people that they should rename the directory by themselves (people who
> have spaces in dirnames are probably kde/gnome users; they did vreate
> the directory, they know how to rename it).
Come on, you can't be serious!
It can only go wrong when these two conditions are met at the same time:
1) The user has *changed* documents open in another application from the
same directory.
2) The user does not read the warning, and chooses to rename the directory
from with in LyX without considering the consequences.
Even then, it will only be problematic if the application from 1)
will break completely because the directory name changed, such that
the changes are lost. Most applications will detect that the save failed,
and in this way prevent loss of changes.
We can practically eliminate 2) by presenting a new confirmation dialog
warning that it might have consequences beyond LyX to rename the
directory.
I think you are paranoid if you think this is a dangerous solution.
A much more likely scenario of trouble is this:
The users previews the user guide, and LaTeX goes away rendering all
the fonts. Then, the disk runs out of space, and the user can not
save his documents in other applications.
So, should we disable previews because there is a danger that the
user will be affected negatively from LyX doing something?
Greets,
Asger