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

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>280627</bug_id>
          
          <creation_ts>2011-08-23 08:06:34 +0000</creation_ts>
          <short_desc>Rekonq do not quit when closing window</short_desc>
          <delta_ts>2012-09-18 19:35:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>rekonq</product>
          <component>general</component>
          <version>latest git snapshot</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.10</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cédric Bellegarde">web</reporter>
          <assigned_to name="Andrea Diamantini">adjam7</assigned_to>
          <cc>thomas.pfeiffer</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1156254</commentid>
    <comment_count>0</comment_count>
    <who name="Cédric Bellegarde">web</who>
    <bug_when>2011-08-23 08:06:34 +0000</bug_when>
    <thetext>Version:           latest git snapshot (using KDE 4.7.0) 
OS:                Linux

Sometimes (2, 3 time a day), rekonq start telling me it has crashed in last session.

If i look at process, i can see that in fact, rekonq never quit, processus keep running.

Reproducible: Sometimes

Steps to Reproduce:
Can&apos;t find a way (random)


Expected Results:  
rekonq should quit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1156256</commentid>
    <comment_count>1</comment_count>
    <who name="Cédric Bellegarde">web</who>
    <bug_when>2011-08-23 08:08:52 +0000</bug_when>
    <thetext>http://adishatz.1s.fr/~gnumdk/rekonq.ogv</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1183588</commentid>
    <comment_count>2</comment_count>
    <who name="Cédric Bellegarde">web</who>
    <bug_when>2011-11-10 12:41:28 +0000</bug_when>
    <thetext>https://projects.kde.org/projects/extragear/network/rekonq/repository/revisions/93c8b0ab6c3c681dd4d48e0fa843bb955b211738</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202925</commentid>
    <comment_count>3</comment_count>
    <who name="Cédric Bellegarde">web</who>
    <bug_when>2011-12-21 08:56:11 +0000</bug_when>
    <thetext>Since you remove my patch, bug is here again...

I switch to 0.8.1 and rekonq do not quit again :-/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202928</commentid>
    <comment_count>4</comment_count>
    <who name="Cédric Bellegarde">web</who>
    <bug_when>2011-12-21 08:59:35 +0000</bug_when>
    <thetext>https://projects.kde.org/projects/extragear/network/rekonq/repository/revisions/624f44cf8228b12a4c7ae6f8dd36b800a4f03739

Here commit making bug appear again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202929</commentid>
    <comment_count>5</comment_count>
    <who name="Cédric Bellegarde">web</who>
    <bug_when>2011-12-21 09:03:03 +0000</bug_when>
    <thetext>Here what make me think Qtwebkit create window with no Qt::WA_QuitOnClose flag

No rekonq window available, rekonq process runnning and if i run xwininfo, it find a rekonq window:

[gnumdk@arch ~]$ xwininfo -name rekonq

xwininfo: Window id: 0x5600002 &quot;rekonq&quot;

  Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 840
  Height: 420
  Depth: 24
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsUnMapped
  Override Redirect State: no
  Corners:  +0+0  -2520+0  -2520-630  +0-630
  -geometry 840x420+0+0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1203842</commentid>
    <comment_count>6</comment_count>
    <who name="Andrea Diamantini">adjam7</who>
    <bug_when>2011-12-22 22:56:04 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; Here what make me think Qtwebkit create window with no Qt::WA_QuitOnClose flag
&gt; 
&gt; No rekonq window available, rekonq process runnning and if i run xwininfo, it
&gt; find a rekonq window:
&gt; 
&gt; [gnumdk@arch ~]$ xwininfo -name rekonq
&gt; 
&gt; xwininfo: Window id: 0x5600002 &quot;rekonq&quot;
&gt; 
&gt;   Absolute upper-left X:  0
&gt;   Absolute upper-left Y:  0
&gt;   Relative upper-left X:  0
&gt;   Relative upper-left Y:  0
&gt;   Width: 840
&gt;   Height: 420
&gt;   Depth: 24
&gt;   Visual: 0x21
&gt;   Visual Class: TrueColor
&gt;   Border width: 0
&gt;   Class: InputOutput
&gt;   Colormap: 0x20 (installed)
&gt;   Bit Gravity State: NorthWestGravity
&gt;   Window Gravity State: NorthWestGravity
&gt;   Backing Store State: NotUseful
&gt;   Save Under State: no
&gt;   Map State: IsUnMapped
&gt;   Override Redirect State: no
&gt;   Corners:  +0+0  -2520+0  -2520-630  +0-630
&gt;   -geometry 840x420+0+0

QtWebKit is not dark magic, it&apos;s opensource. You can just check its code to prove you are wrong. Or run a simple test like this:

#include &lt;QApplication&gt;
#include &lt;QWebView&gt;
#include &lt;QDebug&gt;

int main(int argc, char**argv)
{
    QApplication app(argc,argv);
    QWebView widg;
    qDebug() &lt;&lt; widg.testAttribute(Qt::WA_QuitOnClose);
    widg.show();
    return app.exec();
}

And see that qDebug returns true. Your solution simply doesn&apos;t work in general: in example, what if you close last window while you are downloading a file? Who takes care of it?

I&apos;d like to know more about your bug as it never happened here. Do you have some particular settings? Does this ever happen? How can I reproduce it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1217725</commentid>
    <comment_count>7</comment_count>
    <who name="Cédric Bellegarde">web</who>
    <bug_when>2012-01-23 08:18:24 +0000</bug_when>
    <thetext>It happen on Ubuntu and ArchLinux, don&apos;t know how to reproduce it...

Will try to see if some settings in rekonq affect this bug...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226398</commentid>
    <comment_count>8</comment_count>
    <who name="Cédric Bellegarde">web</who>
    <bug_when>2012-02-13 11:32:08 +0000</bug_when>
    <thetext>Ok, found how to reproduce...

Disable flash plugin and go here:
http://www.omgubuntu.co.uk/2012/02/gnomes-new-lock-screen-design-goes-online/

Play gdm &quot;html5 video&quot; and then close rekonq, it doesn&apos;t quit...

Hope it will work for you :-/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1226688</commentid>
    <comment_count>9</comment_count>
    <who name="Andrea Diamantini">adjam7</who>
    <bug_when>2012-02-13 23:13:22 +0000</bug_when>
    <thetext>It works for me. Disabled plugins, visited site, played video, closed rekonq. It quits..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1263641</commentid>
    <comment_count>10</comment_count>
    <who name="Thomas Pfeiffer">thomas.pfeiffer</who>
    <bug_when>2012-06-08 18:20:12 +0000</bug_when>
    <thetext>I often experience this bug as well. It seems to be more likely to happen if I had rekonq open for a while with many visited websites especially with resource-heavy flash content.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1264008</commentid>
    <comment_count>11</comment_count>
    <who name="Andrea Diamantini">adjam7</who>
    <bug_when>2012-06-09 22:35:51 +0000</bug_when>
    <thetext>Are you downloading something?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1264016</commentid>
    <comment_count>12</comment_count>
    <who name="Thomas Pfeiffer">thomas.pfeiffer</who>
    <bug_when>2012-06-09 23:01:38 +0000</bug_when>
    <thetext>No, I am not. Unless Rekonq falsely thinks I am...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1298391</commentid>
    <comment_count>13</comment_count>
    <who name="Andrea Diamantini">adjam7</who>
    <bug_when>2012-09-18 19:35:57 +0000</bug_when>
    <thetext>Reapplied a patch similar to the one Cedric proposed. This is fixed in the 1.x series. Please, reopen this (again) if not there.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>