Bug 479059

Summary: Floating moves to the wrong position when in contact with a window
Product: [Plasma] plasmashell Reporter: Doug <dougshaw77>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bizyaev, niccolo.venerandi, nicolas.fella, oded
Priority: NOR Keywords: qt6, wayland-only
Version First Reported In: 5.91.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Desktop without a window touching the top floating panel
Top floating panel moves to wrong position when touched by a window

Description Doug 2023-12-27 05:52:50 UTC
Created attachment 164465 [details]
Desktop without a window touching the top floating panel

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Set up Plasma with a floating panel at the top of the screen
2. Open a window
3. Touch window to top panel

OBSERVED RESULT
Panel slides up and to the left, putting it in the wrong position with some of the desktop showing

EXPECTED RESULT
Panel should slide up and fill the entire top of desktop

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon Unstable
(available in About System)
KDE Plasma Version: 5.91.90
KDE Frameworks Version: 5.248
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Comment 1 Doug 2023-12-27 05:53:49 UTC
Created attachment 164466 [details]
Top floating panel moves to wrong position when touched by a window
Comment 2 Oded Arbel 2024-01-02 22:07:36 UTC
I can also confirm this issue on Neon unstable edition (KDE Plasma Version: 5.91.90) - when the panel defloats, when set to "Fill Width" it shift a bit to the left and is actually poking into the screen to the left of it - if one exists. That last thing is what actually troubles me - because on the left screen there is no panel and a maximized application should cover the entire screen, but instead there is a (mostly) empty space at the bottom of the screen that cannot be covered by windows.

Setting the panel to "Fit Content" works around the problem.
Comment 3 guimarcalsilva 2024-01-03 04:25:02 UTC

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