Support to Symbolic Links
Original Reporter info from Mantis: dgaspary @dgaspary
-
Reporter name: Daniel Gaspary
Original Reporter info from Mantis: dgaspary @dgaspary
- Reporter name: Daniel Gaspary
Description:
When you create and save a project in a path, and after that, open it through a symbolic link the IDE sometimes opens a second editor tab for the sources.
This happens in a lot of occasions, but for this issue a took the simplest example I could find.
This problem causes the editor to loses data sometimes, because what is written in one tab sometimes is overwritten when the IDE tries to synchronize the "two" versions.
Steps to reproduce:
1 - Create the original path: mkdir -p /tmp/tests/original
2 - ..and the Symbolic link: cd /tmp/tests; ln -s original a_symbolic_link
3 - On Lazarus, create a "Simple program" Project.
4 - Put a simple "writeln('hello world');' as the only line of the program.
5 - Mark this line for Debug.
6 - Save the project in the path /tmp/tests/original
7 - Run to test (everything ok here)
8 - Close the project and reopen via the symbolic link created: a_symbolic_link
9 - Run again.
Additional information:
When the program stops at the debug mark, a second tab will be open.
This happens with forms too. When you press F12 to show the code.
Mantis conversion info:
- Mantis ID: 25919
- OS: Linux
- OS Build: Ubuntu 12.10
- Build: 2014-01-03
- Platform: x86-64
- Version: 1.3 (SVN)
- Fixed in revision: 45249 (#67dd4755) et al
- Monitored by: » @martin_frb (Martin Friebe)