Bo Peng wrote:
You are right of course. We don't want to tell
people to go look in /tmp/obscuredir/...
The sensible thing to do here would
be to only show view->update->... entries for those files
who have a decent viewer configured. Or perhaps not show
entries when we know the viewer is bad, most of them are ok
but some, like acrobat are not.
This is exactly where the difficulties lie. We do not have a method to
check the exact version of a viewer,
Sure, but does it matter? Do we have any viewer where some versions
are "good" and some are "bad" when it comes to viewing a document
being updated? If so, simply go for the latest version, because
that is what people will have with time.
and we sometimes do not know who
will view the file (windows/mac). It is therefore impossible to
enable/disable menu item per viewer used...
This I don't understand at all. When LyX launch a viewer, then
surely that viewer runs on the same platform as LyX itself?
You can have different "viewer blacklists" for windows-lyx, mac-lyx,
and linux-lyx if you need. If the same viewer really behave differently
on these platforms. This should not be necessary to differentiate
between windows and non-windows though, as windows viewers
have names ending in .exe and nobody else do that. So it is
possible to have one entry for "acroread" and a different
entry for "acroread.exe" for example.
I don't understand how you're getting a case where
someone is doing view->(something) in lyx and have some
viewers pop up on a mac and some on a windows pc. Surely
that would be a very special custom setup? Those who customize
get to sort out problems themselves. Or perhaps I am
misunderstanding what you're saying here.
Helge Hafting