Bug 482337 - Kate doesn't properly restore its window size
Summary: Kate doesn't properly restore its window size
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-03 18:41 UTC by popov895
Modified: 2024-10-19 20:12 UTC (History)
4 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 popov895 2024-03-03 18:41:36 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE

1. Open Kate
2. Change its window size
3. Maximize its window
4. Close Kate
5. Open Kate again; now its window is maximized (as it was when closing)
6. Restore (unmaxize) window

OBSERVED RESULT

The window has the same size as in step 2.

EXPECTED RESULT

The window has the size as before step 2 (as in step 1).

SOFTWARE/OS VERSIONS

Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
KDE Gear Version: 24.02.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 1 Doug 2024-03-04 06:01:21 UTC
I cannot reproduce.  After step 6, I get the same window size as at step 1.  If anything, I would expect the same window size as step 2, the size I decided I want the window at.

Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: AMD Radeon Pro WX 3200 Series
Comment 2 popov895 2024-03-04 08:24:38 UTC
(In reply to Doug from comment #1)
> I cannot reproduce.  After step 6, I get the same window size as at step 1. 
> If anything, I would expect the same window size as step 2, the size I
> decided I want the window at.

If after step 6 you get the window size as in step 1 but not as in step 2, then you have successfully reproduced it.
Comment 3 popov895 2024-03-04 08:32:09 UTC
(In reply to popov895 from comment #0)
> OBSERVED RESULT
> 
> The window has the same size as in step 2.
> 
> EXPECTED RESULT
> 
> The window has the size as before step 2 (as in step 1).

Ah, my fault, OBSERVED RESULT and EXPECTED RESULT should be swapped here.
Comment 4 Doug 2024-03-06 04:31:25 UTC
OK, I can reproduce it.

Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: AMD Radeon Pro WX 3200 Series
Comment 5 Christoph Cullmann 2024-10-19 20:12:21 UTC
Works for we with the latest release.