Bug 428443

Summary: KDE Window Placement takes no effect on KDE Apps
Product: [Plasma] kwin Reporter: somanydamnusers
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description somanydamnusers 2020-10-29 17:41:00 UTC
SUMMARY

I am aware of this as a previous bug. When installing plasma-desktop, the window placement behaviour is ignored by KDE apps. I have head that setting AllowKDEAppsToRememberWindowPositions=false in kdeglobals fixes this issue, but I have no such entry in my kdeglobals file. 

I am using Manjaro with a minimal plasma-desktop (not full plasma package) install. It is possible that there's some KCM which overrides this or adds an extra setting somewhere, but on this minimal install there is no such option in system settings and there is no such entry in ~.config/kdeglobals. 

STEPS TO REPRODUCE
1. Install plasma-desktop
2. Change window placement behaviour
3. Observe no effect on Konsole, Kwrite etc. 
4. No system setting to disable 
5. No entry in kdeglobals to edit

OBSERVED RESULT

KDE Apps do not follow window placement setting. 

EXPECTED RESULT

Windows follow window placement setting. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-10-29 18:59:38 UTC
By default, KDE apps now remember the position of their own windows instead of letting KWin position them according to the window placement settings. To make this stop, you need to set AllowKDEAppsToRememberWindowPositions=false in your kdeglobals file.

You can do that by editing the file by hand, or in Plasma 5.20 and later, go to System Settings > Window Management > Advanced > Uncheck "Allow KDE app windows to remember their own position"
Comment 2 somanydamnusers 2020-10-29 20:10:43 UTC
I am using plasma 5.19 and I do not have this option anywhere in my kdeglobals file, as stated in the report.
Comment 3 Nate Graham 2020-10-29 20:13:38 UTC
You need to *add* it to your kdeglobals file. It's not there by default.

In 5.20, there's a GUI to do this so you don't need to muck with the config file by hand.