RESOLVED DUPLICATE of bug 27285 29598
[Qt] QWebPage::createWindow() must call show() for target="blank"
https://bugs.webkit.org/show_bug.cgi?id=29598
Summary [Qt] QWebPage::createWindow() must call show() for target="blank"
Tor Arne Vestbø
Reported 2009-09-21 09:02:33 PDT
This bug report originated from Nokia internal issue QT-1250 --- Description --- Consider this implementation: QWebPage * WebPage::createWindow(QWebPage::WebWindowType type) { qDebug() << Q_FUNC_INFO; Q_UNUSED(type); WebView * newView = new WebView(); newView->show(); // HERE return newView->page(); } show() must called for links with target="blank_", in other cases not. This is inconsistent and leads to confusion. See the second link in http://www.javascript-coder.com/window-popup/javascript-window-open-example1.html for an example.
Attachments
Yael
Comment 1 2009-11-16 09:37:33 PST
This bug is the same as https://bugs.webkit.org/show_bug.cgi?id=27285, in which I was told to not add the call to show().
Antonio Gomes
Comment 2 2009-11-16 09:51:02 PST
(In reply to comment #1) > This bug is the same as https://bugs.webkit.org/show_bug.cgi?id=27285, in which > I was told to not add the call to show(). can you dup it ?
Yael
Comment 3 2009-11-16 09:52:25 PST
*** This bug has been marked as a duplicate of bug 27285 ***
Note You need to log in before you can comment on or make changes to this bug.