Closed Bug 22955 Opened 25 years ago Closed 24 years ago

StartPage: select file dialog incorrectly specifies url

Categories

(MailNews Core :: Backend, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: pmock, Assigned: bugs)

Details

(Whiteboard: [PDT-])

Build Date & Platform Bug Found:
 Win32 commercial seamonkey build 2000-01-03-09-m13 installed on P166 Win98
 macos commercial seamonkey build 2000-01-03-08-m13 installed on G3/400 OS 8.6

Overview Description:
 Under the "Messenger start page" section located in the mailnews category, if
you choose a local file on your hard disk, it will incorrectly specify the url.

For example, these are valid urls:
  file:/c:/junk/test.html
  /c:/junk/test.html

On Windows and Mac, it forgets the beginning "/" or "file:/".
I can work around the problem by typing in the missing character(s)

Steps to Reproduce:
1) Launch Seamonkey
   The browser page opens.
2) Select the Edit|Preference
3) Highlight the "mail and newsgroup" category
4) Under the Messenger start page section, click on the "select file" dialog
5) Choose a html file on your local drive
6) Press OK
   The dialog is dismissed and the url is displayed in the location field
    C:\1junk\test.html

Actual Results:
 The url/path is incomplete.  The start page will not load.  In some instances,
my folders do not list.

Expected Results:
 It should automatically put in the "file:/" text in the path. It should behaves
like 4.7 which does put "file:/" text.

Additional Builds and Platforms Tested On:
 This problem occurs on mac and win32 2000-01-02-09-m13 commercial seamonkey
build.

Additional Information:
 On Linux, I could not test because of bug 22780, but it should have the same
problem.
http://bugzilla.mozilla.org/show_bug.cgi?id=22780
QA Contact: lchiang → pmock
Assignee: sspitzer → dougt
re-assign to dougt.  Mr. nsIFile.
Target Milestone: M14
dependant on nsIFile.
adding beta1 keyword and setting m14 checkpoint.
Status: NEW → ASSIGNED
Keywords: beta1
Putting on PDT- radar for beta1.  Would not hold beta for this.
Whiteboard: [PDT-]
see comments in 22961. 

If this turns out to be a url parsing problem after you apply the suggestion in 
22961, than the bug is nsFileSpec related.
Assignee: dougt → ben
Status: ASSIGNED → NEW
does this still happen? I checked in a change last night that always shows the 
file URL to prevent the mac from barfing. 

otherwise, M15
Target Milestone: M14 → M15
worksforme in 02/22/00
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Linux (2000-03-10-13 M15)
Win32 (2000-03-10-09 M15)
Mac (2000-03-09-13 M15)
This bug is fixed on Mac and Win32.
However, on Linux:
6) Press OK
   The dialog is dismissed and the url is displayed in the location field
    file:///home/gor/interview.html
Actual Results:
 The url/path is complete but the start page will not load. 
Expected result: It should load like Mac and Win32.
Reopen the bug. 
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Mass moving to M16 to get these off the M15 radar.  Please let me know if this
is really an M15 stopper.
Target Milestone: M15 → M16
worksforme, linux 041000
Status: REOPENED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → WORKSFORME
Verified as fixed on win32, macos, and linux using the following builds:
 win32 commercial seamonkey build 00042809-m16 installed on Dell P500, Win98
 macos commercial seamonkey build 00042808-m16 installed on G3/400, MacOS 9.04
 linux commercial seamonkey build 00042809-m16 installed on P200, RedHat 6.1
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.