Bug 431414 - Please open .dot file supplied in the command line
Summary: Please open .dot file supplied in the command line
Status: RESOLVED FIXED
Alias: None
Product: kgraphviewer
Classification: Applications
Component: general (show other bugs)
Version: 2.4.2
Platform: Other FreeBSD
: NOR wishlist
Target Milestone: ---
Assignee: Gaël de Chalendar (aka Kleag)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-11 00:28 UTC by Yuri
Modified: 2024-04-16 09:22 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri 2021-01-11 00:28:44 UTC
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.
Comment 1 Grzegorz Szymaszek 2022-12-28 22:03:24 UTC
If I understand correctly, this may be a duplicate of bug #388518. Yuri, could confirm if that is the case?
Comment 2 Yuri 2022-12-28 23:09:09 UTC
(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.
Comment 3 Friedrich W. H. Kossebau 2024-04-16 09:22:37 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 428456, bug 388518
FIXED-IN: 2.5.0

M  +2    -7    src/main.cpp

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