d***@iwcdownhole.com
2014-01-07 10:27:20 UTC
https://bugs.kde.org/show_bug.cgi?id=329684
Bug ID: 329684
Summary: Relative file path stored in fileRelative of kst file
incorrect
Classification: Unclassified
Product: kst
Version: 2.0.7
Platform: MS Windows
OS: MS Windows
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: general
Assignee: ***@kde.org
Reporter: ***@iwcdownhole.com
When saving a kst session the fileRelative paths for the data files are always
saved relative to the current working directory rather than relative to the kst
session file itself.
When kst is started from the start menu the current working directory is the
directory in which the kst bin directory is located and does not change when
the kst session file is saved.
When kst is started by double clicking on a kst session file the current
working directory is the same as the kst session file so all fileRelative paths
appear to be relative to the kst session file.
Reproducible: Always
Steps to Reproduce:
1. Start Kst from icon in start menu
2. Save empty session in same directory as data file
3. Import data file using wizard or any other method
4. Save session again
Actual Results:
If I have a data file located at "C:\David\Visualisation\KST Tests\formatted
date times\data1.csv" and then save a kst session file that uses that data as
"C:\David\Visualisation\KST Tests\formatted date times\kst.kst" then the
fileRelative path is stored as "../../David/Visualisation/KST Tests/formatted
date times/data1.csv".
This means that if you move the files (session & data) to another location or
transfer to another computer then the relative path is incorrect and when the
session is loaded the user gets prompted that Kst cannot find the files and
they need to locate the correct path.
Expected Results:
I would have expected the fileRelative path to be stored as "data1.csv",
meaning that the data is relative to the kst session file and that moving those
files together would still allow them to be found.
Running binary release of Kst 2.0.7 under Windows 7 Pro x64 installed in
"C:\Program Files (x86)\kst 2.0.7".
Bug ID: 329684
Summary: Relative file path stored in fileRelative of kst file
incorrect
Classification: Unclassified
Product: kst
Version: 2.0.7
Platform: MS Windows
OS: MS Windows
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: general
Assignee: ***@kde.org
Reporter: ***@iwcdownhole.com
When saving a kst session the fileRelative paths for the data files are always
saved relative to the current working directory rather than relative to the kst
session file itself.
When kst is started from the start menu the current working directory is the
directory in which the kst bin directory is located and does not change when
the kst session file is saved.
When kst is started by double clicking on a kst session file the current
working directory is the same as the kst session file so all fileRelative paths
appear to be relative to the kst session file.
Reproducible: Always
Steps to Reproduce:
1. Start Kst from icon in start menu
2. Save empty session in same directory as data file
3. Import data file using wizard or any other method
4. Save session again
Actual Results:
If I have a data file located at "C:\David\Visualisation\KST Tests\formatted
date times\data1.csv" and then save a kst session file that uses that data as
"C:\David\Visualisation\KST Tests\formatted date times\kst.kst" then the
fileRelative path is stored as "../../David/Visualisation/KST Tests/formatted
date times/data1.csv".
This means that if you move the files (session & data) to another location or
transfer to another computer then the relative path is incorrect and when the
session is loaded the user gets prompted that Kst cannot find the files and
they need to locate the correct path.
Expected Results:
I would have expected the fileRelative path to be stored as "data1.csv",
meaning that the data is relative to the kst session file and that moving those
files together would still allow them to be found.
Running binary release of Kst 2.0.7 under Windows 7 Pro x64 installed in
"C:\Program Files (x86)\kst 2.0.7".
--
You are receiving this mail because:
You are the assignee for the bug.
You are receiving this mail because:
You are the assignee for the bug.