Hi all,

Users of OOo 3.0 on Windows Vista have complained that opening a file with com.sun.star.ui.dialogs.FilePicker simply does not do anything in Vista (while it works in Windows XP and other OS, and also on Vista with 2.4.2).

This is only with the system FilePicker, not OpenOffice FilePicker.

In this thread
<http://www.oooforum.org/forum/viewtopic.phtml?t=80127>
the forum member vicrh has cleverly found that Issue 90219 is the same problem (reported on MacOSX).

He says that in Vista, FilePicker will work again if it is initialized to the constant
com.sun.star.ui.dialogs.TemplateDescription.FILEOPEN_SIMPLE
which has value zero.

The responsible for the Issue says the File Picker should always be initialized, and wants to throw an exception if not, instead of using the default value zero.

I think it is a regression (of the API), as there are numerous existing codes which do not initialize for a simple File Open, and which have been working for years on various OS and OpenOffice versions.

I'd like the advice of other API designers.

Regards
  Bernard


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to