Am 12.10.2016 um 04:30 schrieb Scott Kostyshak <[email protected]>: > > On Tue, Oct 11, 2016 at 12:27:51PM -0400, Richard Heck wrote: > >> Looks fine to me. > > It's in at 892593f.
Hi Scott, I’m sorry to say that I missed the consequence of this change. On Mac the initial value for CWD of a program started from Desktop is the root directory. So, the document directory of non-configured LyX has effectively changed from $HOME/Documents to / and one is forced to configure the ancient default value explicitly in the preferences. It wouldn’t be a big deal to place it in "development/MacOSX/lyxrc.dist.in“ but the dynamic value retrieval in get_document_dir() was not bad either. What should we do now? What do you think? Solution 1: Make it platform specific in LyX::init() Solution 2: Runtime check for writable CWD in LyX::init() Solution 3: Provide the mentioned lyxrc.dist.in change for Mac Stephan
