Bug 147594

Summary: com.sun.star.ui.dialogs.FilePicker:mac --C++ code threw unknown exception,win -- suspend
Product: LibreOffice Reporter: qidizi <qidizi>
Component: BASICAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: medium    
Version: 7.3.0.3 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard: QA:needsComment
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107659    
Attachments: mac and window test
7.2.5 for mac Unresponsive

Description qidizi 2022-02-22 15:18:10 UTC
Description:
fllow link example:  https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/File_Control 

but :
lb 7.3 for mac get c++ error;
lb 7.3/7.2.5 for win get suspend;

Steps to Reproduce:
1. new calc
2. add button, add abc function for ** event
3. Function abc() as String
	' https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/File_Control
	getCsvPath = ""
   	Dim fDialog as Object
   '	GlobalScope.BasicLibraries.LoadLibrary("Tools")
	fDialog = CreateUnoService( "com.sun.star.ui.dialogs.FilePicker" )

   	  	
   	fDialog.setDisplayDirectory( "/Users/qidizi/Desktop/" )
   	


   	 fDialog.execute()

End Function

Actual Results:
mac get c++error;
win get "suspend"

Expected Results:
show file picker dialog


Reproducible: Always


User Profile Reset: No



Additional Info:
see video for more
Comment 1 qidizi 2022-02-22 15:25:48 UTC
Created attachment 178459 [details]
mac and window test
Comment 2 qidizi 2022-02-22 15:52:35 UTC
Created attachment 178460 [details]
7.2.5 for mac  Unresponsive