Bug 485857

Summary: Floating panels defloat too soon
Product: [Plasma] plasmashell Reporter: Gemmstone <emmaleduartec>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: minor CC: fanzhuyifan, niccolo.venerandi
Priority: NOR    
Version: 6.0.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Demonstration of the issue

Description Gemmstone 2024-04-20 15:57:00 UTC
Created attachment 168716 [details]
Demonstration of the issue

SUMMARY
When using a panel that is floating, when the window approaches the panel, it de-floats way sooner than expected, several pixels away, this makes it complicated for tiling/tiling managers when you have a specific style in mind.

STEPS TO REPRODUCE
1. Add a top panel (it's a lot more noticeable this way)
2. Open any window
3. Drag the window close slowly to it and observe when the panel defloats

OBSERVED RESULT
Panel's "defloat hitbox" is too big to it's size

EXPECTED RESULT
Panel's "defloat hitbox" should be smaller, ideally, a couple of pixels bigger than the panel

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Garuda Linux x86_64
(available in About System)
KDE Plasma Version: Plasma 6.0.3
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
I would like a way to, if this is expected behaviour, change the actuation spacing, ex. if i have tiling that uses 10px between windows, make it so the panel defloats when a window is at 5px of distance, as of now, in my 32px panel, it's set to 27px
Comment 1 Bug Janitor Service 2024-04-20 16:33:27 UTC
Thank you for the bug report!

Please note that Plasma 6.0.3 will not be supported for much longer by KDE; supported versions are 5.27, and 5.27 or newer.

Please upgrade to the latest version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.
Comment 2 fanzhuyifan 2024-04-20 23:45:56 UTC

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