#978: wxGUI: files without extensions are not visible in file dialogs
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-releasebranch64
Keywords: | Platform: All
Cpu: All |
----------------------+-----------------------------------------------------
Files which do not have an extension are not visible in file dialogs.
1. touch test
2. try to locate file 'test' using a GRASS wxGUI dialog
#978: wxGUI: files without extensions are not visible in file dialogs
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-releasebranch64
Resolution: | Keywords:
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (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 *
#978: wxGUI: files without extensions are not visible in file dialogs
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-releasebranch64
Resolution: | Keywords:
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by mlennert):
Replying to [comment:2 glynn]:
> Replying to [comment:1 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 ?
#978: wxGUI: files without extensions are not visible in file dialogs
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: closed
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-releasebranch64
Resolution: fixed | Keywords:
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by mlennert):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [comment:3 mlennert]:
> Replying to [comment:2 glynn]:
> > Replying to [comment:1 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 ?