Bug 388518 - Feature Request: Relative paths as argument
Summary: Feature Request: Relative paths as argument
Status: CONFIRMED
Alias: None
Product: kgraphviewer
Classification: Applications
Component: general (show other bugs)
Version: 2.4.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Gaël de Chalendar (aka Kleag)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 10:24 UTC by Gerion
Modified: 2024-04-16 09:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerion 2018-01-04 10:24:22 UTC
I've to kind of different feature requests on kgraphviewer:

1. Currently kgraphviewer is only able to open files from the commandline, if the complete path is used as argument:
does not work: kgraphviewer file.dot
does work: kgraphviewer $(realpath file.dot)

The problem seems to be, that kgraphviewer interprets relative paths as weburls and not as files.

2. Opening of multiple files per commandline is possible, but results in different windows (regardless of the settings). Opening in tabs would be nice:
kgraphviewer $(realpath file1.dot) $(realpath file2.dot)
Comment 1 Friedrich W. H. Kossebau 2024-04-16 09:23:10 UTC
Git commit ab98d533a99928347cfc36513d330f827c8331dd by Friedrich W. H. Kossebau.
Committed on 16/04/2024 at 09:21.
Pushed by kossebau into branch 'master'.

Fix handling file cmdl arguments with relative path
Related: bug 431414, bug 428456
FIXED-IN: 2.5.0

M  +2    -7    src/main.cpp

https://invent.kde.org/graphics/kgraphviewer/-/commit/ab98d533a99928347cfc36513d330f827c8331dd