Bug 499651

Summary: KDE Connect SMS program is not remembering its maximized state
Product: [Applications] kdeconnect Reporter: John <ilikefoss>
Component: messaging-applicationAssignee: Simon Redman <simon>
Status: RESOLVED FIXED    
Severity: minor CC: bugseforuns
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 25.04.0
Sentry Crash Report:

Description John 2025-02-07 16:28:33 UTC
SUMMARY
KDE Connect SMS program is not remembering its maximized state

STEPS TO REPRODUCE
1. Boot KDE Neon.
2. Open the KDE Connect SMS program.
3. Maximize it.
4. Close it.
5. Open it again.

OBSERVED RESULT
The program doesn't remember that before closing it was maximized.

EXPECTED RESULT
The program should open with the same state it was before being closed, in this case, maximized.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.2.90
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.1
Kernel Version: 6.8.0-51-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Hardware: Laptop Dell Inspiron 5770 (screen: 17 @ 1080p)
Graphics Processor 1: Mesa Intel® UHD Graphics 620 (main)
Graphics Processor 2: AMD Radeon R5 M465 Series
Comment 1 Justin Zobel 2025-02-10 09:29:31 UTC
Confirmed on:
Operating System: Solus 4.7
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.9-312.current (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 4750U with Radeon Graphics
Memory: 29.1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 20Y1001SAU
System Version: ThinkPad P14s Gen 1
Comment 2 Bug Janitor Service 2025-02-14 07:36:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/790
Comment 3 Simon Redman 2025-02-14 22:30:35 UTC
Git commit 2e0564e8bf47be462dea06ec945bc9b7a466f858 by Simon Redman, on behalf of Christoph Wolk.
Committed on 14/02/2025 at 12:34.
Pushed by cwo into branch 'master'.

smsapp: remember window state

The regular KDE Connect app remembers window state such as maximization,
but KDE Connect SMS does not, so it always starts in default state
rather than as the user left it.

This change implements window state saving using
KConfig.WindowStateSaver.
FIXED-IN: 25.04.0

M  +5    -0    smsapp/qml/Main.qml

https://invent.kde.org/network/kdeconnect-kde/-/commit/2e0564e8bf47be462dea06ec945bc9b7a466f858
Comment 4 Patrick Silva 2025-04-23 18:55:36 UTC
Can reproduce with version 25.04.0. After the last step, the window occupies the whole screen, but the button in the title bar indicates that it is not maximized.

Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Graphics Platform: Wayland