gnome-shell/js/ui
Jonas Dreßler d27638e37e 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.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/934
2020-01-15 18:27:31 +01:00
..
components dialog: Remove MessageDialogContent.body property 2020-01-15 00:17:25 +01:00
status dialog: Remove MessageDialogContent.body property 2020-01-15 00:17:25 +01:00
accessDialog.js dialog: Remove MessageDialogContent.body property 2020-01-15 00:17:25 +01:00
altTab.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
animation.js animation: Add parameter for hiding stopped Spinner actor 2019-11-19 19:55:28 +02:00
appDisplay.js appDisplay: Use SwipeTracker 2020-01-10 18:20:22 +01:00
appFavorites.js appFavorites: unbreak my previous commits 2019-12-20 13:59:53 +00:00
audioDeviceSelection.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
background.js background: Add exception to no-loop-func rule 2019-11-11 23:51:17 +00:00
backgroundMenu.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
barLevel.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
boxpointer.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
calendar.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
checkBox.js checkBox: Fix expand and align properties 2019-12-05 15:35:22 +00:00
closeDialog.js dialog: Rename subtitle property to description 2020-01-15 00:12:54 +01:00
ctrlAltTab.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
dash.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
dateMenu.js dateMenu: Move weather forecast time above icon 2020-01-09 17:13:24 +01:00
dialog.js dialog: Remove MessageDialogContent.body property 2020-01-15 00:17:25 +01:00
dnd.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
edgeDragAction.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
endSessionDialog.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
environment.js environment: Remove unused ease parameter 2020-01-06 13:17:59 +00:00
extensionDownloader.js dialog: Remove icons from dialogs 2020-01-15 00:05:34 +01:00
extensionSystem.js fileUtils: Delete deleteGFile hack 2019-11-26 22:17:28 +00:00
focusCaretTracker.js cleanup: Prefer template strings 2019-07-05 11:32:31 +00:00
grabHelper.js grabHelper: Add (promised-based) grabAsync() 2019-12-20 15:41:32 +01:00
ibusCandidatePopup.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
iconGrid.js iconGrid.js: Animate icon spring using translation 2020-01-13 16:23:37 +08:00
inhibitShortcutsDialog.js dialog: Rename subtitle property to description 2020-01-15 00:12:54 +01:00
kbdA11yDialog.js dialog: Remove MessageDialogContent.body property 2020-01-15 00:17:25 +01:00
keyboard.js keyboard: Update extended key size on parent size changes 2019-12-04 20:48:37 +01:00
layout.js switcherPopup: Dismiss when a system modal dialog opens 2019-12-06 19:55:39 +01:00
lightbox.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
locatePointer.js locatePointer: Bind ripples creation to settings 2019-09-09 19:28:18 +00:00
lookingGlass.js Use paint and pick context to get framebuffer 2019-12-03 19:07:15 +00:00
magnifier.js magnifier: Adapt to painting and picking API change 2019-12-07 13:08:28 +00:00
magnifierDBus.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
main.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
messageList.js theme: Add message close button styling 2019-11-25 18:02:07 +02:00
messageTray.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
modalDialog.js switcherPopup: Dismiss when a system modal dialog opens 2019-12-06 19:55:39 +01:00
mpris.js mpris: Use a scope specific message instead of a global one 2019-11-21 22:54:07 +00:00
notificationDaemon.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
osdMonitorLabeler.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
osdWindow.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
overview.js style: Allow lonely ifs where appropriate 2019-11-11 23:51:17 +00:00
overviewControls.js workspaceThumbnail: Sync indicator with WorkspacesDisplay 2020-01-08 23:07:08 +01:00
padOsd.js padOsd: Re-query action labels after mode switches 2019-12-17 13:07:39 +01:00
pageIndicators.js pageIndicators: Redesign and add position-based animation 2019-11-23 03:01:51 +05:00
panel.js panel: Disable menu-toggle shortcuts while top bar is hidden 2019-12-20 14:20:49 +00:00
panelMenu.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
pointerA11yTimeout.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
pointerWatcher.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
popupMenu.js popupMenu: Close when source actor gets hidden 2019-12-20 14:20:49 +00:00
remoteSearch.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
ripples.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
runDialog.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
screencast.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
screenShield.js screenShield: Stop messing with fixed-position-set 2020-01-10 16:26:31 +01:00
screenshot.js screenshot: Fix stripping suffix from relative filename 2020-01-10 19:31:04 +01:00
scripting.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
search.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
sessionMode.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
shellDBus.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
shellEntry.js shellEntry: Show popup menu at cursor position when pressing menu key 2020-01-15 18:27:31 +01:00
shellMountOperation.js dialog: Remove MessageDialogContent.body property 2020-01-15 00:17:25 +01:00
slider.js slider: Stop emulating drags in key handling 2019-11-23 15:08:54 +01:00
swipeTracker.js swipeTracker: Introduce swipe tracker 2020-01-10 18:20:22 +01:00
switcherPopup.js switcherPopup: Dismiss when a system modal dialog opens 2019-12-06 19:55:39 +01:00
switchMonitor.js switchMonitor: Center align switcher icon's label 2020-01-02 13:03:08 +05:30
tweener.js tweener: Use new adjustAnimationTime() helper 2019-08-06 20:50:43 +02:00
unlockDialog.js js: Use StPasswordEntry for password entry fields 2019-12-17 23:08:43 +01:00
userWidget.js Adapt to painting and picking API change 2019-12-03 19:07:15 +00:00
viewSelector.js workspaceThumbnail: Sync indicator with WorkspacesDisplay 2020-01-08 23:07:08 +01:00
windowAttentionHandler.js cleanup: Don't shadow variables 2019-11-11 19:25:14 +00:00
windowManager.js dialog: Remove MessageDialogContent.body property 2020-01-15 00:17:25 +01:00
windowMenu.js cleanup: Avoid unnecessary parentheses in arrow functions 2019-09-15 16:02:45 +02:00
workspace.js workspace: Pass device to startDrag() 2019-12-13 17:53:41 +00:00
workspacesView.js workspacesView: Round workspace position 2020-01-11 02:58:19 +05:00
workspaceSwitcherPopup.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
workspaceThumbnail.js workspaceThumbnail: Sync indicator with WorkspacesDisplay 2020-01-08 23:07:08 +01:00
xdndHandler.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00