<?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>319489</bug_id>
          
          <creation_ts>2013-05-07 18:53:09 +0000</creation_ts>
          <short_desc>Rekonq session not restored with KDE session management</short_desc>
          <delta_ts>2013-06-25 20:54:06 +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>2.3.0</version>
          <rep_platform>Ubuntu</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>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Michael Reiher">redm</reporter>
          <assigned_to name="Andrea Diamantini">adjam7</assigned_to>
          <cc>david.narvaez</cc>
    
    <cc>lindsay.mathieson</cc>
    
    <cc>SCC</cc>
          
          <cf_commitlink>http://commits.kde.org/rekonq/d4458db696a60760ca079eaf10d38119a3287b99</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>1367057</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Reiher">redm</who>
    <bug_when>2013-05-07 18:53:09 +0000</bug_when>
    <thetext>Rekonq sessions are not restored when the KDE session is restored on login.

Part of the problems seems to be that the session is not saved properly. There is no rekonq entry in .kde/share/config/ksmserverrc, so obviously nothing gets restored.

I do though get a rekonq session file in .kde/share/config/session/ with content:

[Number]
NumberOfWindows=1

[WindowProperties1]
ClassName=RekonqWindow
Height 1050=840
ObjectName=win1
Width 1680=1344
geometry-1680-1050=AdnQywABAAAAAACoAAAAaQAABe0AAAPLAAAAqwAAAIAAAAXqAAADxwAAAAAAAA==

However when I manually try to restore this session I only get an entirely empty rekonq window.

I have rare cases where there is an entry in ksmserverrc and where something is indeed restored. But it&apos;s also just an entirely emtpy window.

Reproducible: Always

Steps to Reproduce:
1. Start a Rekonq session with a few tabs
2. Logout of KDE
3. Login to KDE again
Actual Results:  
No Rekonq is restored.

Expected Results:  
Restore Rekonq session that was active on logout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1367058</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Reiher">redm</who>
    <bug_when>2013-05-07 18:54:13 +0000</bug_when>
    <thetext>KDE version is 4.10.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370088</commentid>
    <comment_count>2</comment_count>
    <who name="David E. Narvaez">david.narvaez</who>
    <bug_when>2013-05-21 03:16:40 +0000</bug_when>
    <thetext>Git commit 8981a7b2ddc3ece450f52783fa561c01a61b4e61 by David E. Narváez.
Committed on 21/05/2013 at 05:15.
Pushed by narvaez into branch &apos;master&apos;.

Don&apos;t Save Sessions When Closing Tabs from Logout

Check if we&apos;re saving session (on KDE logout) before requesting the
session to save. This will allow Rekonq to restore sessions on next
login.
REVIEW: 110530

M  +5    -1    src/application.cpp

http://commits.kde.org/rekonq/8981a7b2ddc3ece450f52783fa561c01a61b4e61</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370090</commentid>
    <comment_count>3</comment_count>
    <who name="David E. Narvaez">david.narvaez</who>
    <bug_when>2013-05-21 03:17:54 +0000</bug_when>
    <thetext>Can you all test and report if this fixes session restore for you? It did for me, although the symptoms were not the same as the ones reported here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1378734</commentid>
    <comment_count>4</comment_count>
    <who name="Marwell">SCC</who>
    <bug_when>2013-06-22 12:18:01 +0000</bug_when>
    <thetext>Confirmed.
I experienced exactly the same as Michael Reiher described above (using KDE 4.10.3).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1379393</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Reiher">redm</who>
    <bug_when>2013-06-25 19:21:12 +0000</bug_when>
    <thetext>Just tested with rekonq 2.3.1. It might be that restoring sessions when starting rekonq works better now. However restoring via KDE session still doesn&apos;t work here. 

As written above: there is no entry in ksmserverrc. So no rekonq instance is run on startup and no session is restored (provided the latter works now).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1379413</commentid>
    <comment_count>6</comment_count>
    <who name="David E. Narvaez">david.narvaez</who>
    <bug_when>2013-06-25 20:54:06 +0000</bug_when>
    <thetext>Git commit d4458db696a60760ca079eaf10d38119a3287b99 by David E. Narváez.
Committed on 25/06/2013 at 20:51.
Pushed by narvaez into branch &apos;master&apos;.

Ignore Close Event Filtering Altogether when Saving Session

A stronger version of 8981a7b2 that guarantees that Rekonq will be
included in the session restore configuration file

M  +3    -6    src/application.cpp

http://commits.kde.org/rekonq/d4458db696a60760ca079eaf10d38119a3287b99</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>