Bug 2186799 - Maximised windows go under latte-dock panels at top of screen in Wayland session
Summary: Maximised windows go under latte-dock panels at top of screen in Wayland session
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: latte-dock
Version: 38
Hardware: All
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: marcdeop
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-14 14:33 UTC by Bill
Modified: 2023-07-11 17:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
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. (76.80 KB, image/png)
2023-04-14 14:33 UTC, Bill
no flags Details
Patch I used to backport the fix. (1.31 KB, patch)
2023-04-14 14:37 UTC, Bill
no flags Details | Diff
The behaviour found in the Wayland session without the fix applied. (6.90 KB, image/png)
2023-04-14 15:07 UTC, Bill
no flags Details
The desired behaviour found in the X11 session. (67.59 KB, image/png)
2023-04-14 15:08 UTC, Bill
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.