Bug 227497 - Kate does not remember window size
Summary: Kate does not remember window size
Status: RESOLVED DUPLICATE of bug 156330
Alias: None
Product: kate
Classification: Applications
Component: sessions (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-18 11:26 UTC by Pieter van Nuffel
Modified: 2010-10-27 00:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pieter van Nuffel 2010-02-18 11:26:32 UTC
Version:           3.4.0 (using 4.4.00 (KDE 4.4.0), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.31-17-generic

I like to set kate to a specific window size, just like I do with kwrite. But kate does not always remember the configured size, and defaults back to a tiny size.

How to reproduce:

- open a text file with kate
  the window dimensions are now 708x507 (especially when opening a file with kate for the first time)
- resize to a better size
  (needed since kate always show that sidebar at the left with all opened documents)
- close kate
- open a text file
  (the previously configured window size is restored, like it should)
- close kate again
- open a text file for a last time

=> now the window size is 708x507 once more.

This behaviour is confirmed on KDE 4.3.2, 4.3.4, 4.3.5 and 4.4.0.
(This happened on my kubuntu 9.10 install, with various 'backports' updates.)

My machine is a Dell precision M4400 laptop, with a screen resolution of 1920x1200. It's a
wubi install inside the vista partition.

As a side note, before upgrading to KDE 4.4.0, files opened with kate did not open these
files in the same kate instance. A new kate instance was opened every time.
Comment 1 Oleg Romanenko 2010-03-07 09:35:44 UTC
I confirm this bug
Comment 2 Michael Schuerig 2010-03-18 22:30:20 UTC
This happens for me, too. If I start one Kate instance and set the window size, further instances are opened with the same size. When I close one of these Kate instances, the next instance I open has the rather small (default?) size. The same small size is used for any further instances.

BTW, there would be less need to adjust the window size, if the sidebar remembered its state and stayed closed after being closed previously.

I, too, am using a 1920x1200 screen size.
Comment 3 yan 2010-03-30 13:33:45 UTC
Same problem: Window size is not saved
Comment 4 Dominik Haumann 2010-05-23 22:25:06 UTC
Are you using sessions? If not try Sessions > Save as Default after setting the size.
Comment 5 Pieter van Nuffel 2010-08-11 23:10:51 UTC
That suggestion helped my problem, Dominik.

I just upgraded to KDE 4.5.0, and tried this bug immediately to see if it was resolved.

This might be an architectural issue after all. I do not think it's a wise decision that kate is being used as the default text editor for all kinds of users. (So I mean power users and newcomers.) I always preferred using kwrite in KDE 3.X, which did most features I needed. Kate needing to use the sessions-style of working without notifying the user might cause more issues such as the one outlined in this bug.
Comment 6 Dominik Haumann 2010-10-27 00:00:42 UTC
Fixed for KDE 4.6.

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