Bug 448772 - Window Placement gets reset to its default value when theme changes
Summary: Window Placement gets reset to its default value when theme changes
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_lookandfeel (other bugs)
Version First Reported In: 5.23.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 449191 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-19 13:32 UTC by redsolja@gmail.com
Modified: 2022-01-27 00:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description redsolja@gmail.com 2022-01-19 13:32:21 UTC
SUMMARY
***
System Settings -> Window Management -> Window Behavior -> Advanced -> Window placement gets reset to "Minimal Overlapping" when theme is changed.
***


STEPS TO REPRODUCE
1. Change setting to be something other than "minimal overlapping"
2. Change theme
3. Logout and back in

OBSERVED RESULT
Windows are placed in random places instead of my setting ("Center")

EXPECTED RESULT
Windows should be placed where my setting initially instructed, "Center" (for me).

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Arch Linux, plasma-desktop 5.23.5-1

KDE Plasma Version: plasma-desktop 5.23.5-1
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-01-19 14:13:35 UTC
"Minimal overlapping" was the systemwide default until Plasma 5.24, at which point it changed to Centered.

IIRC there's some logic to use the system's default when switching from one theme to another under certain circumstances.
Comment 2 Vlad Zahorodnii 2022-01-26 16:07:05 UTC
Yes, the placement policy option is affected by the current look-and-feel theme.
Comment 3 Nate Graham 2022-01-26 16:51:12 UTC
Which theme did you switch to that reset the window placement mode? All of them? Just a specific one?
Comment 4 Nate Graham 2022-01-27 00:29:07 UTC
Looks like it affects Breeze global themes. No window placement mode is specified in their `default` files, so this seems like a bug in the KCM.
Comment 5 Nate Graham 2022-01-27 00:29:17 UTC
*** Bug 449191 has been marked as a duplicate of this bug. ***