Bug 147594 - com.sun.star.ui.dialogs.FilePicker:mac --C++ code threw unknown exception,win -- suspend
Summary: com.sun.star.ui.dialogs.FilePicker:mac --C++ code threw unknown exception,win...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.3.0.3 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks: Macro
  Show dependency treegraph
 
Reported: 2022-02-22 15:18 UTC by qidizi
Modified: 2023-05-13 17:03 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
mac and window test (24.63 MB, application/zip)
2022-02-22 15:25 UTC, qidizi
Details
7.2.5 for mac Unresponsive (17.99 MB, video/mp4)
2022-02-22 15:52 UTC, qidizi
Details

Note You need to log in before you can comment on or make changes to this bug.
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