Bug 491543

Summary: Panel pop-ups for Widgets at the end of non-space-filling panels should have one of their edges aligned with the edge of the panel
Product: [Plasma] plasmashell Reporter: Karthik Periagaram <karthik.periagaram>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: nate, niccolo.venerandi, niccolo
Priority: NOR    
Version: 6.1.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Application menu not aligned to panel edge

Description Karthik Periagaram 2024-08-10 15:51:55 UTC
Created attachment 172475 [details]
Application menu not aligned to panel edge

SUMMARY

For a horizontal panel, opening a widget at the ends of the panel (e.g. the kickoff application menu, or the digital clock) should align the left/right edge to the panel. Similarly, with a vertical panel, the opened menu/widget should align to the top/bottom edge.

STEPS TO REPRODUCE

1. Edit the default (horizontal) panel and decrease the width slightly  so as to not span the entire width of the desktop. Decrease the height for a vertical panel.
2. Open the application menu by clicking on the application menu icon (or the calendar by clicking on the digital clock) in the panel.

OBSERVED RESULT

The application menu that opens is not aligned with the panel width. See attachment showing the issue. The calendar at the other end of the panel is likewise not aligned to the panel end points.

EXPECTED RESULT

As long as the panel is wide enough, the opened menu/widget should align to the panel end points. If the panel is not wide enough, we could align preferentially to the end of the panel closest to the widget's location in the panel.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Arch Linux 
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

Kernel Version: 6.10.3-arch1-2 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION

This appears to be a regression of the previously reported and fixed bugs in plasma 5:
* https://bugs.kde.org/show_bug.cgi?id=408762
* https://bugs.kde.org/show_bug.cgi?id=408873
Comment 1 Niccolò Venerandi 2024-08-13 08:17:45 UTC

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