OpenFile() issue when file is on desktop?

Archives Forums/Linux Discussion/OpenFile() issue when file is on desktop?

Grisu(Posted 2013) [#1]
Hi!

The OpenFile() command fails for me when used in combination with a file stored on the Linux desktop. - Is that normal?

I drag & drop a playlist file onto a bmx app and open it afterwards via: "file: TStream=OpenFile(acceptfile,True,False)"

when the file is dragged from the desktop the file isn't opened, like: "/home/grisu/Arbeitsfläche/tunein-station.pls"

From other folders it works, such as: "/home/grisu/tunein-station.pls"

I once got an error code from the debug screen:
X Error of failed request: BadAtom (invalid Atom parameter)
Major opcode of failed request: 24 (X_ConvertSelection)
Atom id in failed request: 0x2
Serial number of failed request: 1510
Current serial number in output stream: 1510

This issue is only Linux related!

Grisu


skidracer(Posted 2013) [#2]
Perhaps any file with non ascii path is being reported badly by the drag and drop event?


Brucey(Posted 2013) [#3]
UTF-8 :-)


xlsior(Posted 2013) [#4]
ä