Bug 491006 - On X11, Yakuake partially overlaps with a de-floated top panel
Summary: On X11, Yakuake partially overlaps with a de-floated top panel
Status: CONFIRMED
Alias: None
Product: yakuake
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.07.80
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords: X11-only
: 493451 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-30 02:46 UTC by grasp-hula-okay
Modified: 2025-02-24 17:58 UTC (History)
3 users (show)

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


Attachments
On the top, how it looks currently. On the bottom, how it looks with a maximized window below it and how I believe it should look without one. (783.05 KB, image/png)
2024-07-30 02:46 UTC, grasp-hula-okay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description grasp-hula-okay 2024-07-30 02:46:37 UTC
Created attachment 172114 [details]
On the top, how it looks currently. On the bottom, how it looks with a maximized window below it and how I believe it should look without one.

SUMMARY
The KDE floating top panel does not react appropriately to a Yakuake drop down terminal, cutting it in half instead of defloating to match its height.

STEPS TO REPRODUCE
1. Create a top panel and set the floating property to true
2. Activate a yuakuake window in X11

OBSERVED RESULT
The floating panel is cut halfway by the yakuake terminal. The default height is exactly the correct height of the panel if it were not floating, or if a window was maximized. However, with the floating panel, this results in an awkward visual bug. 

EXPECTED RESULT
I have seen the KDE floating dock defloats with a maximized window, but also when a non-maximized window is too close to it. In those situations, the panel defloats to get out of the way. I think this behavior is perfect for yakuake as well, since yakuake drops down to the height of the non-floating panel. If the panel could react to yakuake being activated in the same way it does to other windows being close to it, it would be a perfect solution.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

NOTES
In Wayland, the behavior is slightly different. Yakuake drops down below the panel height so it does not cut it in half. I believe this is not a solution, since yakuake expects to spawn a window right below a panel and the rounded bottom floating dock does not look good with the straight top edge of yakuake. If the panel could defloat when yakuake is active, it would "stack" nicely on top of the yakuake window.

I'm not sure to what extent this is a matter of opinion. Please see the screenshot attached; I am pretty sure this can be considered a visual bug. If there is disagreement, however, please let me know. I am not familiar with the KDE tools but I know C++ and I would be happy to help.
Comment 1 Nate Graham 2024-07-30 16:48:21 UTC
Seems to be the opposite of Bug 480609. Both can't be broken at the same time! :D
Comment 2 Nate Graham 2024-07-30 16:51:11 UTC
Ah, Bug 480609 is what happens on Wayland, while this is what happens on X11. Can confirm.
Comment 3 Oded Arbel 2025-02-16 13:43:18 UTC
*** Bug 493451 has been marked as a duplicate of this bug. ***
Comment 4 TraceyC 2025-02-24 17:58:26 UTC
Adding the x11-only keyword