[RFC][PATCH] Change to GuiView::goToFileRow
Enrico Forestieri
forenr at lyx.org
Sun Feb 16 11:40:31 UTC 2020
On Sun, Feb 16, 2020 at 11:59:16AM +0100, Enrico Forestieri wrote:
> On Sun, Feb 16, 2020 at 01:47:43AM +0100, Stephan Witt wrote:
> > Am 16.02.2020 um 01:25 schrieb Enrico Forestieri <forenr at lyx.org>:
> [...]
> > Did you try my patch and did you saw any problem with it on Linux?
>
> I could not, due to the following problem.
>
> > > I tried to reproduce your configuration on linux by creating a /tmpriv
> > > symlink pointing to /private/tmp and trying to set the temporary dir
> > > to /tmpriv. I did non succeed because it seems that the temporary
> > > directory cannot be changed and is always /tmp, whatever you set
> > > in Preferences->Paths->Temporary directory !
> >
> > Yes, probably it’s platform specific if it’s /tmp or
> > /private/var/folders/1x/zm63s22x7s591xrlgm4rl9v40000gn
>
> No, this is a bug in LyX. If I write "/foobar"
> in Preferences->Paths->Temporary directory, the temporary dir stil is "/tmp",
> so I cannot verify your problem and test your patch.
The above bug is only in master, so I could use stable to test. What I did:
1) sudo mkdir -p /private/tmp
2) sudo ln -s private/tmp /tmpriv
3) Now /tmpriv is a symlink to /private/tmp and I set it as the LyX tempdir
After launching lyx, on a reverse search I get the following output with two
different versions of Qt:
Qt version: 5.11.3
file_name: /private/tmp/lyx_tmpdir.RurBRUpdNLdn/lyx_tmpbuf0/./manuscript.tex
abstmp: /tmpriv/lyx_tmpdir.RurBRUpdNLdn
realtmp: /private/tmp/lyx_tmpdir.RurBRUpdNLdn
Qt version: 5.14.1
file_name: /private/tmp/lyx_tmpdir.NBKcJvrHltYf/lyx_tmpbuf0/./manuscript.tex
abstmp: /tmpriv/lyx_tmpdir.NBKcJvrHltYf
realtmp: /private/tmp/lyx_tmpdir.NBKcJvrHltYf
So, I cannot confirm that the symlink in abstmp is expanded, and reverse
search works always. This must be a Mac specific issue.
--
Enrico
More information about the lyx-devel
mailing list