Bug 483257 - On X11, floating panel dodges CSD-using Firefox window way too early
Summary: On X11, floating panel dodges CSD-using Firefox window way too early
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, X11-only
Depends on:
Blocks:
 
Reported: 2024-03-11 16:09 UTC by Jakub
Modified: 2025-06-12 12:55 UTC (History)
3 users (show)

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


Attachments
A screen recording (2.94 MB, video/x-matroska)
2024-03-11 16:09 UTC, Jakub
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub 2024-03-11 16:09:23 UTC
Created attachment 166964 [details]
A screen recording

SUMMARY
Firefox window makes the panel hide too early, when it not near it.

STEPS TO REPRODUCE
1. Set panel to dodge windows
2. Open Firefox window 
3. Move it close to the panel

OBSERVED RESULT
Panel dodges the window when it is far away.

EXPECTED RESULT
Like with other windows, it should hide only when Firefox is near.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 1700 Eight-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7A34
System Version: 1.0

ADDITIONAL INFORMATION
Attached is a screen recording of this behavior.
Comment 1 Niccolò Venerandi 2024-03-11 17:20:55 UTC
Mhhh could it be CSD shadows?
Comment 2 Nate Graham 2024-03-11 18:56:34 UTC
Possibly it's the CSD headerbar? Cannot reproduce the issue with Firefox in CSD mode, though--at least on Wayland. Possibly an X11-only bug.

Can you reproduce it on X11, Niccolò?
Comment 3 Jakub 2024-03-11 19:11:58 UTC
(In reply to Nate Graham from comment #2)
> Possibly it's the CSD headerbar? Cannot reproduce the issue with Firefox in
> CSD mode, though--at least on Wayland. Possibly an X11-only bug.
> 
> Can you reproduce it on X11, Niccolò?

When I ran Firefox with GTK_CSD=0 the problem disappeared. I don't think this solves the issue, but it does narrow it down.
Comment 4 Niccolò Venerandi 2024-03-13 12:50:57 UTC
(In reply to Nate Graham from comment #2)
> Possibly it's the CSD headerbar? Cannot reproduce the issue with Firefox in
> CSD mode, though--at least on Wayland. Possibly an X11-only bug.
> 
> Can you reproduce it on X11, Niccolò?

Yepp!
Comment 5 TraceyC 2025-02-24 17:58:47 UTC
Adding the x11-only keyword
Comment 6 Niccolò Venerandi 2025-06-12 10:26:54 UTC
Closing this as on X11 there's no easy way to handle this, and this type of thing is one of the reasons why we're trying to move to Wayland! I'm wary of adding some workaround code for this now, as we try to move away from X11 over time.