Bug 159428

Summary: Kate doesn't restore the session properly (plugins are lost)
Product: [Applications] kate Reporter: Alejandro Blanco <korosu.itai>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andy, desatecek, dexter, dhaumann, flavio, mail, marcosgdavid, msnkipa, stefano.crocco, sven.burmeister
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alejandro Blanco 2008-03-16 21:39:17 UTC
Version:            (using KDE 4.0.2)
Installed from:    Ubuntu Packages
OS:                Linux

When I open Kate it doesn't remember the plugins I had neither the position and size of the window. Not even when I save the session and load it again.

The plugins Kate doesn't restore are the tabs plugin and the word autocompleter. I don't know if this happens with others plugins too.
Comment 1 Anders Lund 2008-03-24 17:48:50 UTC
Katepart plugins are not saved with the session at this time.
Kate plugins are.

So the tabs plugins state should be in your session file, and thus loaded when you load the session. The word completion should load too, since that is global application configuration.

Window geometry is saved if 'include window configuration' is enabled in the sessions configuration (which is the default).

FWIW, it works fine here, using the development version of KDE 4
Comment 2 Alejandro Blanco 2008-04-04 10:24:03 UTC
I have updated to 4.0.3 and now it works properly.
Comment 3 S. Burmeister 2008-05-30 20:06:14 UTC
I'm using KDE trunk and still see this.

I leave kate with the terminal enabled open and restart kde. After the session was restored kate does not show any enabled plugins.
Comment 4 Cyrill Helg 2008-06-12 22:26:43 UTC
I have this problem too. Please reopen!
Comment 5 Cyrill Helg 2008-06-12 22:32:30 UTC
My kde version is: 1.0.99 (KDE 4.00.82 (KDE 4.0.82 >= 20080610), Gentoo)
Comment 6 Christophe Marin 2008-06-12 22:35:05 UTC
Reopen
Comment 7 Shridhar Daithankar 2008-08-01 04:34:27 UTC
I have same problem with find in files plugin. I have to reenable it everytime I restart KDE. 

I am using KDE4.1, archlinux packages on x86_64.
Comment 8 Cyrill Helg 2008-08-06 09:14:15 UTC
I'm still having this issue in kde KDE 4.1.0 (4.1 >= 20080722).

Could anyone please confirm this officially?
Comment 9 Cyrill Helg 2008-08-06 09:48:08 UTC
this happes also when I just logout of kde (with kate open) and then login and kate is restored (not properly this time)
Comment 10 George Kiagiadakis 2008-08-06 10:13:57 UTC
This partially happens. To reproduce: open a new session, enable all plugins, quit. Now, open a new session again. Most of the plugins are now disabled, but not all of them. However, this doesn't happen if the session is saved under a name. In that case, all plugins are restored properly. I am not really sure whether this is intentional or not, but I guess it's not... so, I'll set this to NEW.

PS: I am using kate 3.1.0 (kde 4.1.0) from debian packages.
Comment 11 FiNeX 2008-10-01 14:10:01 UTC
*** Bug 171920 has been marked as a duplicate of this bug. ***
Comment 12 Dominik Haumann 2008-10-06 01:13:02 UTC
does it work if you choose "Session > Save as Default" after configurin your default?
Comment 13 Flavio Castelli 2008-10-06 16:29:15 UTC
Yes, saving the session as default one fixed the problem. But I think it shouldn't be done (with kate from kde3 it wasn't needed)
Comment 14 dexter 2008-12-11 15:28:50 UTC
Still present in KDE 4.1.2. I agree, that the settings should be stored automatically on application exit.

I would even go farther and say, that every open session should always automatically be saved on quit, thus eliminating the "Save Session" command totally.

Always remember, that software should become more intuitive and simpler. Firefox is a great example.
Comment 15 Marcos David 2009-01-31 16:16:58 UTC
I'm using KDE 4.2 and I also have this issue.

Save session works, the plugins are active on the next startup.

But this is not very intuitive, if you save apply the settings they should "stick" between sessions.
Comment 16 Andy 2009-02-20 01:58:48 UTC
I explicitly saved the session as mentioned above, closed Kate, then launched it again and everything was fine. Then I logged off and shut down the computer. But when I started Kate next time, the plugins (actually tab bar was the only one I used) disappeared once again. It also did not save its own settings. However, the general editor layout (hidden tool views, etc.) was preserved.

Could this be a bug in tab bar or it's Kate?

Kate
Version 3.2.63
Using KDE 4.2.63 (KDE 4.2.63 (KDE 4.3 >= 20090212)) "release 1.1"
on openSUSE 11.1
Comment 17 Dominik Haumann 2009-05-17 23:13:42 UTC
*** Bug 190809 has been marked as a duplicate of this bug. ***
Comment 18 Dominik Haumann 2009-05-17 23:14:25 UTC

*** This bug has been marked as a duplicate of bug 192839 ***