Bug 477957 - Application launcher shouldn't try to center on its button when the panel acts like a dock
Summary: Application launcher shouldn't try to center on its button when the panel act...
Status: ASSIGNED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) (show other bugs)
Version: master
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 482625 483629 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-12-02 23:12 UTC by Rafael Lima
Modified: 2024-05-11 11:11 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Image showing the problem (1.58 MB, image/png)
2023-12-02 23:12 UTC, Rafael Lima
Details
the issue still here in plasma 6 stable (541.29 KB, image/png)
2024-03-01 12:00 UTC, Anas Mohammad Siddiq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2023-12-02 23:12:55 UTC
Created attachment 163797 [details]
Image showing the problem

SUMMARY
I've just installed Plasma 6 beta and set my panel to "fit content" and "center" alignment (to act as a dock). If you click the Kickoff button, it will try to center the application launcher on the Kickoff button (see attached image).

When the panel is set like a dock, the application launcher should be either: (i) left aligned with the kickoff button or (ii) centered on the screen.

I believe the "Configure application launcher" dialog should have an option about that.

STEPS TO REPRODUCE
1. Set the panel to "fit content" and "center" alignment
2. Click the Kickoff button
3. Notice the problem as described above (and depicted in the attached image)

OBSERVED RESULT
The app launcher tries to center itself on the Kickoff button.

EXPECTED RESULT
The app launcher should either be left-aligned or centered on the screen (ideally this should be configurable).

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.0
Kernel Version: 6.2.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: LENOVO
Product Name: 82CG
System Version: IdeaPad Gaming 3 15IMH05
Comment 1 Nate Graham 2023-12-05 20:44:20 UTC
In this case it's supposed to be centered on the screen, I believe. The fact that it isn't seems like a bug, possibly a regression stemming from all the plumbing work done to Panels in Plasma 6.

Can reproduce with a new blank panel that has nothing but Kickoff and an Icons-Only Task Manager on it.
Comment 2 Niccolò Venerandi 2023-12-06 23:30:58 UTC
This would be fixed by https://invent.kde.org/plasma/libplasma/-/merge_requests/990
Comment 3 Marco Martin 2023-12-07 14:39:37 UTC
is ugly when the popup is attached... when is detached... it kinda looks ok.

though indeed better to open it always in the same place otherwise it screws with muscle memory
Comment 4 Anas Mohammad Siddiq 2024-03-01 12:00:14 UTC
Created attachment 166249 [details]
the issue still here in plasma 6 stable
Comment 5 Tore Havn 2024-03-04 17:27:24 UTC
I can also confirm that this is a problem. Would prefer it to be left aligned with the launch button.
Comment 6 Niccolò Venerandi 2024-03-08 19:40:39 UTC
*** Bug 482625 has been marked as a duplicate of this bug. ***
Comment 7 Cherkah 2024-03-10 08:11:32 UTC
i can confirm if the application launcher window can be center it will be less weird visually.

so as to circumvent this we have to center the button in the "apps dock" in so far as to center the launcher panel
Comment 8 filip.kendes1 2024-05-11 11:11:05 UTC
*** Bug 483629 has been marked as a duplicate of this bug. ***