Opened 10 years ago

Closed 10 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 Changed 10 years ago by hamish

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

comment:2 in reply to:  1 ; Changed 10 years ago by 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 = '*')

comment:3 in reply to:  2 ; Changed 10 years ago by 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 ?

Moritz

comment:4 in reply to:  3 Changed 10 years ago by martinl

Replying to mlennert:

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

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

yes, Martin

comment:5 in reply to:  3 Changed 10 years ago by mlennert

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.