Issue 90832 - setting CHECKBOX_AUTOEXTENSION crash on OOo 3.0 beta on MACOSX Only
Summary: setting CHECKBOX_AUTOEXTENSION crash on OOo 3.0 beta on MACOSX Only
Status: UNCONFIRMED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 3.0 Beta
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 10:01 UTC by vspiewak
Modified: 2013-01-29 21:44 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description vspiewak 2008-06-18 10:01:38 UTC
If I set CHECKBOX_AUTOEXTENSION to true, it crash on OOo 3.0 beta on MACOSX ONLY.


This is a sample code (found originally on oooforum.org):
[code]
// add a control to the dialog to add the extension automatically to the filename...
XFilePickerControlAccess xFilePickerControlAccess = (XFilePickerControlAccess)
UnoRuntime.queryInterface(XFilePickerControlAccess.class, xFilePicker);

// OOo crash on this line
xFilePickerControlAccess.setValue(com.sun.star.ui.dialogs.ExtendedFilePickerElementIds.CHECKBOX_AUTOEXTENSION,
(short) 0, new Boolean(true));

[/code]

It works on:
- OOo 2.3/2.4 Windows XP, Ubuntu 7.10, MacOSX
- OOo beta 3.0 Windows XP, Ubuntu not tested yet...
Comment 1 eric.bachard 2008-06-18 15:17:03 UTC
+me on CC
Comment 2 philipp.lohmann 2008-07-01 12:48:26 UTC
Could somebody please provide a complete testcase ?
Comment 3 Raphael Bircher 2009-11-05 09:00:03 UTC
Please test it with a actual version of OOo and test if this bug is in a newer
Version too.