Bug 334433 - file open dialog in kf5 interprets full path as HTTP
Summary: file open dialog in kf5 interprets full path as HTTP
Status: RESOLVED FIXED
Alias: None
Product: kfile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-06 19:34 UTC by Luiz Angelo De Luca
Modified: 2018-04-10 21:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Angelo De Luca 2014-05-06 19:34:35 UTC
Hello,

I pasted the path: /home/REDETRESC/luizluca/prog-local/socat-1.7.2.4/socat.bz2 into a open dialog and it gave me an error "You can only select local files". At the directory address (top editbox), it shows:

 /home/REDETRESC/luizluca/prog-local/socat-1.7.2.4/socat.bz2/

I can reproduce it even with kdialog:

kdialog --getopenfilename ~

And paste the /home/REDETRESC/luizluca/prog-local/socat-1.7.2.4/socat.bz2 path

BTW, the file exists.


Reproducible: Always

Steps to Reproduce:
1.kdialog --getopenfilename ~
2.paste a full path file

Actual Results:  
3. gets an error for "non-local file"

Expected Results:  
3. it should open the file

I got this msg in strerr that might be useful:

QFileInfo::absolutePath: Constructed with empty filename
Comment 1 Thomas Braxton 2014-05-07 19:40:16 UTC
what version are you using?
It works for me with:
Qt: 4.8.6
KDE Development Platform: 4.12.4
KDialog: 1.0
openSUSE Tumbleweed
Comment 2 Thomas Braxton 2014-05-07 19:47:20 UTC
disregard my comment, this is about frameworks
Comment 3 Luiz Angelo De Luca 2014-05-21 22:46:00 UTC
Still happens on beta
Comment 4 Luiz Angelo De Luca 2014-05-22 18:31:27 UTC
Any news? I can't simply fill /tmp/file.xxx in filename box
Comment 5 Nate Graham 2018-04-10 21:55:54 UTC
Works for me in KDE Frameworks 5.45.