Summary: | Elisa does not remember maximization state, but instead opens un-maximized at full screen size | ||
---|---|---|---|
Product: | [Applications] Elisa | Reporter: | Patrick Silva <bugseforuns> |
Component: | general | Assignee: | Matthieu Gallien <matthieu_gallien> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | moyamat555, nate |
Priority: | NOR | ||
Version: | 24.02.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/multimedia/elisa/-/commit/ff0669fa806fe0fa0fc2395a067022fabf597288 | Version Fixed In: | 24.08.0 |
Sentry Crash Report: |
Description
Patrick Silva
2020-10-31 14:44:05 UTC
Thanks for your report. I now have a working Plasma Wayland setup. I will have a look today. I can confirm that I can reproduce this. It is also the case when running on Windows platform. It has this problem on X11 too. It seems to manually remember its size rather than using the appropriate kconfig functions, which handle the maximized case automatically. *** Bug 487685 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/600 Git commit 4216ed903fd43b8de93cb850d30895ca7ac69f8a by Nate Graham. Committed on 06/08/2024 at 20:45. Pushed by ngraham into branch 'master'. Save and restore maximization state Right now Elisa does not save and restore maximization state, and does something annoying instead: it makes the unmaximized window have the width and height of a maximized window! Fix this by tracking maximization state explicitly. It needs to be done in a new onClosing signal handler because by the time the current aboutToQuit() binding executes, the window state has been changed from maximized to windowed internally by Qt. For 24.12, we'll be able to migrate to KConfig.WindowStateSaver, assuming its own maximization state tracking gets fixed. For now, add the feature to the existing implementation. FIXED-IN: 24.08.0 M +20 -5 src/qml/ElisaMainWindow.qml https://invent.kde.org/multimedia/elisa/-/commit/4216ed903fd43b8de93cb850d30895ca7ac69f8a Git commit ff0669fa806fe0fa0fc2395a067022fabf597288 by Nate Graham. Committed on 06/08/2024 at 21:37. Pushed by ngraham into branch 'release/24.08'. Save and restore maximization state Right now Elisa does not save and restore maximization state, and does something annoying instead: it makes the unmaximized window have the width and height of a maximized window! Fix this by tracking maximization state explicitly. It needs to be done in a new onClosing signal handler because by the time the current aboutToQuit() binding executes, the window state has been changed from maximized to windowed internally by Qt. For 24.12, we'll be able to migrate to KConfig.WindowStateSaver, assuming its own maximization state tracking gets fixed. For now, add the feature to the existing implementation. FIXED-IN: 24.08.0 (cherry picked from commit 4216ed903fd43b8de93cb850d30895ca7ac69f8a) Co-authored-by: Nate Graham <nate@kde.org> M +20 -5 src/qml/ElisaMainWindow.qml https://invent.kde.org/multimedia/elisa/-/commit/ff0669fa806fe0fa0fc2395a067022fabf597288 |