KWrite doesn't remember geometry

Hi, I’m using KDE apps on FVWM, alll are working fine except KWrite. If I enter fullscreen and back to normal size it keeps starting in fullscreen:

/home/.config/kwriterc

/home/.local/state/kwritestaterc

1280x1024 screen: Window-Maximized=true

I tried changing it to false and making these files read-only but they are ignored.

Thanks.

I meant maximized not fullscreen.

the directory path is missing the user.

how did you install kwrite?

I’m the only user, with /home my directory:

sebaro:x:1000:1007:,:/home:/bin/bash

I’m using Gentoo, kwrite from portage.

It’s the same in Fluxbox,

The geometry option doesn’t work either:

kwrite --qwindowgeometry 100x100+50+50

The issue is with:

/home/.local/share/kwrite/anonymous.katesession

[MainWindow0 Settings]
WindowState=10

In normal size WindowState is 8, when maximized is changed to 10, when minimized the option doesn’t change back to 8.

That is a very odd setup, I wonder if you are break assumptions about $HOME == /home/$USER?

1 Like

I’ve been using /home as my home directory since KDE3 (Mandrake).

It’s still odd…

1 Like

Workaround: after changing kwrite’s settings and window geometry, I’ve made these files read-only:

~/.local/state/kwritestaterc

~/.local/share/kwrite/anonymous.katesession

Please report a bug.

A workaround works for few users at some point.
A fix works for ALL users, mostly forever…

The problem seems simple, when unmaximised the file setting /home/.local/state/kwritestaterc isn’t affected.

1 Like