Bug 388518

Summary: Feature Request: Relative paths as argument
Product: [Applications] kgraphviewer Reporter: Gerion <gerion.entrup>
Component: generalAssignee: Gaël de Chalendar (aka Kleag) <kleagg>
Status: CONFIRMED ---    
Severity: wishlist CC: gszymaszek, justin.zobel
Priority: NOR    
Version: 2.4.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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