Closed Bug 170190 Opened 22 years ago Closed 22 years ago

"New Calendar" file browser should accept non-existing name for new calendar file

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gekacheka, Assigned: mikeypotter)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910, 2002091910-cal

"New calendar" file browser should be able to accept a name for a non-existing
file for creating a new calendar file.

Reproducible: Always

Steps to Reproduce:
1. File | New Calendar
2. Click "Browse for local file"
3.   navigate to desired directory
4.   type in name of new file 
5.   Click "Open"


Actual Results:  
File not found error reported.

Expected Results:  
New file will be created.

Note that typing in a new path directly into the field does work, so the problem
is  just that the file browser does not accept new file names.
Maybe we should switch it to a save dialog instead of an open dialog?
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
I've fixed this so you don't even need a name in that dialog, which is the way
it should have been to start.
You no longer need a name in that field.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Currently (20031416-cal on Moz1.3b) 
"new calendar" uses a "save" dialog.
On w2k, if you choose existing file XXX.ics, 
the save file chooser dialog warns that 

  XXX.ics already exists.
  Do you want to replace it?
   [yes] [no]

If I click no (I don't want to replace it with a new empty file, I want to open
it), the operation is canceled.

If I click yes, it opens the file successfully (does not replace the file, so
the message is very misleading)..

I think this shows that, analogous to the browser File menu, calendar needs to
have separate menu items for 

   New Calendar                [uses save file chooser]
   Open Calendar File          [uses open file chooser]
   Open Web Calendar           [currently called 'subscribe' in tools menu]

reopen?
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: colint → sunbird
You need to log in before you can comment on or make changes to this bug.