Bug 480609

Summary: On Wayland, there's an ugly gap between Yakuake's window and a de-floated top panel
Product: [Applications] yakuake Reporter: Gurenko Alex <agurenko>
Component: generalAssignee: Eike Hein <hein>
Status: ASSIGNED ---    
Severity: minor CC: nate, niccolo, oded, shaybox
Priority: NOR Keywords: qt6
Version First Reported In: 24.01.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=491006
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: gap between yakuake and panel
not-floating panel

Description Gurenko Alex 2024-01-31 17:27:52 UTC
SUMMARY
On plasma 6 rc1 and yakuake 24.01.90 there is a big gap between Top panel and the Yakuake.


STEPS TO REPRODUCE
1. Move default panel on the top
2. Open Yakuake

OBSERVED RESULT

See screenshot

EXPECTED RESULT

Yakuake opened from the bottom of the panel

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 40
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Kernel Version: 6.8.0-0.rc2.19.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: LENOVO
Product Name: 20QUS10L16
System Version: ThinkPad P1 Gen 2

ADDITIONAL INFORMATION

Something tells me it's because of the feature that spaces the popup for other applets when panel is floating, but backfires for yakuake specifically.
Comment 1 Gurenko Alex 2024-01-31 17:28:36 UTC
Created attachment 165400 [details]
gap between yakuake and panel

Adding screenshot
Comment 2 Nate Graham 2024-02-01 20:54:18 UTC
Is that a de-floated floating panel? If so, does the problem go away if you make the panel not be floating anymore?
Comment 3 Gurenko Alex 2024-02-01 20:57:26 UTC
(In reply to Nate Graham from comment #2)
> Is that a de-floated floating panel? If so, does the problem go away if you
> make the panel not be floating anymore?

This is the one that comes by default, I'm not sure if there are options now. I'll try regular panel later and report back
Comment 4 Gurenko Alex 2024-02-01 21:42:53 UTC
Created attachment 165454 [details]
not-floating panel

yes, disabling floating removes the gap
Comment 5 Gurenko Alex 2024-02-04 15:04:31 UTC
Same on RC2 and yakuake 24.01.95:

Operating System: Fedora Linux 40
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Kernel Version: 6.8.0-0.rc2.19.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: LENOVO
Product Name: 20QUS10L16
System Version: ThinkPad P1 Gen 2
Comment 6 Nate Graham 2024-02-05 20:32:30 UTC
Thanks, can confirm.

At the moment I think this is effectively intentional, though I agree that it doesn't look great because Yakuake was clearly designed visually to be butted right up against something above it.

I can see two approaches to fixing it:
1. Allow windows like Yakuake to actually touch a floating panel even when it's floating
2. Modify windows like Yakuake's to conditionally look better when in this state where it's not actually touching a floating panel.

What do you think, Niccolò?
Comment 7 Bug Janitor Service 2024-02-16 21:51:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3915
Comment 8 Shayne Hartford 2024-09-15 09:54:39 UTC
(In reply to Nate Graham from comment #6)

I think it should cause the panel to stop floating like every other window does when it's touching the panel, Yakuake is no exception here. (and fix the gap)
Comment 9 Bug Janitor Service 2025-06-05 09:36:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5568