Summary: | Hiding/minimizing, then showing a konsole window, makes it revert to its default size | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Shawn Rutledge <s> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a.samirh78, gi1242+kde, kde, nate, nsprangers, trilader+kdebugs |
Priority: | NOR | ||
Version: | 21.08.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/konsole/commit/ff23400350900e56f3c1a9c08a70f1c508b63853 | Version Fixed In: | 21.08.2 |
Sentry Crash Report: |
Description
Shawn Rutledge
2021-08-27 14:30:16 UTC
I'll see if can reproduce this issue (and I hope it's not Qt6 related (as I see in the report you're running Qt6), because I am still on Qt5 :)). A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/467 Git commit 68f1505d5f6ffe6406a48732a76dbc43ff88f352 by Kurt Hindenburg, on behalf of Ahmad Samir. Committed on 31/08/2021 at 21:04. Pushed by hindenburg into branch 'master'. Don't resize window when switching virtual desktops in OpenBox It looks like switching virtual desktops in OpenBox invokes a show event (this doesn't happen while running Plasma). The code in MainWindow::showEvent() should only be run once on first show, so guard it with a bool member. FIXED-IN: 21.08.1 M +11 -12 src/MainWindow.cpp M +1 -1 src/MainWindow.h https://invent.kde.org/utilities/konsole/commit/68f1505d5f6ffe6406a48732a76dbc43ff88f352 Git commit ff23400350900e56f3c1a9c08a70f1c508b63853 by Kurt Hindenburg, on behalf of Ahmad Samir. Committed on 31/08/2021 at 22:24. Pushed by hindenburg into branch 'release/21.08'. Don't resize window when switching virtual desktops in OpenBox It looks like switching virtual desktops in OpenBox invokes a show event (this doesn't happen while running Plasma). The code in MainWindow::showEvent() should only be run once on first show, so guard it with a bool member. FIXED-IN: 21.08.1 (cherry picked from commit 68f1505d5f6ffe6406a48732a76dbc43ff88f352) M +11 -12 src/MainWindow.cpp M +1 -1 src/MainWindow.h https://invent.kde.org/utilities/konsole/commit/ff23400350900e56f3c1a9c08a70f1c508b63853 *** Bug 442388 has been marked as a duplicate of this bug. *** Bug 442388 was marked as duplicate, and it mainly is, but there's one more detail - restored size depends on selected toolbars, with screen recording how it looks like. And no OpenBox, just Plasma. It's the same bug, depends on when a showevent is invoked. As for the toolbars, that is due to the too-long text on them, try hiding the text. > As for the toolbars, that is due to the too-long text on them, try hiding the text.
I can hide text, I can disable toolbars completely, but when before mimimization there was some layout, even with ellipsized toolbars, it should be retained on restore.
They are two separate issues, the window is resized when it's minimized then shown; and the toolbars interfere with the window size hint (IIRC). (In reply to Michael Konieczny from comment #8) > I can hide text, I can disable toolbars completely, but when before > mimimization there was some layout, even with ellipsized toolbars, it should > be retained on restore. It's the same bug. I just built 21.08 from git and it's fixed, so I think that means it should hit 21.08.2. https://community.kde.org/Schedules/KDE_Gear_21.08_Schedule *** Bug 442492 has been marked as a duplicate of this bug. *** *** Bug 443212 has been marked as a duplicate of this bug. *** The fix didn't catch the 21.08.1 tagging, so it's actually in 21.08.2. Thanks for the fix. I downgraded to 21.04 for now; I hope this really shows up soonish in an Arch packagae. |