Closed
Bug 355657
Opened 18 years ago
Closed 18 years ago
window.open()ed links fail in a new tab, same window
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stephend, Assigned: csthomas)
References
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
1.83 KB,
patch
|
neil
:
superreview+
|
Details | Diff | Splinter Review |
Summary: window.open()ed links fail in a new tab, same window Build: The morning trunk build from the 4th of October works, but 2006-10-05-08 fails. Steps to Reproduce: 1. Have links set up to open in a new tab in the same window 2. Load http://squeedlyspooch.com/blog/free-toshok.html 3. Click on any of the image links, which do window.open() 4. Close the newly opened window 5. Click on another link Expected Results: New tab opens from that window.open() call Actual Results: The pointer does the busy cursor for a little bit, then goes back to being a pointer, but the new tab doesn't load WORKAROUND: Switching between tabs and then coming back seems to help
Comment 1•18 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061005 Minefield/3.0a1 WFM with default settings + browser.link.open_newwindow.restriction to 0
Comment 2•18 years ago
|
||
Stephend: could you explain why you put this on the dependency list of bug 349465? That patch didn't change anything for regular web pages.
Reporter | ||
Comment 3•18 years ago
|
||
(In reply to comment #2) > Stephend: could you explain why you put this on the dependency list of bug > 349465? That patch didn't change anything for regular web pages. Sure, smaug asked me to.
Comment 4•18 years ago
|
||
(In reply to comment #3) > Sure, smaug asked me to. > I asked to do that if bug 349465 actually caused this ;) (I thought you tested it.)
Reporter | ||
Comment 5•18 years ago
|
||
(In reply to comment #4) > (In reply to comment #3) > > Sure, smaug asked me to. > > > I asked to do that if bug 349465 actually caused this ;) > (I thought you tested it.) All I can confirm is the regression time frame; I'm happy not to have this on a dependency list, I thought you were more sure of this than I am/was. Feel free to remove it.
Comment 6•18 years ago
|
||
I cannot reproduce this using 2006-10-06-03-mozilla1.8 win32.
Comment 7•18 years ago
|
||
OK, this regressed between 2006-09-29-01 and 2006-09-30-01. Looks like bug 350416 to me.
Assignee: general → guifeatures
Blocks: 349465
Component: DOM: Core → XP Apps: GUI Features
Product: Core → Mozilla Application Suite
QA Contact: ian
Comment 8•18 years ago
|
||
So the basic problem is that this is a named window. The patch in bug 350416 leaves it invisible, but still findable in the docshell tree, looks like, so the new loads go into the invisible window.
Assignee: guifeatures → cst
Flags: blocking-seamonkey1.1b?
Keywords: regression
OS: Windows XP → All
Hardware: PC → All
Comment 9•18 years ago
|
||
So the point is you probably want to change the browser type or something. Not sure what. The idea is that you do NOT want the content tree owner finding that browser.
Assignee | ||
Comment 10•18 years ago
|
||
(In reply to comment #9) > So the point is you probably want to change the browser type or something. Not > sure what. The idea is that you do NOT want the content tree owner finding > that browser. > content-targetable? content-primary? just unset it?
Comment 11•18 years ago
|
||
No, neither of those will work. If you want to do the type thing you need a new type and hacking in the nsContentTreeOwner. biesi suggested maybe resetting the name to "" and then back. You might be able to do that... for now.
Assignee | ||
Comment 12•18 years ago
|
||
Can't test this. tabbrowser.xml changes don't get picked up in my build.
Attachment #241578 -
Flags: superreview?(neil)
Attachment #241578 -
Flags: review?(neil)
Assignee | ||
Comment 13•18 years ago
|
||
bz, at this point it doesn't look like undo close tab is going on branch.
Flags: blocking-seamonkey1.1b? → blocking-seamonkey1.1b-
Comment 14•18 years ago
|
||
(In reply to comment #11) >(In reply to comment #10) >>content-targetable? content-primary? just unset it? >No, neither of those will work. On the other hand plain type="content" seems to work fine.
Assignee | ||
Comment 15•18 years ago
|
||
Neil seemed to think this might be a better way to do it. This works, and does reasonable things even after undoing the close.
Attachment #241578 -
Attachment is obsolete: true
Attachment #241641 -
Flags: superreview?(neil)
Attachment #241641 -
Flags: review?(neil)
Attachment #241578 -
Flags: superreview?(neil)
Attachment #241578 -
Flags: review?(neil)
Comment 16•18 years ago
|
||
Comment on attachment 241641 [details] [diff] [review] tested patch As per IRC comments.
Attachment #241641 -
Flags: superreview?(neil)
Attachment #241641 -
Flags: superreview-
Attachment #241641 -
Flags: review?(neil)
Attachment #241641 -
Flags: review+
Assignee | ||
Comment 17•18 years ago
|
||
Attachment #241641 -
Attachment is obsolete: true
Attachment #242120 -
Flags: superreview?(neil)
Comment 18•18 years ago
|
||
Comment on attachment 242120 [details] [diff] [review] address review comments I'd prefer if the lines didn't move.
Attachment #242120 -
Flags: superreview?(neil) → superreview+
Assignee | ||
Comment 19•18 years ago
|
||
Landed with the new lines where the old lines were.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 20•18 years ago
|
||
Verified FIXED for me using build 2006-10-14-13 of SeaMonkey trunk under Windows XP.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•