Bug 340565 - Command line file:///... files are not opened correctly
Summary: Command line file:///... files are not opened correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: kile
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.1.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-01 21:38 UTC by Frank Fischer
Modified: 2016-12-28 20:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 2.9.60
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.