Bug 491685 - Inconsistent App Launcher behaviour when using floating panel and not using it
Summary: Inconsistent App Launcher behaviour when using floating panel and not using it
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.1.4
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-13 20:42 UTC by Joseph
Modified: 2024-08-15 12:44 UTC (History)
3 users (show)

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


Attachments
Floating panel (10.41 KB, image/png)
2024-08-15 10:16 UTC, Joseph
Details
Floating panel with a fullscreen app (14.51 KB, image/png)
2024-08-15 10:17 UTC, Joseph
Details
Non-floating panel (15.63 KB, image/png)
2024-08-15 10:17 UTC, Joseph
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph 2024-08-13 20:42:39 UTC
SUMMARY
The Application Launcher (start menu) icon is weirdly padded from the left side when using the floating panel and a fullscreen app. When not using a floating panel, the icon is centered with no issues. The appearance of the "squashed" panel and the completely non-floating panel should in my opinion be consistent.

STEPS TO REPRODUCE
1. Default KDE 6 settings
2. Maximize any application

OBSERVED RESULT
Application Launcher icon is padded from the left side as opposed to the non-floating panel.

EXPECTED RESULT
Launcher icon should have the same padding as disabling floating panel. (No padding)
Comment 1 Nate Graham 2024-08-14 21:47:25 UTC
I think this might be intentional, but can you attach a screenshot of the issue so I can be sure?
Comment 2 Joseph 2024-08-15 10:16:56 UTC
Created attachment 172641 [details]
Floating panel
Comment 3 Joseph 2024-08-15 10:17:12 UTC
Created attachment 172642 [details]
Floating panel with a fullscreen app
Comment 4 Joseph 2024-08-15 10:17:27 UTC
Created attachment 172643 [details]
Non-floating panel
Comment 5 Joseph 2024-08-15 10:18:02 UTC
(In reply to Nate Graham from comment #1)
> I think this might be intentional, but can you attach a screenshot of the
> issue so I can be sure?

Pictures added. I believe the bug is the launcher icon padding discrepancy between floating fullscreen and not floating. As you can see, the fullscreen floating panel has way more padding from the left side. I also included a floating non-fullscreen screenshot, which behaves correctly in my opinion (Same as the not floating panel).
Comment 6 Niccolò Venerandi 2024-08-15 12:44:30 UTC
I can confirm this is intentional. The reasoning is that we only want to translate the icons within the panel downwards during a de-float animation, to avoid any clickable areas to move away from underneath the mouse cursor, or any resizing causing visual glitches. Thus, the un-floated panel kickoff icon has to have the same left-padding to the monitor side compared to when it's floating.