<?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>461780</bug_id>
          
          <creation_ts>2022-11-13 17:38:02 +0000</creation_ts>
          <short_desc>Add option to restore tabs upon restart</short_desc>
          <delta_ts>2026-11-04 10:13:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konsole</product>
          <component>general</component>
          <version>22.08.1</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>HI</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ralf Jung">post</reporter>
          <assigned_to name="Konsole Bugs">konsole-bugs-null</assigned_to>
          <cc>4wy78uwh</cc>
    
    <cc>bugs.kde.org</cc>
    
    <cc>bugskde</cc>
    
    <cc>chg</cc>
    
    <cc>cputtick</cc>
    
    <cc>dav1dblunk3tt</cc>
    
    <cc>donmartio</cc>
    
    <cc>gpuccioni</cc>
    
    <cc>hartke</cc>
    
    <cc>john</cc>
    
    <cc>kwolf</cc>
    
    <cc>m.kurz</cc>
    
    <cc>matt</cc>
    
    <cc>oleksandr</cc>
    
    <cc>petr</cc>
    
    <cc>piotr.mierzwinski</cc>
    
    <cc>postix</cc>
    
    <cc>richard.j.e.cooke</cc>
    
    <cc>serdarthtux</cc>
    
    <cc>shai</cc>
    
    <cc>vkrevs</cc>
    
    <cc>yuri</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>2172907</commentid>
    <comment_count>0</comment_count>
    <who name="Ralf Jung">post</who>
    <bug_when>2022-11-13 17:38:02 +0000</bug_when>
    <thetext>SUMMARY

It&apos;d be nice to be able to restart the session or machine without losing the open tabs in Konsole. Most applications (e.g. Dolphin, Firefox) have that feature.

In the past, X11 session management served this purpose, but with wayland that is not a thing any more, so it&apos;d be great if Konsole implemented something like this itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2177096</commentid>
    <comment_count>1</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2022-11-25 03:11:09 +0000</bug_when>
    <thetext>I notice firefox restarts automatically but not konsole</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2398364</commentid>
    <comment_count>2</comment_count>
    <who name="John Kizer">john</who>
    <bug_when>2025-02-15 21:42:40 +0000</bug_when>
    <thetext>*** Bug 456316 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2398366</commentid>
    <comment_count>3</comment_count>
    <who name="John Kizer">john</who>
    <bug_when>2025-02-15 21:42:52 +0000</bug_when>
    <thetext>*** Bug 474350 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2398369</commentid>
    <comment_count>4</comment_count>
    <who name="John Kizer">john</who>
    <bug_when>2025-02-15 21:44:11 +0000</bug_when>
    <thetext>*** Bug 492662 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2398371</commentid>
    <comment_count>5</comment_count>
    <who name="John Kizer">john</who>
    <bug_when>2025-02-15 21:44:40 +0000</bug_when>
    <thetext>*** Bug 483057 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2399051</commentid>
    <comment_count>6</comment_count>
    <who name="Yuri">yuri</who>
    <bug_when>2025-02-17 17:48:46 +0000</bug_when>
    <thetext>This function should save the tab set every time it changes, not just in the end of the session, just like modern browsers do.
If konsole is killed and re-started the tabs should be restored.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2399056</commentid>
    <comment_count>7</comment_count>
      <attachid>178489</attachid>
    <who name="">tcanabrava</who>
    <bug_when>2025-02-17 18:00:39 +0000</bug_when>
    <thetext>Created attachment 178489
attachment-372744-0.html

thats a worthy improvement, ill do my best to implement it

On Mon, 17 Feb 2025 at 18:49 Yuri &lt;bugzilla_noreply@kde.org&gt; wrote:

&gt; https://bugs.kde.org/show_bug.cgi?id=461780
&gt;
&gt; --- Comment #6 from Yuri &lt;yuri@tsoft.com&gt; ---
&gt; This function should save the tab set every time it changes, not just in
&gt; the
&gt; end of the session, just like modern browsers do.
&gt; If konsole is killed and re-started the tabs should be restored.
&gt;
&gt; --
&gt; You are receiving this mail because:
&gt; You are the assignee for the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2403425</commentid>
    <comment_count>8</comment_count>
    <who name="John Kizer">john</who>
    <bug_when>2025-02-28 05:33:45 +0000</bug_when>
    <thetext>*** Bug 500132 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2442052</commentid>
    <comment_count>9</comment_count>
    <who name="Shai">shai</who>
    <bug_when>2025-07-21 19:41:50 +0000</bug_when>
    <thetext>I&apos;m not sure about the intention, but I suspect this bug should depend on https://bugs.kde.org/show_bug.cgi?id=436318.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2473678</commentid>
    <comment_count>10</comment_count>
    <who name="Petr Tesařík">petr</who>
    <bug_when>2025-11-30 15:19:07 +0000</bug_when>
    <thetext>I ran into a similar bug as a regression when migrating from X11 sessions to Wayland sessions (bug 512713). It seems that the scope of this bug is slightly different, but you may want to keep in mind that there is already some logic in Konsole to restore individual tabs. Restoring works even in a Wayland session, but saving works only in X11 sessions.

Even if you decide that the existing feature is not worth fixing for Wayland (e.g. because you want to supersede it with this new feature), consider identifying the code and removing it to reduce duplication and bloat.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2562009</commentid>
    <comment_count>11</comment_count>
    <who name="Kevin Wolf">kwolf</who>
    <bug_when>2026-11-04 10:13:24 +0000</bug_when>
    <thetext>If I understand correctly, the dependencies have been merged meanwhile and a stable Wayland interface is available now. The previously mentioned bug 436318 (for the kwin side) has been marked fixed, too. So it seems to me that the Konsole side could be worked on now.

With Plasma 6.8 removing X11 support, broken session management in Wayland has become a problem that users can&apos;t easily work around any more by switching the session type. Missing session management in Konsole had been a major reason for me to stick with X11 while it was still possible, so I really hope this can be addressed soon.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>178489</attachid>
            <date>2025-02-17 18:00:39 +0000</date>
            <delta_ts>2025-02-17 18:00:39 +0000</delta_ts>
            <desc>attachment-372744-0.html</desc>
            <filename>attachment-372744-0.html</filename>
            <type>text/html</type>
            <size>1043</size>
            <attacher>tcanabrava</attacher>
            
              <data encoding="base64">PGRpdiBkaXI9ImF1dG8iPnRoYXRzIGEgd29ydGh5IGltcHJvdmVtZW50LCBpbGwgZG8gbXkgYmVz
dCB0byBpbXBsZW1lbnQgaXTCoDwvZGl2PjxkaXY+PGJyPjxkaXYgY2xhc3M9ImdtYWlsX3F1b3Rl
IGdtYWlsX3F1b3RlX2NvbnRhaW5lciI+PGRpdiBkaXI9Imx0ciIgY2xhc3M9ImdtYWlsX2F0dHIi
Pk9uIE1vbiwgMTcgRmViIDIwMjUgYXQgMTg6NDkgWXVyaSAmbHQ7PGEgaHJlZj0ibWFpbHRvOmJ1
Z3ppbGxhX25vcmVwbHlAa2RlLm9yZyI+YnVnemlsbGFfbm9yZXBseUBrZGUub3JnPC9hPiZndDsg
d3JvdGU6PGJyPjwvZGl2PjxibG9ja3F1b3RlIGNsYXNzPSJnbWFpbF9xdW90ZSIgc3R5bGU9Im1h
cmdpbjowcHgg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