Closed
Bug 162038
Opened 23 years ago
Closed 23 years ago
framed pages drop reflow with load tab in background option
Categories
(Camino Graveyard :: Tabbed Browsing, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Chimera0.6
People
(Reporter: ralphnumbers, Assigned: bryner)
References
Details
Attachments
(2 files)
623 bytes,
application/octet-stream
|
Details | |
36.19 KB,
patch
|
Details | Diff | Splinter Review |
Google Image search breaks when you try to open one of the results in a new tab.
The resulting tab seems to have one very small frame at the top, and a blank
frame below. The page will display correctly if opened in the current tab, or
in a new window.
I think this *might* be a symptom of the same bug that mis-aligns some pages
when you open a link to a specific anchor tag target in a file (as opposed to
the file itself), putting the entire page off center in the window with a white
border arround it until you scroll.
Comment 1•23 years ago
|
||
This Works for Me using 2002080905. I went to
http://images.google.com/images?q=Chimera&ie=ISO-8859-1&hl=en, right-clicked on
the first result, and chose open link in new tab. I also tried command-clicking
on the link to open it in a new tab. In both cases the result page loaded
properly, with all frames and images loading, and all links working.
Which result was this tested on and what build did it occur in?
I can confirm the problem in current CVS. It is keyed to the "Load opened
window or tabs in the backgroun" option. If you enable it (like I normally
do), the problem occurs, if you disable it (as Steve probably has it), it
works just fine.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•23 years ago
|
||
bugs with loading tabs in background
Assignee: saari → pinkerton
Summary: Google image search problems → Google image search problems with load tab in background option
Comment 4•23 years ago
|
||
Thanks for clarifying this, Max. I can confirm that this bug does exist if (and
only if) you load a link in a background tab in 2002080905.
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Chimera0.6
Updated•23 years ago
|
Component: General → Tabbed Browsing
QA Contact: winnie → sairuh
*** Bug 167074 has been marked as a duplicate of this bug. ***
Comment 6•23 years ago
|
||
As I said in the other (duplicate) bug 167074, you can also reproduce this using
URLs like the following:
http://groups.google.com/groups?hl=en&lr=&ie=ISO-8859-1&q=random+search
*** Bug 169734 has been marked as a duplicate of this bug. ***
Comment 8•23 years ago
|
||
we're probably just dropping the final reflow on the floor. resizing the window
at all fixes this.
Comment 9•23 years ago
|
||
It also happens in the apple developer documentation- if you go to:
<http://developer.apple.com/techpubs/macosx/Cocoa/CocoaTopics.html>
and scroll down to the programming topics and open one of the links in a tab you
get the blank space. As Mr. Pinkerton stated with google they do show up if you
resize the window at all or reload. michael bryan bell
Comment 10•23 years ago
|
||
*** Bug 168983 has been marked as a duplicate of this bug. ***
Comment 11•23 years ago
|
||
it has something to do with frames or iframes. can someone come up with a
reduced test case?
Summary: Google image search problems with load tab in background option → framed pages drop reflow with load tab in background option
Comment 12•23 years ago
|
||
chris, have you seen this?
Comment 13•23 years ago
|
||
This might help. I've trimmed out quite a bit of the content, fixed all of
tidy's complaints about the html, and packaged it up. There are four html files
in the tarball.
After unpacking the tarball, visit file:///.../162038-testcase/index.html (or
equivalent) and command-click on the link (make sure "load new tabs in
background" is in your prefs). Shift to the new tab and you should see a blank
page. Reload it and you'll see the frames.
100% reproducible for me with build 2002101104.
Comment 14•23 years ago
|
||
*** Bug 174249 has been marked as a duplicate of this bug. ***
Comment 15•23 years ago
|
||
over to bryner.
layout is setting the width/height of each <frame>'s nsView, and thus the
widget, to (0,0). I don't understand enough about layout to understand why. this
only happens when the page is opened in a new tab in the bg.
Assignee: pinkerton → bryner
Status: ASSIGNED → NEW
Assignee | ||
Comment 16•23 years ago
|
||
This is a merge of bzbarsky's patch for bug 48422 to the chimera branch. There
were some bogus checks going on in nsHTMLFrameSetFrame::Reflow that caused it
to not recalculate the frame sizes on the first resize reflow after being sized
to 0,0. This patch fixes that.
Comment 17•23 years ago
|
||
wow, that's a pretty big patch. do we understand what it's doing and its effects
on the code?
Assignee | ||
Comment 18•23 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 19•23 years ago
|
||
*** Bug 181625 has been marked as a duplicate of this bug. ***
Comment 20•23 years ago
|
||
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•