SUMMARY For some reason, every time I create a new kate session, kate opens in a corner of my screen and the window is far too small to use. I do not see any overrides There are no special window settings or application settings as far as I can tell. I might add that my desktop setup consists of two 1920x1200 displays and two 3840x2160 displays. The primary displays are the 3840x2160 screens and this is where new sessions are created. I do not see this issue with other KDE applications. STEPS TO REPRODUCE 1. Start a new KDE session, i.e. on the command line "kate -n" OBSERVED RESULT Kate appears in a corner of the screen and defaults to only 20 columns. EXPECTED RESULT I expect a reasonably sized Kate window that can display at least 80 columns without having to resize it. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: OpenSUSE 15.3 (available in About System) KDE Plasma Version: KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION It appears that these settings are stored in the anonymous session, though even though I resize the window before closing the new settings do not seem to take effect. If I manually edit the file it still reverts to the old settings, though I have not tried closing all instances of Kate and I have many active instances since I'm in the middle of several big projects.
Using X or wayland?
It is true that I can reproduce this e.g. with kate -n -s sdfsfdssdfsdfdsfsdfsjdfsjf On Wayland we start with the minimal size.
I can also reproduce but with dolphin, for some reason Kate is always maximized for me (lucky I guess). Also see https://community.kde.org/Plasma/Wayland_Showstoppers
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/659
Git commit ad04f9bcf4f807d5a2b96f119231a12f8f7c17e7 by Christoph Cullmann. Committed on 05/03/2022 at 18:35. Pushed by cullmann into branch 'master'. ensure some proper initial size ensure we start with some usable window size even if there is no stored data about it raise initial size to 800x600 or 0.6 of available screen size ensure we cut it with the maximal available screen size M +3 -4 kate/katemainwindow.cpp M +3 -4 kwrite/kwrite.cpp https://invent.kde.org/utilities/kate/commit/ad04f9bcf4f807d5a2b96f119231a12f8f7c17e7