U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » FileSel&FileList, Path » FileSel file names without quotes
FileSel file names without quotes [message #41561] Mon, 30 December 2013 16:15 Go to next message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Hello Mirek

Now FileSel uses Catq() so if a file name has spaces, it quotes it so that for example My file.jpg appears "My file.jpg".

This behavior does not seem to appear neither in Windows nor in Linux.

In addition if the file name in FileSel is for example "My file" (with quotes) and for example fs.Type("", "*.png"), the resulting file name is "My file\".pn". This problem does not happen if file name in FileSel:
- does not have quotes: My file
- has quotes but ends with a dot: "My file."

This subject is in function void FileSel::AddName(Vector<String>& fn, String& f).

Could it be possible to remove it?


Best regards
Iñaki

[Updated on: Mon, 30 December 2013 16:27]

Report message to a moderator

Re: FileSel file names without quotes [message #41574 is a reply to message #41561] Tue, 31 December 2013 17:20 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
I believe that the original intent is to make possible to select more files. Anyway, the extension problem is clearly a bug - should be now fixed, please check.

Mirek
Re: FileSel file names without quotes [message #41577 is a reply to message #41574] Tue, 31 December 2013 18:37 Go to previous message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Thank you Mirek

It is fixed now.


Best regards
Iñaki
Previous Topic: FEATURE REQUEST: Pastable path for FileSel please
Next Topic: FEATURE REQUEST: File listing utility
Goto Forum:
  


Current Time: Tue Apr 28 19:44:48 GMT+2 2026

Total time taken to generate the page: 0.00497 seconds