Issue 10130 - file names that are the same as directories won't save with automatic filename extension enabled
Summary: file names that are the same as directories won't save with automatic filenam...
Status: CLOSED WONT_FIX
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 643
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-17 01:04 UTC by mintslice
Modified: 2004-03-18 15:26 UTC (History)
1 user (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 mintslice 2002-12-17 01:04:51 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.
Comment 1 thorsten.martens 2003-07-03 12:51:53 UTC
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 !
Comment 2 thorsten.martens 2004-03-18 15:26:11 UTC
.