<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>29598</bug_id>
          
          <creation_ts>2009-09-21 09:02:33 -0700</creation_ts>
          <short_desc>[Qt] QWebPage::createWindow() must call show() for target=&quot;blank&quot;</short_desc>
          <delta_ts>2009-11-16 09:52:25 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>27285</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tor Arne Vestbø">vestbo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>tonikitoo</cc>
    
    <cc>yael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>148713</commentid>
    <comment_count>0</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2009-09-21 09:02:33 -0700</bug_when>
    <thetext>This bug report originated from Nokia internal issue QT-1250

--- Description ---

Consider this implementation:

QWebPage * WebPage::createWindow(QWebPage::WebWindowType type)
{
    qDebug() &lt;&lt; Q_FUNC_INFO;
    Q_UNUSED(type);
    WebView * newView = new WebView();
    newView-&gt;show(); // HERE
    return newView-&gt;page();
}

show() must called for links with target=&quot;blank_&quot;, 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164007</commentid>
    <comment_count>1</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2009-11-16 09:37:33 -0800</bug_when>
    <thetext>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().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164010</commentid>
    <comment_count>2</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2009-11-16 09:51:02 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; This bug is the same as https://bugs.webkit.org/show_bug.cgi?id=27285, in which
&gt; I was told to not add the call to show().

can you dup it ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164012</commentid>
    <comment_count>3</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2009-11-16 09:52:25 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 27285 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>