gnome-shell/js/ui
Carlos Garnacho bc3b890e75 keyboard: Only reset to the default level on unlocked latched levels
Reportedly, non-alphanumeric key levels were able to stick by
happenstance, and let the user press multiple keys until explicitly
switching to a different mode. Reportedly, this broke, switching to
the default level after the first key press on the additional levels.

Since we have this information in the OSK key models (each level has
a "mode" field to either default/latched/locked), retrieve this
information for them for each level, and only reset to the default
level if on one of those latched levels, and the relevant key was not
locked through long-press.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5763
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2945>
2023-09-08 19:42:38 +00:00
..
components cleanup: Fixup wrong JSDoc comments 2023-08-09 15:10:38 +00:00
status status/backgroundApps: Filter out unknown apps 2023-09-05 16:06:24 +00:00
accessDialog.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
altTab.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
animation.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
appDisplay.js appDisplay: Add Pardus apps to default folder list 2023-09-02 16:55:36 +00:00
appFavorites.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
appMenu.js cleanup: Remove spaces in object literals 2023-08-09 15:10:37 +00:00
audioDeviceSelection.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
background.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
backgroundMenu.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
barLevel.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
boxpointer.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
calendar.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
checkBox.js cleanup: Remove spaces in object literals 2023-08-09 15:10:37 +00:00
closeDialog.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
components.js js: Port to modules 2023-08-06 13:02:49 +02:00
ctrlAltTab.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
dash.js dash: Move getAppFromSource() into static method 2023-08-20 01:30:55 +00:00
dateMenu.js js: Port to modules 2023-08-06 13:02:49 +02:00
dialog.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
dnd.js cleanup: Fixup wrong JSDoc comments 2023-08-09 15:10:38 +00:00
edgeDragAction.js Adapt to the new Mtk library 2023-08-31 03:44:32 +00:00
endSessionDialog.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
environment.js environment: Add Meta.Rectangle compatibility 2023-08-31 22:05:32 +00:00
extensionDownloader.js js: Port Config to ESM 2023-08-10 17:42:23 +00:00
extensionSystem.js js: Port Config to ESM 2023-08-10 17:42:23 +00:00
focusCaretTracker.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
grabHelper.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
ibusCandidatePopup.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
iconGrid.js iconGrid: Export zoomOutActor() 2023-08-25 16:21:03 +00:00
inhibitShortcutsDialog.js js: Port to modules 2023-08-06 13:02:49 +02:00
init.js init: Include the error stack in the context termination error message 2023-08-18 00:31:10 +00:00
kbdA11yDialog.js cleanup: Use consistent 4-space indent 2023-08-09 15:10:37 +00:00
keyboard.js keyboard: Only reset to the default level on unlocked latched levels 2023-09-08 19:42:38 +00:00
layout.js layout: Fix missing switch to MTK 2023-08-31 22:05:32 +00:00
lightbox.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
listModes.js listModes: Port listModes command to ES module 2023-08-05 22:16:23 +02:00
locatePointer.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
lookingGlass.js lookingGlass: Export the Inspector class 2023-08-17 19:32:42 +02:00
magnifier.js cleanup: Fixup wrong JSDoc comments 2023-08-09 15:10:38 +00:00
main.js main: Introduce global workspaces adjustment 2023-08-11 16:51:13 +00:00
messageList.js messageList: Allow dismissal via backspace 2023-08-16 14:04:47 +02:00
messageTray.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
modalDialog.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
mpris.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
notificationDaemon.js js: Port Config to ESM 2023-08-10 17:42:23 +00:00
osdMonitorLabeler.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
osdWindow.js osdWindow: Allow label and level to be null 2023-08-28 17:16:11 +00:00
overview.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
overviewControls.js workspaceThumbnail: Expose maxThumbnailScale as property 2023-09-06 11:35:10 +00:00
padOsd.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
pageIndicators.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
panel.js panel: Switch workspaces when scrolling over activities 2023-09-01 15:07:22 +00:00
panelMenu.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
pointerA11yTimeout.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
pointerWatcher.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
popupMenu.js popupMenu: Allow to use the up and down arrows to wrap around 2023-09-01 21:50:12 +00:00
quickSettings.js quickSettings: Add getFirstItem() method 2023-08-20 01:54:09 +02:00
remoteSearch.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
ripples.js js: Port to modules 2023-08-06 13:02:49 +02:00
runDialog.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
screenShield.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
screenshot.js screenshot: Only handle mode-switch shortcut when supported 2023-09-07 18:23:29 +02:00
scripting.js js: Port Config to ESM 2023-08-10 17:42:23 +00:00
search.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
searchController.js cleanup: Remove spaces in object literals 2023-08-09 15:10:37 +00:00
sessionMode.js js: Port Config to ESM 2023-08-10 17:42:23 +00:00
shellDBus.js js: Port Config to ESM 2023-08-10 17:42:23 +00:00
shellEntry.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
shellMountOperation.js cleanup: Fixup wrong JSDoc comments 2023-08-09 15:10:38 +00:00
slider.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
swipeTracker.js Adapt to the new Mtk library 2023-08-31 03:44:32 +00:00
switcherPopup.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
switchMonitor.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
unlockDialog.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
userWidget.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
welcomeDialog.js js: Port Config to ESM 2023-08-10 17:42:23 +00:00
windowAttentionHandler.js cleanup: Always use single quotes 2023-08-09 15:10:37 +00:00
windowManager.js Adapt to the new Mtk library 2023-08-31 03:44:32 +00:00
windowMenu.js windowMenu: Use NONE ornament by default 2023-08-31 21:35:23 +00:00
windowPreview.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
workspace.js cleanup: Fixup wrong JSDoc comments 2023-08-09 15:10:38 +00:00
workspaceAnimation.js workspaceAnimation: Sync progress with main adjustment 2023-08-11 16:51:13 +00:00
workspacesView.js workspaceThumbnail: Expose maxThumbnailScale as property 2023-09-06 11:35:10 +00:00
workspaceSwitcherPopup.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
workspaceThumbnail.js workspaceThumbnail: Expose maxThumbnailScale as property 2023-09-06 11:35:10 +00:00
xdndHandler.js cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00