| Summary: | Kate window always opens too small | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Aaron Williams <aaronw> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | christoph, waqar.17a |
| Priority: | NOR | ||
| Version First Reported In: | 21.12.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/kate/commit/ad04f9bcf4f807d5a2b96f119231a12f8f7c17e7 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Aaron Williams
2022-02-22 03:15:02 UTC
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 |