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



Sunbird Only
16 years ago
12 years ago


(Reporter: gekacheka, Assigned: Mike Potter)





16 years ago
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.

Comment 1

16 years ago
Maybe we should switch it to a save dialog instead of an open dialog?
Ever confirmed: true

Comment 2

16 years ago
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.

Comment 3

16 years ago
You no longer need a name in that field.
Last Resolved: 16 years ago
Resolution: --- → FIXED

Comment 4

16 years ago
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]

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.