https://bugs.kde.org/show_bug.cgi?id=410551
Bug ID: 410551
Summary: Relative links incorrectly captured
Product: tellico
Version: 3.1.2
Platform: Mint (Ubuntu based)
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
URL-type fields with the property "relative" set to "true" are incorrectly
captured from the file manager and preceded with an erroneous ../.
STEPS TO REPRODUCE
1. Create an empty "test.tc" database of type "Book collection"
2. Create a directory "test_folder" in the same location and create a file
"test.txt" inside it
3. Use Collection -> Collection Fields -> New to add a Type URL field with name
URL
4. Use Set properties to set the property "relative" to "true".
5. Use New to add a new element in the library, name it "Bla"
6. Set the URL property with the file manager to the file test.txt inside the
test_folder directory and save the entry and database
OBSERVED RESULT
The URL field of the entry Bla is set to ../test_folder/test.txt. Every time
one opens and closes Tellico, a new ../ prefix is added, i.e.,
../../test_folder/test.txt, etc.
EXPECTED RESULT
The URL field of the entry Bla is set to test_folder/test.txt and clicking on
it launches the system-configured application for .txt files.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Mint 19.1 Tessa, KDE Frameworks 5.44.0 (The xcb
windowing system)
Qt Version: 5.9.5 (built against 5.9.5)
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.