Bug 431465

Summary: Print path first defaults to ~/print.pdf, after file reload-on-change it defaults to an invalid path
Product: [Applications] kgraphviewer Reporter: Yuri <yuri>
Component: generalAssignee: Gaƫl de Chalendar (aka Kleag) <kleagg>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 2.4.2   
Target Milestone: ---   
Platform: Other   
OS: FreeBSD   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Yuri 2021-01-11 21:52:53 UTC
SUMMARY

When the graph is first opened from the command line with the command
> kgraphviewer file://`pwd`/../xx/my-graph.dot
and the user prints it the print goes to ~/print.pdf

But when the file is changed on disk and the users answers "Yes" to reload it, and then tries to print - the print file becomes: /home/yuri//usr/home/yuri/zz/../xx/my-graph.pdf

Home directory appears twice in it.



SOFTWARE/OS VERSIONS
kgraphviewer-2.4.3_3
FreeBSD: 12.2
Qt Version: 5.15.2