Closed Bug 290342 Opened 20 years ago Closed 19 years ago

slow startup when called frm external C program using system(start file.html) command and firefox is the default browser

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: John.Schneider, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

Compile this extremely simple program: Firefox as default browser will open so
slowly that the file we wish to display (and then delete) will be deleted before
Firefox actually opens... only workaround is to give it a ridiculous amount of
time (e.g. 30 seconds, and even that is too close for comfort).  Internet
Explorer opens instantly when called.
#include <stdio.h>
main()
{
   time_t  t1, t2;
   FILE   *myfile = fopen("myfile.html", "w");
   fprintf(myfile, "<html><head><title>Test Page</title></head><body>Hello
World!</body></html>\n");
   fclose(myfile);
   time (&t1); time (&t2);
   while ((int)(t2 - t1) < 2) time(&t2);
   system("start myfile.html");
   time (&t1); time (&t2);
   while ((int)(t2 - t1) < 10) time(&t2);
   system("del myfile.html");
   return;
}


Reproducible: Sometimes

Steps to Reproduce:
1. Save above program as test.c
2. Compile it: "gcc test.c -o test.exe"
3. Run it. "test".
4. It should sit there a while and then open a firefox windows that says it
can't find the given file... despite that we gave it a full 10 seconds to open...
5. Adjust the "10" in the 3rd-last program line to something longer to see about
how long it takes on average.  For me, (on Win2K, P4, 4.8GHz, 1GB RAM system)
about 20 seconds on average.
Actual Results:  
Described above.

Expected Results:  
Start within 1 or 2 seconds of startup command.


Aside: I marked this as "critical" despite the "easy" workaround of extending
the wait time in my external app... however extending it too far is simply not
realistic in the real world: Firefox MUST improve startup times to be taken
seriously in the business world.  (Better XSL support would be nice too).
General bugs like startup is to slow or Firefox needs to much memory ... are
invalid.
BTW: IE is always in the memory and that doesn't count.
Severity: critical → normal
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Summary: slow startup when called from external C program using system(start file.html) command and firefox is the default browser → slow startup when called frm externoal C program using system(start file.html) command and firefox is the default browser
This is different.  On my machine, I can start FireFox from the start menu or
the command prompt and it takes less than a second to open.  In the situation
described, however, it takes forever.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Summary: slow startup when called frm externoal C program using system(start file.html) command and firefox is the default browser → slow startup when called frm external C program using system(start file.html) command and firefox is the default browser
and if you doubleclick on a html File in the explorer ?
Is that slow or fast ?
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.