Closed
Bug 88073
Opened 23 years ago
Closed 23 years ago
URL bar freaks out if you click on drop-down icon
Categories
(SeaMonkey :: UI Design, defect, P3)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.3
People
(Reporter: waterson, Assigned: waterson)
References
Details
(Keywords: qawanted, regression, Whiteboard: PDT+)
Attachments
(4 files)
(deleted),
image/jpeg
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
image/gif
|
Details |
This is a regression in today's build (2001-06-27). If you click the drop-down
button to the right of the URL bar, it goes bat shit. The URL centers itself; if
the URL bar was empty, it balloons out to a 150px tall empty hole.
Assignee | ||
Updated•23 years ago
|
Keywords: mozilla0.9.3,
regression
Comment 1•23 years ago
|
||
in the trunk or the branch?
This seems like a layout issue.. there haven't been many urlbar changes in the
last few days, especially ones might even closely relate to this..
Assignee | ||
Comment 2•23 years ago
|
||
trunk-only.
Comment 3•23 years ago
|
||
->URL Bar component.
Assignee: asa → alecf
Component: Browser-General → URL Bar
QA Contact: doronr → claudius
Comment 4•23 years ago
|
||
P3 for now as it is not on the branch.
Comment 5•23 years ago
|
||
Comment 6•23 years ago
|
||
Just some notes on that attached screenshot.
1) I'm pretty sure this is the same problem being described, but I could be wrong.
2) Screenshot is on a W2K SP2 box, Build ID: 2001070108
Comment 7•23 years ago
|
||
Marking all/all
Happens on linux too, trunk of the 30th
Screenshot in linux: http://vivaldi.ing.ula.ve/~fricardo/mozilla/historia.jpg
OS: Windows 2000 → All
Hardware: PC → All
Comment 8•23 years ago
|
||
this is some wierd editor issue.. nothing has changed with the urlbar in ages...
Assignee: alecf → beppe
Comment 9•23 years ago
|
||
seems like xpfe issue not editor
Assignee: beppe → blake
Component: URL Bar → XP Apps: GUI Features
QA Contact: claudius → sairuh
Comment 10•23 years ago
|
||
hot potato, hot potato...
luckily this whole url bar widget/dropdown-thing is hewitt's baby!
Assignee: blake → hewitt
Updated•23 years ago
|
QA Contact: sairuh → claudius
Comment 11•23 years ago
|
||
*** Bug 88595 has been marked as a duplicate of this bug. ***
Comment 12•23 years ago
|
||
*** Bug 89026 has been marked as a duplicate of this bug. ***
Comment 13•23 years ago
|
||
*** Bug 89049 has been marked as a duplicate of this bug. ***
Comment 14•23 years ago
|
||
*** Bug 89087 has been marked as a duplicate of this bug. ***
Comment 15•23 years ago
|
||
I've noticed this in the builds from the past couple of days, around the same
time I started noticing changes to the Modern theme. I also see this with the
Classic theme, though.
Comment 16•23 years ago
|
||
I think this one is becoming really annoying and will more than likely cause
quite a few more dupes to be filed.
Comment 17•23 years ago
|
||
*** Bug 89273 has been marked as a duplicate of this bug. ***
Comment 18•23 years ago
|
||
*** Bug 89278 has been marked as a duplicate of this bug. ***
Comment 19•23 years ago
|
||
*** Bug 89305 has been marked as a duplicate of this bug. ***
Comment 20•23 years ago
|
||
I noticed that if you hide the navigation toolbar (really hide, with
View->Show/Hide->Navigation Toolbar) and them you make it visible, the url bar
size and text alingment and also its behaviour become normal.
Comment 21•23 years ago
|
||
Strange that this did not happen in 2001062914 build for Mac, though this bug is
filed on 0627. In Mac , it started in 0703 builds.
Comment 22•23 years ago
|
||
marking mostfreq preemptively. qawanted: can someone try to pinpoint exactly
when we regressed (down to a day, down to an hour, down to a checkin)
Comment 23•23 years ago
|
||
*** Bug 89360 has been marked as a duplicate of this bug. ***
Comment 24•23 years ago
|
||
*** Bug 89366 has been marked as a duplicate of this bug. ***
Comment 25•23 years ago
|
||
Summary change suggestion:
from: 'URL bar freaks out if you click on drop-down icon'
to: 'URL Bar resizes permanently when clicking on its drop down button'
Comment 26•23 years ago
|
||
I have tested nightly builds to find the time this regressed on linux. The
following builds do not show this problem: 2001062906 and 2001062909-gcc2.95.
The build 2001062921 exhibits this bug.
Just to confirm: I do mean the problem did not appear until the 29th June on Linux.
Further details (probably irrelevant): I am running LinuxFromScratch compiled
using gcc2.95 running kernel 2.4.4 and XFree86 4.0.3. My methodology was to
download each of the nightlies; unpack them in their own directory; delete my
.mozilla directory; run the build; visit www.slashdot.org and www.freshmeat.net
by typing in the location bar; finally click on drop down history button.
Comment 27•23 years ago
|
||
*** Bug 89442 has been marked as a duplicate of this bug. ***
Comment 28•23 years ago
|
||
*** Bug 89476 has been marked as a duplicate of this bug. ***
Comment 29•23 years ago
|
||
*** Bug 89568 has been marked as a duplicate of this bug. ***
Comment 30•23 years ago
|
||
This seems to have happened at the same time as another URL bar change appeared.
Previously, one double-clicked on the URL bar to mark the entire text, now a
single click does it.
Comment 31•23 years ago
|
||
this just showed up on the branch on all platforms as of 07/06
Comment 32•23 years ago
|
||
*** Bug 89634 has been marked as a duplicate of this bug. ***
Comment 33•23 years ago
|
||
*** Bug 89661 has been marked as a duplicate of this bug. ***
Comment 34•23 years ago
|
||
*** Bug 89666 has been marked as a duplicate of this bug. ***
Comment 35•23 years ago
|
||
*** Bug 89670 has been marked as a duplicate of this bug. ***
Comment 36•23 years ago
|
||
*** Bug 89676 has been marked as a duplicate of this bug. ***
Comment 37•23 years ago
|
||
*** Bug 89684 has been marked as a duplicate of this bug. ***
Comment 38•23 years ago
|
||
*** Bug 89688 has been marked as a duplicate of this bug. ***
Comment 39•23 years ago
|
||
This regression was caused by the patch for bug 84645. Backing that patch out
in my tree fixed the problem.
Comment 40•23 years ago
|
||
Should we back that out, then, since this is a much more visible, and annoying, bug?
Comment 41•23 years ago
|
||
PDT+
We should understand the interaction here and then choose our course. Does
anyone know what the relationship is?
Whiteboard: PDT+
Comment 42•23 years ago
|
||
Please check in bug 89568 what actions activate and deactivate the bug, perhaps
this would lead to somewhere
Comment 43•23 years ago
|
||
From what I can gather... The overflow (resize or expansion) is causing a
resize in the parent (navbar). Before the patch for bug 84645 went in, it
didn't try to call the parent. I'm looking a little closer to see what I can
see. (Override for navbar anyone?) Does the drop down need to be a separate
layer than the parent? I'm thinking aloud here.
Comment 44•23 years ago
|
||
*** Bug 89745 has been marked as a duplicate of this bug. ***
Comment 45•23 years ago
|
||
*** Bug 89773 has been marked as a duplicate of this bug. ***
Comment 46•23 years ago
|
||
*** Bug 89831 has been marked as a duplicate of this bug. ***
Comment 47•23 years ago
|
||
*** Bug 89848 has been marked as a duplicate of this bug. ***
Comment 48•23 years ago
|
||
Would it be appropriate to call this a "priority" P1 or P2 bug?
I suggest to back out the bug 84645 fix pronto!!! It is FAR less important than
the DAMAGE this bug is doing. Then TEST the other bug fix until you know it
wouln't do this again. Only then resubmit the fix for bug 84645.
I have never seen a bug grow as *quickly* as this one (votes, CC's, duplicates).
Comment 49•23 years ago
|
||
I agree. This very noticeable regression has been around for 11 days now. The
usual practice in the past has been to back out the regression-causing checkin
and then diagnose it locally. Why is it different for this?
Comment 50•23 years ago
|
||
It think this bug make Moz very unstable because IF I produce it I always receive
an System error type 11 (under MacOS 8.6) after few minutes... and menus become
mess up sometime...
Comment 51•23 years ago
|
||
I noticed that after the bar enlarges to about 150px, the
View/Show-Hide/Navigation Toolbar menu doesn't work anymore.
hth, win95 2001070808
Comment 52•23 years ago
|
||
You can do File -> New Navigator Window as a workaround and close the problem
window.
Also, if you clear the URL bar (View -> Preferences -> Navigator -> History ->
Clear Location Bar), then when you hit the arrow the URL shifts to the right
rather than the bar taking lots of vertical space.
Assignee | ||
Comment 53•23 years ago
|
||
So how about we back out the changes from bug 84645 on the branch, and reassign
the bug to me to fix on the trunk?
Comment 54•23 years ago
|
||
*** Bug 89997 has been marked as a duplicate of this bug. ***
Comment 55•23 years ago
|
||
Chris, if you can fix it in the next day or two on the trunk, then sure.
Otherwise I'd rather it was backed out of both the trunk and the branch. I'm
getting tired of marking bugs as duplicates!
How serious was the problem that bug 84865 fixed? From what I can tell, it was a
fringe case that almost never happened. If we can't fix this regression quickly
it makes more sense to me to get rid of the regression. I've had much less
noticeable regressions than this backed out in a matter of hours. This one's
been around for a lot longer than that.
Comment 56•23 years ago
|
||
<QA_ignore>
25 dups, 30 votes, nasty comments on the newsgroups. Let's back this up ASAP.
</QA_ignore>
Comment 58•23 years ago
|
||
*** Bug 90030 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 59•23 years ago
|
||
Assignee | ||
Comment 60•23 years ago
|
||
So the problem with the patch is that you don't want to grovel around for a new
parent unless your parent is splittable, which box frames aren't. (That is, a
box frame will never have a continuation.) This fixes the box frame to not lie
about its ability to be split, and checks the split-type in the frame ctor to
avoid grovelling for unsplittable frames.
Status: NEW → ASSIGNED
Keywords: patch
Comment 61•23 years ago
|
||
*** Bug 90032 has been marked as a duplicate of this bug. ***
Comment 62•23 years ago
|
||
So what you're saying is that it fixes it without backing out the fix for bug
84865 ?
If so .. perfect ! :)
Comment 63•23 years ago
|
||
The patch makes sense, although it's out of my domain to give an r= to. Can the
"if (NS_FRAME_IS_SPLITTABLE(splitType))" check be moved up higher, above "if
(prevSibling)"? We should drop straight to the "else" if the frame isn't
splittable, shouldn't we?
Are there any other classes that are going to bite us because they're not
splittable? Should we add IsSplittable to anything else right now?
Assignee | ||
Comment 64•23 years ago
|
||
hyatt sez [s]r=hyatt.
Assignee | ||
Comment 65•23 years ago
|
||
dean: we don't want to drop into the |else| clause unless |!prevSibling &&
!nextSibling|.
Comment 66•23 years ago
|
||
*** Bug 90050 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 67•23 years ago
|
||
Changes backed out on the branch.
Assignee | ||
Comment 68•23 years ago
|
||
Comment 69•23 years ago
|
||
*** Bug 90127 has been marked as a duplicate of this bug. ***
Comment 70•23 years ago
|
||
branch builds are fixed...still present on trunk builds
Comment 71•23 years ago
|
||
*** Bug 90174 has been marked as a duplicate of this bug. ***
Comment 72•23 years ago
|
||
*** Bug 90177 has been marked as a duplicate of this bug. ***
Comment 73•23 years ago
|
||
*** Bug 90167 has been marked as a duplicate of this bug. ***
Comment 74•23 years ago
|
||
*** Bug 90200 has been marked as a duplicate of this bug. ***
Comment 75•23 years ago
|
||
*** Bug 90216 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 76•23 years ago
|
||
Okay, dbaron is _such_ a bully! He made me sit down and figure out why
|ContentRemoved()| was making the URL bar freak out. And he took my
lunch money. Waah!
Here's the situation. When the URL bar is clicked, We get an
|AttributeChanged()| which causes a |RecreateFramesForContent()|. The
node that we want to recreate frames for is a
<menupopup>. |RecreateFramesForContent()| first calls
|ContentRemoved()|, which ends up being a no-op because the
<menupopup> was |display: none| up until this point. That is, there is
no frame to remove.
Then we call |ContentInserted()|, giving the parent container as the
<menu>, the child conten as the <menupopup>, and the index to insert
as 1. At this point, it's useful to know that the content model looks
something like this:
<menu>
<image />
<menupopup>...</menupopup>
</menu>
And the frame model looks something like:
nsMenuFrame(<menu>)<
nsBoxFrame(1)<
nsBoxFrame(2)<
nsImageBoxFrame(<image>)<
>
>
(...more nsBoxFrames...)
>
nsPopupSetFrame< (!!!)
>
>
(As an aside, I don't know where the nsPopupSetFrame comes from: it
appears to be part of a content model that looks like:
<hbox>
<hbox>
<textbox>
<popupset />
</textbox></hbox></hbox>
How its frame ended up as a child of the <menu> is a mystery to me!)
So, |ContentInserted()| finds the |nsMenuFrame| as the
|parentFrame|. It calls |FindPreviousSibling()| on the <menu>, and
using |nsIContent::ChildAt(0)|, discovers that the <image> frame is
the apparent ``previous sibling'' of the new frame we're about to
create and insert. This is where things start to go wrong.
Next, the code that I put in for bug 84645 kicks in. Since
|prevSibling| is set, it attempts to fix up the |parentFrame| pointer
(as if it was dealing with a continued HTML frame). It alters
|parentFrame| to point to |prevSibling|'s parent, which is
nsBoxFrame(2), above!
The frame insertion code now tries to insert the frames created for
the <menupopup> beneath nsBoxFrame(2) instead of beneath nsMenuFrame,
and all hell breaks loose.
So why does this work with the above patches, since |prevSibling| has
been corrupted already? It turns out that none of the menu
construction code actually _cares_ about |prevSibling|, so everything
comes out in the wash.
Now that I've done this analysis, I'm less convinced that my patch is
correct.
Assignee | ||
Comment 77•23 years ago
|
||
...so I'll back my changes for bug 84645 out as soon as the tree opens, and then
try to work out a proper fix.
Assignee | ||
Comment 78•23 years ago
|
||
Okay, I've backed out changes in r1.603 to nsCSSFrameConstructor.cpp; bug 84645
has already been re-opened, so I'll try to come up with a better fix over there.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 79•23 years ago
|
||
*** Bug 90275 has been marked as a duplicate of this bug. ***
Comment 80•23 years ago
|
||
WFM with fresh CVS Win32 build(WindowsME).
Asa would probably frag me if I verified/fixed this without Mac & Linux WFMs, so
feel free to comment on that.
Comment 81•23 years ago
|
||
So nice to be able to view my URL bar drop down history again!
WFM on Linux 2001071021 (trunk).
Comment 82•23 years ago
|
||
WFM linux x86 2001-07-10-21
Comment 83•23 years ago
|
||
Now fixed for me, Solaris SPARC CVS pull 2001/07/10-23:00 ADT.
Comment 84•23 years ago
|
||
*** Bug 90316 has been marked as a duplicate of this bug. ***
Comment 85•23 years ago
|
||
Seems like a major rendering speed improvement after this was backed out on the
nightly build. In remembering back, it seemed a lot faster before the fix went
in. I could be wrong.
Comment 86•23 years ago
|
||
Verifying. Thanks for backing those changes out, Chris.
Status: RESOLVED → VERIFIED
Comment 87•23 years ago
|
||
*** Bug 90481 has been marked as a duplicate of this bug. ***
Comment 88•23 years ago
|
||
*** Bug 90880 has been marked as a duplicate of this bug. ***
Comment 89•23 years ago
|
||
*** Bug 90880 has been marked as a duplicate of this bug. ***
Comment 90•23 years ago
|
||
Please reopen. It's Win32 Nightly (build 2001071604)
Now it thinks it's parent constraint is the size of my desktop...
Attaching screenshot...
Comment 91•23 years ago
|
||
Comment 92•23 years ago
|
||
Hmm i had that same case a long time ago.
What happens if you click on the drop down icon again?
Comment 93•23 years ago
|
||
tswan: That is another bug. See bug 83944.
Comment 94•23 years ago
|
||
*** Bug 92771 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•