Bug 457867

Summary: Alacritty can't be opened in maximized mode on Wayland when using "Maximized" Window Placement mode
Product: [Plasma] kwin Reporter: Evgeny <kurnevsky>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate
Priority: NOR Keywords: regression
Version: 5.25.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://github.com/alacritty/alacritty/issues/6184#issuecomment-1245570285
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Evgeny 2022-08-14 07:35:07 UTC
Alacritty can't be opened in maximized mode.


STEPS TO REPRODUCE
1. Set the setting System Settings -> Window Management -> Advanced -> Window placement: Maximized
2. Launch alacritty

OBSERVED RESULT
It's opened in windowed mode, but `restore` button in the header shows that it's maximized. Only after toggle it 2 times the window becomes maximized.

EXPECTED RESULT
The window is opened in maximized mode.

SOFTWARE/OS VERSIONS
Linux: NixOS
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
It used to work as expected in plasma 5.24
Comment 1 Nate Graham 2022-08-15 19:06:13 UTC
Does it work correctly on X11? Or is it broken there too?
Comment 2 Evgeny 2022-08-15 21:21:29 UTC
Just checked - with X11 it works correctly.
Comment 3 Nate Graham 2022-08-17 15:46:58 UTC
Thanks. And to be clear, this only affects Alacritty, not all apps, right?
Comment 4 Evgeny 2022-08-17 15:56:37 UTC
Yes, that's right. Alacritty has client side decorations, so probably this has something to do with the problem.
Comment 5 Nate Graham 2022-08-17 15:57:48 UTC
Does it happen with other CSD apps like Gedit?
Comment 6 Evgeny 2022-08-17 16:33:09 UTC
Just tried gedit - it seems it works fine.
Comment 7 Vlad Zahorodnii 2022-09-13 15:22:28 UTC
This is a bug in alacritty. There's nothing that we can do to address it.