Bug 377913

Summary: Windows are not centered correctly
Product: [Plasma] kwin Reporter: Nikos Chantziaras <realnc>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: 5.9.4   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nikos Chantziaras 2017-03-22 07:57:09 UTC
When using "Centered" as the default placement for new windows, they are not centered correctly on the screen if the task manager panel is on the side of the screen.

I place the task manager panel of the left side of the screen, and new windows are not centered but instead are pushed to the right. The wider the panel is, the more off-center windows are placed.

Plasma 5.9.4
Frameworks 5.32.0
X.Org Server 1.19.3
Comment 1 Martin Flöser 2017-03-22 16:02:08 UTC
windows are placed in the area where windows are allowed to go. A panel restricts the are windows are allowed to go to. The centered strategy places windows in the center of the allowed area. Given that it works as expected.
Comment 2 Nikos Chantziaras 2017-03-22 17:34:54 UTC
No, it doesn't work correctly. The whole point of "centered" is to get windows centered on my screen. Centered in front of my eyes. Having to shifting my monitor to be off-center is a funny requirement. The panel is part of the screen.

Centering the window on the screen doesn't mean you have to place the window in a non-allowed area. It means you place the window in the center of the screen. If that HAPPENS to overlap the panel then you place it right next to the panel.
Comment 3 Martin Flöser 2017-03-22 19:17:23 UTC
I'm sorry that center behaves differently to how you expect it. But it's the way it is and that's by design. The feature work exactly as it's supposed to work. I'm sorry, this won't be changed.
Comment 4 Nikos Chantziaras 2017-03-23 03:50:23 UTC
With decisions like that, no wonder KDE is still a broken mess.

I wonder why the hell I even bother reporting issues. Bugs are by design these days.

Never again.

Have a nice life.