Bug 484761 - Floating panel switches to anchored style too early when a window is near
Summary: Floating panel switches to anchored style too early when a window is near
Status: RESOLVED DUPLICATE of bug 482468
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.0.3
Platform: Solus Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-30 14:56 UTC by Zenurik
Modified: 2024-03-30 18:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Panel anchoring/dodging demo (729.05 KB, video/mp4)
2024-03-30 14:56 UTC, Zenurik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zenurik 2024-03-30 14:56:19 UTC
Created attachment 167946 [details]
Panel anchoring/dodging demo

SUMMARY
Floating panels are changing to their "anchored" style way too early when a window gets close (about 20px). This happens with the default "Breeze" decoration, no matter the window type (Qt or GTK, XWayland or native) or if it has a shadow or not.

STEPS TO REPRODUCE
1. Add a floating panel to the desktop.
2. Open a new Dolphin window and start dragging it in the panel's direction.

OBSERVED RESULT
When reaching a certain distance (about 20px), the panel will be anchored. (See attachment)

EXPECTED RESULT
Panel should be anchored at a closer, more reasonable, distance or only when actually being touched by a window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.6.22-281.current (64-bit)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3

ADDITIONAL INFORMATION
- Default app style and window decorations are used.
- This makes it virtually impossible to have a floating panel with a tiling script that has small gaps.
- Using the "Dodge windows" visibility, the distance at which the effect is triggered is much more reasonable (Also visible on the attached video).
Comment 1 fanzhuyifan 2024-03-30 18:17:37 UTC

*** This bug has been marked as a duplicate of bug 482468 ***