Skip to content

shellEntry: Show popup menu at cursor position when pressing menu key

When pressing the menu key to show the popupMenu inside a ShellEntry, the menu is currently aligned with the end of the entered text, this causes a bug in case the text is overflowing the width of the entry: The menu will be shown outside of the entry field, because it's aligned with the (invisible) end of the text.

Fix that by simply aligning the popup menu with the cursor of the entry, which is a behavior that makes sense when pressing the menu-key anyway.

Merge request reports