View Issue Details

IDProjectCategoryView StatusLast Update
0001666FreeCADFeaturepublic2021-02-06 06:50
Reportertriplus Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version14.04
Target Version0.20 
Summary0001666: Respect symbolic links
DescriptionBased on discussion in this feature request:

http://www.freecadweb.org/tracker/view.php?id=1665#c4918
Steps To Reproduce1.) Create new folder and save test .fcstd file in this folder
2.) Create symbolic link to test .fcstd file (ln -s) from different directory
2.) Open the file in FreeCAD by clicking on just created symbolic link
3.) Modify the file and save the changes

Expected behaviour:

FreeCAD saves the changes at original test .fcstd file location. Backup files are saved to original test .fcstd file location.

Current behaviour:

FreeCAD saves the changes at symbolic link test .fcstd file location. Backup files are saved to symbolic link test .fcstd file location.
Tags#lowhangingfruit, Qt, Qt5
FreeCAD Information

Relationships

related to 0001665 closedwmayer Allow setting higher value for number of backup files 

Activities

triplus

2014-10-25 22:55

developer   ~0005254

For future reference if anybody will try to tackle this area and to provide symbolic links support for FreeCAD this is how Qt Creator deals with symbolic links:

https://qt.gitorious.org/qt-creator/qt-creator/commit/a8ee92a53ba4b1c4c7e2c34db27ee44ed7e9c585

Relevant discussion (don't rewrite symlink on save, rewrite target instead):

https://qt.gitorious.org/qt-creator/qt-creator/merge_requests/399

Kunda1

2017-03-10 23:14

administrator   ~0008604

@triplus can you find a more up-to-date source? since Qt seems to have moved their repo.

Sam

2017-09-03 00:07

reporter   ~0010064

Forum thread: Issues 1665 & 1666; Symbolic links & backups

yorik

2022-03-03 13:55

administrator   ~0016427

This ticket has been migrated to GitHub as issue 5592.

Issue History

Date Modified Username Field Change
2014-08-04 11:22 triplus New Issue
2014-10-25 22:55 triplus Note Added: 0005254
2017-01-16 10:18 Kunda1 Tag Attached: Qt
2017-02-02 00:24 Kunda1 Tag Attached: #lowhangingfruit
2017-03-10 23:14 Kunda1 Note Added: 0008604
2017-03-11 14:48 Kunda1 Tag Attached: Qt5
2017-09-03 00:07 Sam Note Added: 0010064
2017-09-03 15:47 Kunda1 Relationship added related to 0001665
2021-02-06 06:50 abdullah Target Version => 0.20