Bug 326064 - Session window sizes not restored on startup
Summary: Session window sizes not restored on startup
Status: RESOLVED DUPLICATE of bug 415150
Alias: None
Product: kate
Classification: Applications
Component: sessions (show other bugs)
Version: 3.11.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-15 18:27 UTC by Travis Evans
Modified: 2020-02-28 03:54 UTC (History)
6 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 Travis Evans 2013-10-15 18:27:38 UTC
Kate no longer seems to remember window sizes/positions even with "include window configuration" turned on.

Reproducible: Always

Steps to Reproduce:
1. Start kate. Go to Configure Kate > Sessions and turn on "include window configuration" and select "load last-used session"
2. Create a new session and save it.
3. Resize window.
4. Save session again.
5. Quit kate.
6. Restart kate.
Actual Results:  
Window size does not reflect size used before quit.

Expected Results:  
Size should have been saved with the session and applied on startup of the same session.
Comment 1 Michal Humpula 2013-12-31 07:18:16 UTC
Hi Travis,

I can't reproduce this. Are you using kwin as window manager?
Comment 2 Travis Evans 2014-01-01 01:57:06 UTC
I am. I believe I even tried in a fresh user profile to be sure. Is there anything I can try to try to narrow anything down?
Comment 3 Michal Humpula 2014-01-01 11:06:13 UTC
What window size the kate ends with? Is it maximized, does it seems like the standard one, ... ? Do you have window size policy for kate configured in kwin?
Comment 4 Travis Evans 2014-02-12 20:01:25 UTC
In my test user session, it always wants to open at 798x201 for some reason. Even if I have it set to the previous-loaded session, I have to go to Sessions > Quick open session and select it again to get it to set itself to the session's size. This is a fresh profile, so no Kwin rules.

In my main working profile, I have to use a Kwin policy just to make kwin remember my last size, because otherwise I always get something like 802x346, regardless of session's stored size. So it seems as if somehow the window size doesn't get initialized correctly when a kate session first starts up.
Comment 5 Nate Graham 2017-12-06 22:48:26 UTC
*** Bug 377283 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2017-12-06 22:49:56 UTC
*** Bug 363223 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Cullmann 2019-07-13 22:29:20 UTC
Hmm, the window size is restored for me.
What is not restored is the window position on the screen.
That is the same as on Windows.

*** This bug has been marked as a duplicate of bug 409675 ***
Comment 8 Nate Graham 2020-02-28 03:54:15 UTC
Found out that KXMLGui is supposed to be doing this.

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