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)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Chimera0.6

People

(Reporter: ralphnumbers, Assigned: bryner)

References

Details

Attachments

(2 files)

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.
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
bugs with loading tabs in background
Assignee: saari → pinkerton
Summary: Google image search problems → Google image search problems with load tab in background option
Blocks: 147975
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.
Status: NEW → ASSIGNED
Target Milestone: --- → Chimera0.6
Component: General → Tabbed Browsing
QA Contact: winnie → sairuh
*** Bug 167074 has been marked as a duplicate of this bug. ***
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. ***
we're probably just dropping the final reflow on the floor. resizing the window at all fixes this.
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
*** Bug 168983 has been marked as a duplicate of this bug. ***
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
chris, have you seen this?
Attached file simple test case
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.
*** Bug 174249 has been marked as a duplicate of this bug. ***
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
Attached patch patchSplinter Review
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.
wow, that's a pretty big patch. do we understand what it's doing and its effects on the code?
checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
*** Bug 181625 has been marked as a duplicate of this bug. ***
No longer blocks: 147975
vrfy'd fixed using the tests in comment 1 and comment 9. used 2002.12.04.04 on 10.2.2.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: