Bug 483011 - Floating Panels don't dodge with multiple windows
Summary: Floating Panels don't dodge with multiple windows
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-09 17:43 UTC by Chris
Modified: 2024-07-31 04:19 UTC (History)
4 users (show)

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


Attachments
Display arrangement (34.18 KB, image/png)
2024-03-09 17:43 UTC, Chris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2024-03-09 17:43:42 UTC
Created attachment 166811 [details]
Display arrangement

SUMMARY
***
I run EndeavourOS, and just updated to KDE6, and am trying to use the floating panels, set to "dodge windows". I have three monitors, two horizontal stacked on top of each other, and one vertical one to their left. This issue occurs on all displays.

If i place a panel on the side of a screen that's a shared edge with another monitor, (such as between the top and bottom horizontal screens), dodging doesn't work. If i move the panel to an "outside" edge of any of the three displays, dodging  works just fine)

Per screenshot of my displays for reference:
Left and bottom of Sceptre display work fine.
Bottom and right of Acer display work fine.
Top and right of Gigabyte display work fine. 
Any of the 'inside' or 'shared' edges between the multiple monitors, the panels won't dodge at all.

I can try to test anything else or provide other information that's applicable.
***


STEPS TO REPRODUCE
1. Use EndeavourOS (or just Arch?) and KDE 6.0.1
2. Have multiple monitors
3. Make a "floating", "dodge windows" panel on any edge of a monitor that's not an "edge", but where my desktop extends to the next monitor.
4. The Panel will not dodge windows and hide itself, the window goes below it instead.

OBSERVED RESULT
The Panel will not dodge windows and hide itself, the window goes below it instead.

EXPECTED RESULT
The panel dodges the window, and hides itself.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Graphics Platform: Wayland
GPU: AMD Radeon RX 6800XT
Comment 1 PapierFliegr 2024-03-11 14:14:52 UTC
Can confirm, but issue doesn't depend on "floating".

Probably related: 
If using Application Menu Panel with Adaptive Transparency, then if there is a Display above, it acts as being "touched".
And when using Built-In Tiling, then same Panel acts as being "touched" as well, if Padding is set to at most 11 (in my case).
If Padding is bigger, then Panel acts as not being touched.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ArchLinux
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Graphics Platform: Wayland
GPU: Intel Iris Xe Graphics
Comment 2 Chris 2024-03-16 15:30:01 UTC
(In reply to PapierFliegr from comment #1)

My panels are set to translucent, and I'm not using tiling.
If I understand you right, you say padding incorrectly makes panels think they're being touched when they're not? With my panel set to dodge windows, if it thought it was being touched, I'd expect it to be stuck 'hidden', but instead it's stuck "visible", and is visible on top of whatever window is there, whether the windows is maximized, floating, snapped to one side or corner of my screen, etc.

Regardless, how does one set a padding amount? I don't see that in my panel settings, and searching online for it I'm not finding anything? I could at least play around with that setting and find if it helps.
Comment 3 Nate Graham 2024-07-31 04:19:07 UTC
This has been fixed with the floating panel refactor for Plasma 6.2.