Bug 432253 - BorderlessMaximazedWindows with gtk applications does not work and causes wrong positioning
Summary: BorderlessMaximazedWindows with gtk applications does not work and causes wro...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.20.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://invent.kde.org/plasma/kwin/-/...
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2021-01-28 16:28 UTC by Seqularise
Modified: 2021-07-20 11:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.