Bug 450091 - Window size of applications like Dolphin and Konsole are not saved/restored when moved to primary screen
Summary: Window size of applications like Dolphin and Konsole are not saved/restored w...
Status: RESOLVED DUPLICATE of bug 460260
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 5.24.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-12 18:44 UTC by Torsten Römer
Modified: 2023-08-13 15:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Römer 2022-02-12 18:44:42 UTC
SUMMARY

When operating in multi-screen, new windows of for example Dolphin and Konsole are usually placed on the secondary screen instead of the primary screen. When moving the window to the primary screen, adjusting the size and closing the window, the size is not restored when opening a new window.
When adjusting the size before moving the window to the primary screen, the size is restored after closing the window and opening a new window.



STEPS TO REPRODUCE
1. Connect an external screen. In my setup the external screen is primary and to the right of the laptop
2. Open a new instance of for example Dolphin or Konsole. In my case, the window is usually placed on the secondary (left) laptop screen.
3. Move the window to the primary (right) screen, adjust its size and close it
4. Open a new window of the application. The previously adjusted size is not restored
5. Adjust the size, close the window or move it to the secondary screen and then close it
6. Again open a new window of the application. The previously adjusted size is now restored

OBSERVED RESULT

The manually adjusted size is not restored (when the window is moved to the primary (or generally another?) screen before adjusting the size)

EXPECTED RESULT

The window size should always be restored

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-07-26 20:22:51 UTC
Sorry for missing this bug report until now. This was caused by a KConfig issue I fixed a few months ago. Preeeeeeeety sure it was Bug 460260. Should be better now with Frameworks 5.104, but if it's not, please try with 5.108 before re-opening. Thanks!

*** This bug has been marked as a duplicate of bug 460260 ***
Comment 2 Torsten Römer 2023-08-13 15:30:47 UTC
(In reply to Nate Graham from comment #1)

Thank you! I currently have Frameworks 5.103.0 (Debian 12) and of course I will try as soon as I have 5.108!