On Sun, Feb 16, 2020 at 02:52:52PM +0100, Stephan Witt wrote: > > The latest version of the mentioned patch I’ve used for 1. and 2. is
Thank you. It is surprising that only for the Mac absPath() expands symlinks. Anyway, I think I now understand the problem. Please, can you report whether the attached patch works for you irrespectively of the Qt version? -- Enrico
diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp index eec1b7ae6e..e58bee2bc2 100644 --- a/src/frontends/qt/GuiView.cpp +++ b/src/frontends/qt/GuiView.cpp @@ -3666,6 +3666,7 @@ bool GuiView::goToFileRow(string const & argument) size_t i = argument.find_last_of(' '); if (i != string::npos) { file_name = os::internal_path(trim(argument.substr(0, i))); + file_name = FileName(file_name).realPath(); istringstream is(argument.substr(i + 1)); is >> row; if (is.fail())
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel