Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | FilePicker doesn't show name if no other file of same type exists on the location | ||
---|---|---|---|
Product: | General | Reporter: | cno |
Component: | ui | Assignee: | AOO issues mailing list <issues> |
Status: | CONFIRMED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues, mark.nienberg |
Version: | OOo 2.2.1 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
cno
2007-07-04 13:54:41 UTC
TM->JSK: please have a look, thanks Thanks to help from Fernand: When using the OOo-dialogs (Tools|Options|General) the problem doesn't exist. Nor with PDF's nor with other files. Pls mind: the arguments in calling PickMyFileName (sName , sPath ) have to be the other way round. (This in the Sub Main of the code to reproduce the bug.) Now the good news: the magical OOo-code has been repaired. In 2.3.1RC1, I can't reproduce. I first noticed when exporting a first PDF to a directory. Anyone an idea which cws? -> set to fixed setting closed Hi jsk, Sorry I have to reopen. Does not work OK in 3.0 Beta. Maybe it was ok in 2.3.1 because of the work on file extensions in the save dialog, that has been reverted in the mean time?? Ok, might still be a problem but the deadline has slipped now for 3.0 i'm afraid. Setting later target. However, i do not really see this as a bug. We do not provide any default name in the normal file save dialog either. Back to TM, please ignore the API stuff for now. The problem (or a similar one) still exists in 3.1.1. The filepicker will ignore the "SetDefaultName" if the folder does not contain any files. If the folder contains at least one file (of any type) then the filepicker will correctly display the default name. Workaround: Before displaying the filepicker, test to see if the directory contains any files. If not, create a dummy file in there, then execute the filepicker. After the user submits the dialog, delete the dummy file. |