Apache OpenOffice (AOO) Bugzilla – Issue 10130
file names that are the same as directories won't save with automatic filename extension enabled
Last modified: 2004-03-18 15:26:11 UTC
Steps to reproduce: 1. from the terminal, create a directory in /tmp called test. 2. open OpenOffice.org and create a document (in my case a spreadsheet but it also works for writer and I would guess others). 3. click File > Save As and navigate to /tmp 4. Make sure that Automatice file name extension is checked. 5. Type 'test' as the file name (make sure that a trailing / isn't added) and click save. Actual Behavior: This opens the test folder and clears the File name field. Expected behavior: Given the Automatic file name extension is active, I would expect it to save the file to tmp as test.sxc (or test.sxw, etc) If I turn off the Automatic file name extension and type in test.sxc then it saves that file, instead of opening the test folder. I would expect that saving with Automatic file name extension would behave the same way, checking to see if text.sxc exists (and not test) and handling this case.
The within this issue described behaviour is a part of the implemented autocompletion. To allow users to travel quickly through folders by keyboard, entering the name of an existing folder into the field filename, followed by pressing "Enter" is opening that folder. To avoid this "unwanted" action, the file-extension must be entered too. Then the file will be saved. Btw. the windows-system save-as dialog acts the same way !
.