You are not logged in.

#1 2014-06-19 19:07:03

zarel
Member
Registered: 2012-06-07
Posts: 10

Cannot open files and dirs with spaces from most qt-based applications

Hello,
I noticed that I can't open any file or folder that have spaces in the path because an error pop-up appears stating that there is no such file or directory, the error includes the full path but it's "urlencoded" in the sense that spaces are replaced with "%20".
I experienced this behavior in most qt apps: clementine (open containing folder of a song), retroshare, calibre (try to open a book or its folder). Everything works with gtk: pcmanfm, firefox.

I tried changing the default file manager with xdg-mime (switched from pcmanfm to qtfm) but the result's the same. It really seems that qt is trying to open a urlencoded path and xdg-open produces the error.

Any idea? qtfm works, even if it is a qt application, maybe because it's qt5?

Offline

#2 2014-06-19 22:30:39

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: Cannot open files and dirs with spaces from most qt-based applications

I've used, for this, 3 languages on local-gen

on my config

pt-br
pt-br
en-us

On my tries, the spaces, on real, were "language symbols" thar are incompreensible to my current language, and, turns into inacessible

Offline

#3 2014-06-19 23:14:19

zarel
Member
Registered: 2012-06-07
Posts: 10

Re: Cannot open files and dirs with spaces from most qt-based applications

so do you have the same problem, ilkyest?

Offline

#4 2014-06-23 22:56:23

zarel
Member
Registered: 2012-06-07
Posts: 10

Re: Cannot open files and dirs with spaces from most qt-based applications

It appears to be a known problem of xdg that didn't have too much attention:
https://bugs.freedesktop.org/show_bug.cgi?id=63153

Offline

Board footer

Powered by FluxBB