[Gambas-user] Issue 378 in gambas: Filename needs to have .txt entered (in Dialog.SaveFile()) even though Filter specifies .txt only

gambas at ...2524... gambas at ...2524...
Tue Jan 8 09:59:56 CET 2013


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 378 by john.aaron.rose at ...626...: Filename needs to have .txt  
entered (in Dialog.SaveFile()) even though Filter specifies .txt only
http://code.google.com/p/gambas/issues/detail?id=378

I'm not sure if this is a bug. I have a .txt file.  I specify Dialog.Filter  
= ["*.txt", "Text file only"]. I type the filename without .txt at the end  
in response to Dialog.SaveFile(). I use a Shell command to create a copy of  
this file (rather than File.Save). The filename of the new file does not  
contain .txt at the end, whereas I expected that it would. I've attached a  
small Test project illustrating this result.

[OperatingSystem]
OperatingSystem=Linux
KernelRelease=3.2.0-35-generic
DistributionVendor=Ubuntu
DistributionRelease="Ubuntu 12.04.1 LTS"

[System]
CPUArchitecture=x86_64
TotalRam=8070756 kB
Desktop=Gnome

[Gambas]
Gambas1=Not Installed
Gambas2=Not Installed
Gambas3=3.3.4
Gambas3Path=/usr/bin/gbx3


Attachments:
	Test.tar.gz  30.6 KB





More information about the User mailing list