Bug 466096

Summary: New windows tile features indirectly modifies the geometry of the window
Product: [Plasma] kwin Reporter: antonio <antdev66>
Component: Custom TilingAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: nate, notmart
Priority: NOR    
Version First Reported In: 5.27.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description antonio 2023-02-19 17:43:35 UTC
Hi,
I set the rules of the window of some applications to remember the size of the window.
I tried to use the new "Windows tile", but when I remove an application, it recalls the size of the window taken inside the tile, losing the size of the previously stored window.
I think that "windows tiling" should save the previous size of the an application inserted in the tile and restore it when it is released.

Thanks,
Antonio

STEPS TO REPRODUCE
1. Insert an application that has associated the rule of remembering the size of the window in the tile
2. Remove the application from the tile

OBSERVED RESULT
The application window has changed and when I close and reopen the application I no longer find the last size of the saved window (before being inserted in the tile)

EXPECTED RESULT
When I remove an application from the tile, the size it had previously should be restored.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Comment 1 antonio 2023-02-22 06:19:11 UTC
The correct steps to reproduce the problem are the following:

STEPS TO REPRODUCE
1. Insert an application that has associated the rule of remembering the size of the window in the tile
2. Open another instance of the same application (the size of the second instance window has changed)
3. Remove the application from the tile (the size of the first instance window is correctly restored)
4. Close the first instance
5. Close the second instance
6. Reopen the same application

In practice, the rule to remember the dimension of the window should not be applied when this is inside a tile