View Issue Details

IDProjectCategoryView StatusLast Update
0036272LazarusWidgetsetpublic2019-11-07 14:04
ReporterChris Rorden Assigned ToDmitry Boyarintsev  
Status closedResolutionfixed 
PlatformMacBook 2012 Retina 13"OSDarwin 
Product Version2.0.7 (SVN) 
Summary0036272: Cocoa: Regression for OpenDialog.Filter := ''
DescriptionFor other widget sets (and previous Cocoa code), setting the Filter of a TOpenDialog to '' will show all files. The current SVN appears to show NO files if this is set, and requires the user to explicitly set the filter to '*.*' too see all the files.
Steps To ReproduceTry different filters. Note that setting the filter to '' shows no files.

procedure TForm1.OpenTxtBtnClick(Sender: TObject);
  OpenDialog1.Filter := 'Text|*.txt;*.csv;*.pas|All Files|*.*';

procedure TForm1.OpenBtnClick(Sender: TObject);
  OpenDialog1.Filter := '';

procedure TForm1.OpenStarBtnClick(Sender: TObject);
  OpenDialog1.Filter := 'All Files|*.*';
TagsNo tags attached.
Fixed in Revision62213
Attached Files


Chris Rorden

2019-11-06 17:40

reporter (109,935 bytes)

Dmitry Boyarintsev

2019-11-07 04:43

developer   ~0119122

please test and close if ok

Issue History

Date Modified Username Field Change
2019-11-06 17:40 Chris Rorden New Issue
2019-11-06 17:40 Chris Rorden File Added:
2019-11-07 04:43 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2019-11-07 04:43 Dmitry Boyarintsev Status new => resolved
2019-11-07 04:43 Dmitry Boyarintsev Resolution open => fixed
2019-11-07 04:43 Dmitry Boyarintsev Fixed in Revision => 62213
2019-11-07 04:43 Dmitry Boyarintsev LazTarget => -
2019-11-07 04:43 Dmitry Boyarintsev Widgetset Cocoa => Cocoa
2019-11-07 04:43 Dmitry Boyarintsev Note Added: 0119122
2019-11-07 14:04 Chris Rorden Status resolved => closed