gnome-shell/js/ui
Ray Strode f0a7395b30 shellActionModes: disable POPUP keybindings in unlock screen
Certain keybindings should continue to work even when a popup
menu is on screen. For instance, the keybinding for showing
the app menu and the keyinding for showing the calendar are
examples.

This is achieved by putting in place a special "POPUP" action
mode, whenever a popup menu is active.  This mode replaces
the (e.g., "NORMAL" or "OVERVIEW") action mode that was in place
for as long as the popup menu is active.

But those keybindings should not work when the user is at the
unlock dialog (which uses an action mode of "UNLOCK").

Unfortunately, since commit c79d24b6 they do.

This commit addresses the problem by forcing the action mode
to NONE at the unlock screen when popups are visible.

CVE-2019-3820

Closes https://gitlab.gnome.org/GNOME/gnome-shell/issues/851
2019-02-05 11:09:40 -05:00
..
components st: Add StPolicyType enum 2019-01-30 22:50:01 +01:00
status thunderbolt: ensure failure msg is translatable 2019-02-04 18:53:42 +00:00
accessDialog.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
altTab.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
animation.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
appDisplay.js appDisplay: Separate PageIndicators to a separate file 2019-02-05 16:25:54 +01:00
appFavorites.js weather: Change Weather app ID 2019-01-31 12:33:10 -05:00
audioDeviceSelection.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
background.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
backgroundMenu.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
barLevel.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
boxpointer.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
calendar.js st: Add StPolicyType enum 2019-01-30 22:50:01 +01:00
checkBox.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
closeDialog.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
ctrlAltTab.js st: Add StDirectionType enum 2019-01-30 22:50:01 +01:00
dash.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
dateMenu.js dateMenu: Refresh world clocks section 2019-02-05 11:36:38 +00:00
dialog.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
dnd.js dnd: Use StSettings instead of GtkSettings 2019-01-30 23:18:53 +01:00
edgeDragAction.js cleanup: Remove erroneous vfunc parameters 2019-02-05 02:21:40 +00:00
endSessionDialog.js st: Add StPolicyType enum 2019-01-30 22:50:01 +01:00
environment.js environment: No need to set Gdk version 2019-01-30 22:50:01 +01:00
extensionDownloader.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
extensionSystem.js cleanup: Remove obsolete Lang imports 2019-01-22 21:33:46 +00:00
focusCaretTracker.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
grabHelper.js st: Add StDirectionType enum 2019-01-30 22:50:01 +01:00
ibusCandidatePopup.js ibusCandidatePopup: Clarify assignment in condition 2019-01-30 16:13:16 +00:00
iconGrid.js st: Add StDirectionType enum 2019-01-30 22:50:01 +01:00
inhibitShortcutsDialog.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
kbdA11yDialog.js Don't mistake GObject.registerClass() for a constructor 2019-02-05 02:21:40 +00:00
keyboard.js keyboard: Implement keypad OSK panel 2019-02-05 16:25:57 +01:00
layout.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
lightbox.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
lookingGlass.js st: Add StDirectionType enum 2019-01-30 22:50:01 +01:00
magnifier.js cleanup: Remove erroneous vfunc parameters 2019-02-05 02:21:40 +00:00
magnifierDBus.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
main.js st-texture-cache: Use GtkIconTheme separate from GTK+ 2019-01-30 23:18:53 +01:00
messageList.js Don't mistake GObject.registerClass() for a constructor 2019-02-05 02:21:40 +00:00
messageTray.js st: Add StDirectionType enum 2019-01-30 22:50:01 +01:00
modalDialog.js modalDialog: Do not sync display here 2019-01-30 22:50:01 +01:00
mpris.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
notificationDaemon.js js: Drop unused Gdk/Gtk imports 2019-01-30 22:50:01 +01:00
osdMonitorLabeler.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
osdWindow.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
overview.js overview: Do not warp pointer to fake crossing event 2019-01-30 22:50:01 +01:00
overviewControls.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
padOsd.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
pageIndicators.js appDisplay: Separate PageIndicators to a separate file 2019-02-05 16:25:54 +01:00
panel.js panel: Don't allow opening hidden menus via keybindings 2019-02-05 11:08:45 -05:00
panelMenu.js st: Add StDirectionType enum 2019-01-30 22:50:01 +01:00
pointerWatcher.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
popupMenu.js st: Add StDirectionType enum 2019-01-30 22:50:01 +01:00
remoteMenu.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
remoteSearch.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
runDialog.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
screencast.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
screenShield.js st: Add StDirectionType enum 2019-01-30 22:50:01 +01:00
screenshot.js screenshot: Remove bogus parameter 2019-02-05 02:21:40 +00:00
scripting.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
search.js st: Add StDirectionType enum 2019-01-30 22:50:01 +01:00
sessionMode.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
shellDBus.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
shellEntry.js shellActionModes: disable POPUP keybindings in unlock screen 2019-02-05 11:09:40 -05:00
shellMountOperation.js st: Add StPolicyType enum 2019-01-30 22:50:01 +01:00
slider.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
switcherPopup.js st: Add StPolicyType enum 2019-01-30 22:50:01 +01:00
switchMonitor.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
tweener.js tweener: Use StSettings instead of GtkSettings 2019-01-30 23:18:53 +01:00
unlockDialog.js js: Drop unused Gdk/Gtk imports 2019-01-30 22:50:01 +01:00
userWidget.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
viewSelector.js cleanup: Remove erroneous vfunc parameters 2019-02-05 02:21:40 +00:00
windowAttentionHandler.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
windowManager.js windowManager: Disable bottom edge swipe gesture if OSK is enabled 2019-02-05 16:25:54 +01:00
windowMenu.js st: Add StDirectionType enum 2019-01-30 22:50:01 +01:00
workspace.js workspace: Update a wrong comment 2019-01-31 17:36:25 +00:00
workspacesView.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
workspaceSwitcherPopup.js cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
workspaceThumbnail.js workspace: Use ES6 findIndex() method for getting window index 2019-01-31 17:36:25 +00:00
xdndHandler.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00