Closed
Bug 147223
Opened 22 years ago
Closed 22 years ago
URLbar doesn't function on certain occasions
Categories
(Core Graveyard :: QuickLaunch (AKA turbo mode), defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: psychocybershark, Assigned: morse)
References
Details
(Whiteboard: [ADT2])
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
law
:
review+
darin.moz
:
superreview+
dbaron
:
approval+
|
Details | Diff | Splinter Review |
This is a fully reproducable bug, which only occurs on trunk builds. When the
-turbo tray icon comes back (after closing a browser window), if you immediatley
doubleclick it, Navigator will open, but the URLbar won't display the current
page, nor will AutoComplete function. Browsing still works though.
Reporter | ||
Comment 1•22 years ago
|
||
FYI, I'm on 2002052508, however this is on all recent trunk builds.
Comment 2•22 years ago
|
||
I am seeing this on 2002052809 trunk build also (mozilla)
Reporter | ||
Comment 3•22 years ago
|
||
This is dependant on the fix of Bug 146340 and was created in the resolution of
Bug 98673, as the -turbo icon now flashes out.
Comment 4•22 years ago
|
||
*** Bug 149333 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 5•22 years ago
|
||
It sounds like there's some timing problem here that was not taken care of by
the semaphores when full shutdown and restart were done. I wonder if my
original patch for bug 98673 (the one that was called too "Rube
Goldberg-ish") would have avoided this problem -- that patch didn't need
semaphores but instead delayed the restart to the last possible moment.
Assignee | ||
Comment 6•22 years ago
|
||
This problem actually sounds pretty serious if we are going to enable turbo mode
by default. Although it would not be normal for a user to immediately click on
the icon as soon as he shuts down the last window, that scenario might occur if
he closed the window down by mistake.
Let me add that the symptoms are more serious than described in the bug
description. I observered that browser does not respond to any url's typed in
the url bar. That is, you can type there and then press ENTER, but nothing
happens. The only way you can get to another page is by clicking on a link or
by typing the url into file->open-web-location.
Nominating for nsbeta1
Keywords: nsbeta1
Assignee | ||
Comment 9•22 years ago
|
||
Not exactly the same. In bug 82534, you cannot type at all. In this case you
can type into the URL bar, but you can't visit the page that you typed in.
Also this bug is very reproducible whereas that other one isn't.
Comment 10•22 years ago
|
||
*** Bug 146992 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 11•22 years ago
|
||
OK, here's a dirty patch that will solve the problem. What it does is waits for
five seconds after relaunching the turbo browser before it allows you to double
click on the icon. If you click too soon, your click will be ignored.
Ideally the test should not be time based but rather event based. That is,
there must be some event which has not yet happened when the icon is
double-clicked, and the lacking of that event is what is causing the problem
with the url bar. If we could figure out what that event was, we could come up
with a much cleaner patch.
But this patch is better than nothing because it does fix the problem and has
practically a zero risk of regression.
Assignee | ||
Comment 12•22 years ago
|
||
Assignee | ||
Comment 13•22 years ago
|
||
Bill Law and I just discovered that this is not a turbo issue. The same problem
will occur if you click on a mozilla icon twice in succession.
However we do have a patch for the turbo case only. And it involves an event
rather than a timeout. Attaching new patch next.
Assignee | ||
Comment 14•22 years ago
|
||
Attachment #87318 -
Attachment is obsolete: true
Attachment #87405 -
Flags: review+
Comment 15•22 years ago
|
||
Comment on attachment 87405 [details] [diff] [review]
patch based on an event occuring
r=law
(provided an appropriate comment is added)
Assignee | ||
Comment 16•22 years ago
|
||
Attachment #87405 -
Attachment is obsolete: true
Comment 17•22 years ago
|
||
Comment on attachment 87408 [details] [diff] [review]
event-based patch but including comments
r=law
Attachment #87408 -
Flags: review+
Comment 18•22 years ago
|
||
We noticed that the same problem can be reproduced without using QuickLaunch.
If you double click on a Mozilla program icon twice in fairly quick succession,
then one of the windows will open with this problem.
That is harder to fix because we don't have a reliable way of detecting that
the initial window load has not completed (we infer that in the fix for this
bug from the fact that OnLastWindowClosing has been called).
One possibility might be to hook into the notification that goes out to hide
the splash screen. That happens fairly late in the loading of the initial
window (just before it is shown).
That solution may not work on all platforms, depending on how they handle the
splash screen.
Comment 19•22 years ago
|
||
Comment on attachment 87408 [details] [diff] [review]
event-based patch but including comments
sr=darin
Attachment #87408 -
Flags: superreview+
Reporter | ||
Comment 21•22 years ago
|
||
Regarding the patch for the original QuickLaunch problem, I would suggest we
provide some way of showing through UI that the browser is not accessable (e.g.
put a red 'X' over the icon for three seconds, in addition to simply disabling
double clicks and right click/Navigator, which seems like a messy workaround to
me) for the time being.
Comment 22•22 years ago
|
||
adding adt1.0.1+. Please get drivers approval and then check into the branch.
Keywords: adt1.0.1+,
mozilla1.0.1
Assignee | ||
Comment 23•22 years ago
|
||
SharkDaddy, see bug 151532 which addresses the issue you just raised.
Assignee | ||
Comment 24•22 years ago
|
||
Fix has been checked in on the trunk. Awaiting driver's approval for branch
checkin.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 25•22 years ago
|
||
Excellent, that's much more professional looking IMO. Thanks for pointing it out
Stephen.
Comment 26•22 years ago
|
||
Comment on attachment 87408 [details] [diff] [review]
event-based patch but including comments
Please land this on the 1.0.1 branch. Once there, replace the
"mozilla1.0.1+" keyword with the "fixed1.0.1" keyword.
Attachment #87408 -
Flags: approval+
Updated•22 years ago
|
Keywords: mozilla1.0.1 → mozilla1.0.1+
Assignee | ||
Updated•22 years ago
|
Keywords: mozilla1.0.1+ → fixed1.0.1
Assignee | ||
Comment 29•22 years ago
|
||
*** Bug 130915 has been marked as a duplicate of this bug. ***
Updated•12 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•