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: NEEDINFO
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:
Keywords:
Depends on:
Blocks: Macro
  Show dependency treegraph
 
Reported: 2022-02-22 15:18 UTC by qidizi
Modified: 2025-11-25 16:00 UTC (History)
1 user (show)

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
Comment 3 Vaugh collier 2025-07-03 10:58:15 UTC Comment hidden (spam)
Comment 4 Xisco Faulí 2025-11-25 16:00:49 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)