Apache OpenOffice (AOO) Bugzilla – Issue 93828
Aqua: crash in SalAquaFilePicker::updateSaveFileNameExtension()
Last modified: 2008-12-15 10:26:07 UTC
There is a scenario that results in a crash in SalAquaFilePicker::updateSaveFileNameExtension(). It happens when FilterHelper::getCurrentFilterSuffixList() returns an empty list. As of now it was only observed for PDF-export and the scenario is not yet fully understood. @fheckl: do you have any idea, why the the filtersuffix list might be empty especially in the PDF-export scenarios?
the fix is simple enough: just test the list for emptyness
Since the crash should cause a restart I put the hotfix in the most appropriate CWS macrestart2
@pl: please verify in CWS macrestart2
*** Issue 93827 has been marked as a duplicate of this issue. ***
Though it is surely the best to test the list for emptyness before accessing it, it would be good to find out why the list is empty in the mentioned scenario. If we are not able to set a required file type due to an empty suffix list the user can set the filename suffix to anything she likes which is no big deal but also not ideal since a different app might then want to open this file...
verify empty check. Certainly it would still be good to know, why this happened at all.
@pl/@fheckl: when I could still reproduce the problem it looked as if - the OUStringList wasn't empty before FilterHelper::getCurrentFilterSuffixList() returned - the aStringList in SalAquaFilePicker::updateSaveFileNameExtension() was empty!!! So I suspect something went wrong when the OUStringList got copied around... scary stuff.
*** Issue 93508 has been marked as a duplicate of this issue. ***
target
By the way: until the fix is integrated the easiest workaround is to disable native dialogs by enabling Tools->Options->Office->General->OpenSaveDialogs->UseOwnDialog
*** Issue 95777 has been marked as a duplicate of this issue. ***
*** Issue 89137 has been marked as a duplicate of this issue. ***
*** Issue 96871 has been marked as a duplicate of this issue. ***
integrated, closing