Summary: | relative paths of source files are not correct in some cases | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Till Schäfer <till2.schaefer> |
Component: | datasources | Assignee: | kst |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nicolas.brisset, till2.schaefer |
Priority: | NOR | ||
Version: | 2.0.6 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Till Schäfer
2013-04-10 15:49:02 UTC
This should no longer be the case since commit 1162736 from 2010-08-12, which should correspond to an early version 2.0. I have just tried here and with ASCII and netcdf I get both relative and absolute file paths. Could you please describe the bug in a more detailed way? I analyzed the problem again and found out that for some files the relative path is working and for some not. It seems that under some conditions that the relative path is wrong and relative to my home directory instead of being relative to the kst file. In addition to my last post: currently i am not able to reproduce this behavior. Funny enough, no later than today a colleague of mine came to the same conclusion: if you call up the kst file from another directory, the relative path will not work. Should be easy to fix. SVN commit 1356655 by brisset: Set the current directory at the right place so that the "fileRelative" attribute saved in the .kst file always works, even when kst2 is called from a different dir than the one where the .kst resides. Fix some indentation issues on the way. M +2 -1 document.cpp M +1 -5 mainwindow.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1356655 |