Summary: | konsole starts with tiny window if old konsolerc present | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Fabian Vogt <fabian> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a.samirh78, kdelibs-bugs, piotr.mierzwinski, trilader+kdebugs |
Priority: | NOR | ||
Version: | 21.08.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/konsole/commit/3177c9ef8a21bacd52a11e797675e0488bad9e15 | Version Fixed In: | 21.12 |
Sentry Crash Report: |
Description
Fabian Vogt
2021-09-10 09:02:48 UTC
*** Bug 442284 has been marked as a duplicate of this bug. *** It looks like it's not just the State= key, these ones come into play too: DP-1 Height DP-1 Width DP-1 XPosition DP-1 YPosition (It's also possible I got it wrong and State has nothing to do with the window size). A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/483 *** Bug 442492 has been marked as a duplicate of this bug. *** Git commit 3177c9ef8a21bacd52a11e797675e0488bad9e15 by Kurt Hindenburg, on behalf of Ahmad Samir. Committed on 15/09/2021 at 20:26. Pushed by hindenburg into branch 'master'. Always save the window state and geometry This includes the toolbar/menubar/dockwidget states (i.e. the State= config key), and the window geometry. I was wrong to think the State= key included the window geometry. Depending on the "remeber window size" setting, we can apply the size saved in the config file or the size from the profile settings (lines x columns), which is included in MainWindow::sizeHint(). FIXED-IN: 21.12 M +25 -38 src/MainWindow.cpp M +6 -1 src/MainWindow.h https://invent.kde.org/utilities/konsole/commit/3177c9ef8a21bacd52a11e797675e0488bad9e15 |