Opened 15 years ago

Closed 15 years ago

#978 closed defect (fixed)

wxGUI: files without extensions are not visible in file dialogs

Reported by: msieczka Owned by: grass-dev@…
Priority: major Milestone: 6.4.0
Component: wxGUI Version: svn-releasebranch64
Keywords: Cc:
CPU: All Platform: All

Description

Files which do not have an extension are not visible in file dialogs.

  1. touch test
  1. try to locate file 'test' using a GRASS wxGUI dialog

Change History (5)

comment:1 by hamish, 15 years ago

Moritz writes:

I can confirm this. In the wx GUI, file dialogs are configured to look
for *.*, so any files which do not have an extension are not taken into
account. To test, just 'touch test' and then try to find the file test.

I don't know where this is defined in the code source, but in my eyes
there should be the possibility to "show all files", so looking for *
and not *.*, maybe even replacing *.* by *

Moritz

in reply to:  1 ; comment:2 by glynn, 15 years ago

Replying to hamish:

I don't know where this is defined in the code source,

The code uses wx.lib.filebrowsebutton, which uses *.* as the default value for its fileMask parameter.

but in my eyes there should be the possibility to "show all files", so looking for * and not *.*, maybe even replacing *.* by *

Try filebrowse.FileBrowseButton(..., fileMask = '*')

in reply to:  2 ; comment:3 by mlennert, 15 years ago

Replying to glynn:

Replying to hamish:

I don't know where this is defined in the code source,

The code uses wx.lib.filebrowsebutton, which uses *.* as the default value for its fileMask parameter.

but in my eyes there should be the possibility to "show all files", so looking for * and not *.*, maybe even replacing *.* by *

Try filebrowse.FileBrowseButton(..., fileMask = '*')

Fixed in #41284. Can this be backported to deb6 and rel6 ?

Moritz

in reply to:  3 comment:4 by martinl, 15 years ago

Replying to mlennert:

Try filebrowse.FileBrowseButton(..., fileMask = '*')

Fixed in #41284. Can this be backported to deb6 and rel6 ?

yes, Martin

in reply to:  3 comment:5 by mlennert, 15 years ago

Resolution: fixed
Status: newclosed

Replying to mlennert:

Replying to glynn:

Replying to hamish:

I don't know where this is defined in the code source,

The code uses wx.lib.filebrowsebutton, which uses *.* as the default value for its fileMask parameter.

but in my eyes there should be the possibility to "show all files", so looking for * and not *.*, maybe even replacing *.* by *

Try filebrowse.FileBrowseButton(..., fileMask = '*')

Fixed in #41284. Can this be backported to deb6 and rel6 ?

Done: r41287 and r41288.

Note: See TracTickets for help on using tickets.