Bug 432253

Summary: BorderlessMaximazedWindows with gtk applications does not work and causes wrong positioning
Product: [Plasma] kwin Reporter: Seqularise <seqularise>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: butirsky, nate
Priority: NOR Keywords: wayland
Version: 5.20.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://invent.kde.org/plasma/kwin/-/merge_requests/699
See Also: https://bugs.kde.org/show_bug.cgi?id=432326
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Seqularise 2021-01-28 16:28:12 UTC
SUMMARY
When using borderlessmaximazedwindows option in kwin gtk apps have weird behavior. When gtk applications closed in a maximazed state and reopened its window have a titlebar and positioned below the screen(statussbar cannot be seen so i think its below the screen)

STEPS TO REPRODUCE
1.open ~/.config/kwinrc and add BorderlessMaximizedWindows=true in a [Windows] section 
2. relogin
3. start firefox with MOZ_ENABLE_WAYLAND=1

EXPECTED RESULT
firefox opened with hidden titlebar and with correct positioning

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
WAYLAND_DEBUG log https://pastebin.com/VCsckiZh
Comment 1 Nate Graham 2021-04-05 17:02:46 UTC
Any chance you can test https://invent.kde.org/plasma/kwin/-/merge_requests/699 to see if that fixes the issue?
Comment 2 Seqularise 2021-04-05 17:06:52 UTC
I tried to compile it soon after i saw this MR and there was some build errors.
I dont see any new commits in this branch so its pointless to check it again i think
Comment 3 Andrey 2021-07-20 11:47:43 UTC
I don't see the issue myself any more.
As https://invent.kde.org/plasma/kwin/-/merge_requests/699 was merged I suppose it's fixed, closing it.
Please reopen in case any probelms.