kgraphviewer doesn't open the file that is supplied in the command line. It is common for command line programs to open files from the command line. The workaround that I found is though URL: > kgraphviewer file://`pwd`/../dir/graph.dot This is a bit odd.
If I understand correctly, this may be a duplicate of bug #388518. Yuri, could confirm if that is the case?
(In reply to gszymaszek from comment #1) > If I understand correctly, this may be a duplicate of bug #388518. Yuri, > could confirm if that is the case? Possibly. You can make this bug to depend on bug #388518 and then see if it gets resolved when 388518 is closed.
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 428456, bug 388518 FIXED-IN: 2.5.0 M +2 -7 src/main.cpp https://invent.kde.org/graphics/kgraphviewer/-/commit/ab98d533a99928347cfc36513d330f827c8331dd