Bug 490959 - Maximized window stretch and jump everytime top panel defloats
Summary: Maximized window stretch and jump everytime top panel defloats
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.1.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 492714 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-29 00:08 UTC by Gravemind2015
Modified: 2024-09-06 13:36 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gravemind2015 2024-07-29 00:08:10 UTC
SUMMARY
If the panel is on top of screen (floating) and a maximixed app is launched, restored or a floating window is maximized, it causes the panel to de-float (expected) but the opened app stretches (or resizes) to go under the panel, then immediately corrects itself. I'll  try to attach a link to a screen recording: https://imgur.com/a/eYvDS03

STEPS TO REPRODUCE
1. Set panel position to top of screen and make sure it's floating
2. Maximize a window, or launch/restore a maximized window.
3. The window gets maximized as the panel defloats, but the titlebar goes slightly under the panel itself. Then it jumps back to fit within the space below the panel.

OBSERVED RESULT
The maximized window over-resizes to be under the de-floated panel and corrects itself afterwards

EXPECTED RESULT
The window should only maximize until it touches the de-floated panel and not overshoot and bouce back

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.10-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz
Memory: 11.1 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Manufacturer: HP
Product Name: HP ProBook 640 G2: 

ADDITIONAL INFORMATION
Might be related to https://bugs.kde.org/show_bug.cgi?id=490958
Wasn't sure so created another separate report. Sorry for inconvenience.
Comment 1 Nate Graham 2024-07-30 17:02:35 UTC
This has been fixed by a big refactor of floating panel code in Plasma 6.2. Thanks for reporting it!
Comment 2 Arjun 2024-09-06 13:02:38 UTC
(In reply to Nate Graham from comment #1)
> This has been fixed by a big refactor of floating panel code in Plasma 6.2.
> Thanks for reporting it!

I was about to file a bug report for this. Glad I found this one already. However, I must point out that this bug also happens when you switch from one desktop with top panel in floating state to an adjacent desktop which has maximized windows and the top panel is in defloated state.
I hope this issue was also spotted and corrected. I have filed another bug report with an attachment where you can see a video demonstration of the issue and see if its a duplicate or additional relevant info. (bug report: https://bugs.kde.org/show_bug.cgi?id=492714)
Comment 3 Filip 2024-09-06 13:36:04 UTC
*** Bug 492714 has been marked as a duplicate of this bug. ***