Bug 340565

Summary: Command line file:///... files are not opened correctly
Product: [Applications] kile Reporter: Frank Fischer <frank-fischer>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 2.1.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 2.9.60
Sentry Crash Report:

Description Frank Fischer 2014-11-01 21:38:54 UTC
When starting kile with an URL of the type

file:///path/to/file.tex

on the command line, Kile does not open this file correctly. Instead an empty text buffer is shown. If one calls "Save As", the dialog shows a duplicated file path: /path/to/path/to.


Reproducible: Always

Steps to Reproduce:
1. Enter 'kile file:///path/to/file.tex'
2. Optionally call "Save As"

Actual Results:  
The file is not opened correctly. The "Save As" dialog shows the path "/path/to/path/to".

Expected Results:  
The correct file is opened (if exists). The "Save As" dialog should show the correct path "/path/to"
Comment 1 Michel Ludwig 2016-12-28 13:44:06 UTC
Thanks for reporting a problem with Kile.

However, I'm currently unable to reproduce the problem with revision ca9128576b5104e03b90cef4699e2c5e792e79ca of the master branch.
Comment 2 Frank Fischer 2016-12-28 20:30:24 UTC
Indeed, I've checked with the current version in the kile-git package in Arch Linux (which should be a reasonably recent version) and the bug seems to have been fixed. (The bug is present in 2.1.3, which is the official stable package in Arch, though). Thanks a lot.