Bug 483952

Summary: Application Launcher on the left side of a small centered panel is not centered on the screen
Product: [Plasma] plasmashell Reporter: Matty R <dev>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: minor CC: mikel5764, nate, niccolo.venerandi, noahadvs, rokno64, titouan-camus
Priority: NOR    
Version: 6.0.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: red is where it is, green is where it should be

Description Matty R 2024-03-19 01:02:43 UTC
Created attachment 167441 [details]
red is where it is, green is where it should be

SUMMARY
I have configured to have a floating middle panel with the Application Launcher. On my ultrawide display the Application Launcher is not centered.


STEPS TO REPRODUCE
1. Ultrawide display, floating middle panel with Application Launcher
2. Open the Application Launcher

OBSERVED RESULT
Application Launcher is shown, centered on the widget/button that is pressed to open the Application Launcher.

EXPECTED RESULT
It should be centered on the width of the display

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2

ADDITIONAL INFORMATION
Ultrawide monitor: 3440 x 1440
Comment 1 Matty R 2024-03-19 01:19:43 UTC
Just tested on my laptop (1080p), it's off center on that as well with the same configuration
Comment 2 Titouan Camus 2024-03-19 12:30:34 UTC
The application launcher opens above its plasmoid in the panel. This is why is appears off centered on your screen. Maybe you could open a feature request to add an option "center the launcher".
Comment 3 rokno64 2024-03-19 12:36:39 UTC
(In reply to Titouan Camus from comment #2)
> The application launcher opens above its plasmoid in the panel. This is why
> is appears off centered on your screen. Maybe you could open a feature
> request to add an option "center the launcher".

The problem with that is, that the old one (from plasma 5) did that. It would only default to being centered over the widget if the launcher's width was shorter than launcher widget + icons-only task manager combined.
Comment 4 Nate Graham 2024-04-11 01:52:17 UTC
I guess it's centered on its panel, but in this case it could easily be centered on the screen.