Bug 431465 - Print path first defaults to ~/print.pdf, after file reload-on-change it defaults to an invalid path
Summary: Print path first defaults to ~/print.pdf, after file reload-on-change it defa...
Status: REPORTED
Alias: None
Product: kgraphviewer
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.4.2
Platform: Other FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Gaël de Chalendar (aka Kleag)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-11 21:52 UTC by Yuri
Modified: 2021-01-11 21:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
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 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