Bug 2186799

Summary: Maximised windows go under latte-dock panels at top of screen in Wayland session
Product: [Fedora] Fedora Reporter: Bill <cool.cool.sweat>
Component: latte-dockAssignee: marcdeop
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 38CC: marcdeop
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The top of the image shows the desired behaviour found in the X11 session, and the bottom shows the behaviour found in the Wayland session without the fix applied.
none
Patch I used to backport the fix.
none
The behaviour found in the Wayland session without the fix applied.
none
The desired behaviour found in the X11 session. none

Description Bill 2023-04-14 14:33:27 UTC
Created attachment 1957502 [details]
The top of the image shows the desired behaviour found in the X11 session, and the bottom shows the behaviour found in the Wayland session without the fix applied.

Description of problem:
In the Wayland session, and not in the X11 session, maximised windows go under a latte-dock panel at the top of the screen, instead of ending below it.

Version-Release number of selected component (if applicable):
0.10.9-2.fc38

How reproducible:
Always

Steps to Reproduce:
1. Use latte-dock to create a panel and set it at the top of the screen.
2. Use the Plasma Wayland session.
3. Maximise a window.

Actual results:
The window extends to the very top of the screen, with the titlebar under the panel.

Expected results:
The window extends to right under the panel, with the titlebar not covered.

Additional info:
Fixed upstream in a commit that hasn't been included in a release yet. I've confirmed that patching latte-dock using the commit fixes the issue in the Wayland session. Maybe it could be backported. This bug is also present in Fedora 37.

Upstream commit: https://invent.kde.org/plasma/latte-dock/-/commit/76302ee78ab5e1253760a073ca5129fe42973a63

Comment 1 Bill 2023-04-14 14:37:04 UTC
Created attachment 1957503 [details]
Patch I used to backport the fix.

Comment 2 Bill 2023-04-14 15:07:59 UTC
Created attachment 1957505 [details]
The behaviour found in the Wayland session without the fix applied.

Comment 3 Bill 2023-04-14 15:08:48 UTC
Created attachment 1957506 [details]
The desired behaviour found in the X11 session.