Bug 359815

Summary: Window is not maximized after exiting full screen mode
Product: [Frameworks and Libraries] frameworks-kwidgetsaddons Reporter: Alexander Potashev <aspotashev>
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED FIXED    
Severity: normal CC: bg+kdex, bugseforuns, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.19.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Potashev 2016-02-26 10:11:14 UTC
See "Steps to Reproduce".

Reproducible: Always

Steps to Reproduce:
1. Open an application that supports KF5::KWidgetsAddons' fullscreen mode toggle action, e.g. Kate or KDevelop.
2. Maximize the window.
3. Press Ctrl+Shift+F to enable fullscreen mode.
4. Press Ctrl+Shift+F again to disable fullscreen mode.

Actual Results:  
After these steps the  window is not maximized.

Expected Results:  
The  window should be maximized because it was maximized before going to full screen mode.
Comment 1 Alexander Potashev 2016-02-26 10:12:13 UTC
Related: bug #343697
Comment 2 Christoph Feck 2016-06-18 04:03:59 UTC
This works here with Qt 5.7.0.
Comment 3 Bill Goodman 2017-02-12 23:17:42 UTC
I see this same problem in Windows 7. With a maximized thumbnails or preview window, after clicking the Full Screen icon to enter full screen mode and then exiting full screen mode, the window is no longer maximized.

This operation is not consistent. Sometimes the window is properly restored as maximized, but usually it is restored in the standard window state.
Comment 4 Bill Goodman 2017-02-12 23:20:31 UTC
(In reply to Bill Goodman from comment #3)
> I see this same problem in Windows 7. With a maximized thumbnails or preview
> window, after clicking the Full Screen icon to enter full screen mode and
> then exiting full screen mode, the window is no longer maximized.
> 
> This operation is not consistent. Sometimes the window is properly restored
> as maximized, but usually it is restored in the standard window state.

Ooops. I'm sorry. Please ignore this comment. I am seeing this on a different component.
Comment 5 Alexander Potashev 2017-02-13 22:33:47 UTC
Still reproducible here with Kate 16.08.3 on Fedora 25, KDE Frameworks 5.29.0, Qt 5.7.1.
Comment 6 Patrick Silva 2018-02-26 00:43:05 UTC
cannot reproduce on Arch Linux, qt 5.10.1, kate 17.12.2.
Comment 7 Alexander Potashev 2018-02-26 09:45:42 UTC
Cannot reproduce with Kate 17.12.1 on Fedora, KDE Frameworks 5.42.0, Qt 5.9.4.