Bug 487178 - Marknote doesn't remember the window state
Summary: Marknote doesn't remember the window state
Status: RESOLVED FIXED
Alias: None
Product: Marknote
Classification: Applications
Component: General (show other bugs)
Version: 1.2.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: mbruchert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-18 09:44 UTC by hbr
Modified: 2024-05-18 13:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hbr 2024-05-18 09:44:38 UTC
Marknote doesn't remember the window state and always starts in a not maximized window

STEPS TO REPRODUCE
1. Start Marknote
2. Maximize the window
3. Close Marknote
4. Start Marknote again 

OBSERVED RESULT
When Marknote starts the window is not maximized

EXPECTED RESULT
When Marknote starts the window is maximized

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.9.1-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Comment 1 Carl Schwan 2024-05-18 13:58:59 UTC
Git commit a17c2ccc9bbadee1f65ac634b614a2d04962c90c by Carl Schwan.
Committed on 18/05/2024 at 13:59.
Pushed by carlschwan into branch 'master'.

Remember last window state

M  +1    -0    src/CMakeLists.txt
M  +19   -0    src/main.cpp
M  +24   -0    src/qml/Main.qml
A  +37   -0    src/windowcontroller.cpp     [License: LGPL(v2.0+)]
A  +22   -0    src/windowcontroller.h     [License: LGPL(v2.0+)]

https://invent.kde.org/office/marknote/-/commit/a17c2ccc9bbadee1f65ac634b614a2d04962c90c