Bug 491543 - 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
Summary: Panel pop-ups for Widgets at the end of non-space-filling panels should have ...
Status: RESOLVED DUPLICATE of bug 477957
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.1.3
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-10 15:51 UTC by Karthik Periagaram
Modified: 2024-09-16 19:42 UTC (History)
3 users (show)

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


Attachments
Application menu not aligned to panel edge (612.89 KB, image/png)
2024-08-10 15:51 UTC, Karthik Periagaram
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***