gnome-shell/js/ui
Florian Müllner 12a203a1db notificationDaemon: Stop auto-dismissing on focus changes
This behavior dates back all the way to the original gnome-shell
release, and it did make sense at the time:

 - we were first to make notifications persistent instead of
   closing them after a timeout; apps were therefore used to
   treat notifications as fire-and-forget instead of closing
   them when no longer relevant

 - neither web notifications not portals did exist yet, so the
   D-Bus API was only used directly, instead of as a backend
   for other APIs; as a result, focusing the app was more likely
   than not to put the source of the event that the user was
   notified about into view

Nowadays both persistent notifications and web notifications
are wide-spread, so the original reasons no longer apply.

This change helps web notifications in particular, as it reduces
the differences between XDG and portal-based implementations.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2332>
2022-07-14 11:39:55 +00:00
..
components Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
status Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
accessDialog.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
altTab.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
animation.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
appDisplay.js Js: Use new :icon-name property 2022-05-06 13:39:40 +00:00
appFavorites.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
appMenu.js appMenu: Hide overview when pressing on 'Show Details' 2022-06-09 17:51:46 +02:00
audioDeviceSelection.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
background.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
backgroundMenu.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
barLevel.js cleanup: Define GObject accessors in camelCase 2021-02-03 20:19:29 +01:00
boxpointer.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
calendar.js Js: Use new :icon-name property 2022-05-06 13:39:40 +00:00
checkBox.js checkbox: Improve accessibility of check boxes for Orca users 2020-03-29 12:56:33 +00:00
closeDialog.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
ctrlAltTab.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
dash.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
dateMenu.js dateMenu: Remove custom aligning of time strings in the World Clocks 2022-07-07 12:40:30 +00:00
dialog.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
dnd.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
edgeDragAction.js edgeDragAction: Change edge trigger threshold to AFTER 2022-05-27 09:29:26 +00:00
endSessionDialog.js endSessionDialog: Small cleanup 2022-07-11 14:14:37 +00:00
environment.js environment: Remove inline import of extensionUtils 2022-07-06 13:40:44 -04:00
extensionDownloader.js js: Use templates for non-translatable strings 2022-02-12 12:29:52 +00:00
extensionSystem.js extensions: Allow updating with only extension-manager installed 2022-07-11 17:43:11 +00:00
focusCaretTracker.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
grabHelper.js Require both mouse and keyboard grabs for some grabs to be successful 2022-05-04 17:28:08 +00:00
ibusCandidatePopup.js ibusCandidatePopup: Prevent it from covering screenshot UI 2022-07-04 13:38:15 +00:00
iconGrid.js iconGrid: Add more possible icon sizes 2022-05-04 20:49:15 +00:00
inhibitShortcutsDialog.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
init.js init: Set console log domain 2021-09-01 14:55:47 +00:00
kbdA11yDialog.js kbdA11yDialog: Use MetaKeyboardA11yFlags 2022-06-16 09:38:20 +00:00
keyboard.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
layout.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
lightbox.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
locatePointer.js
lookingGlass.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
magnifier.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
main.js environment: Remove inline import of extensionUtils 2022-07-06 13:40:44 -04:00
messageList.js messageList: Only close messages via delete key if they can be closed 2022-06-04 15:23:45 +02:00
messageTray.js signalTracker: Explicitly register destroyable types 2022-03-06 00:10:03 +00:00
modalDialog.js Require both mouse and keyboard grabs for some grabs to be successful 2022-05-04 17:28:08 +00:00
mpris.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
notificationDaemon.js notificationDaemon: Stop auto-dismissing on focus changes 2022-07-14 11:39:55 +00:00
osdMonitorLabeler.js osd: Restyle OSD display popup 2022-04-24 18:19:16 +02:00
osdWindow.js osdWindow: Implement new OSD design 2022-02-12 15:28:52 +00:00
overview.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
overviewControls.js overview: Remove desktop fade logic 2022-03-20 21:57:51 +00:00
padOsd.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
pageIndicators.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
panel.js panel: Listen differently for button-press events 2022-03-05 23:51:59 +00:00
panelMenu.js js: Use templates for non-translatable strings 2022-02-12 12:29:52 +00:00
pointerA11yTimeout.js ui: Use ClutterSeat for keyboard/pointer a11y 2020-01-30 17:49:08 +00:00
pointerWatcher.js js: Get idle monitor from backend 2021-05-18 13:42:52 +00:00
popupMenu.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
remoteSearch.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
ripples.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
runDialog.js runDialog: Use single quotes for Wayland restart warning 2022-05-31 18:35:41 +00:00
screenShield.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
screenshot.js screenshot: Always raise UI to top when opening 2022-07-04 13:38:15 +00:00
scripting.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
search.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
searchController.js searchController: Avoid event.set_source() API 2022-03-04 12:27:34 +00:00
sessionMode.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
shellDBus.js shellDBus: Actually make ScreenTransitionAsync async 2022-03-28 15:36:18 +02:00
shellEntry.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
shellMountOperation.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
slider.js slider: Use Clutter.grab() for implicit grab 2022-01-29 01:16:29 +01:00
swipeTracker.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
switcherPopup.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
switchMonitor.js switchMonitor: Fix switching configuration 2022-03-20 22:04:55 +00:00
unlockDialog.js lockScreen: Extend modal grab to entire uiGroup 2022-05-18 20:16:10 +02:00
userWidget.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
welcomeDialog.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
windowAttentionHandler.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
windowManager.js windowManager: Handle window dimming animation getting cancelled 2022-07-02 00:39:49 +00:00
windowMenu.js windowMenu: Add an entry to take a screenshot 2022-02-12 00:20:54 +00:00
windowPreview.js Js: Use new :icon-name property 2022-05-06 13:39:40 +00:00
workspace.js workspace: Use new helper function when accepting drops 2022-03-31 17:56:49 +02:00
workspaceAnimation.js workspaceAnimation: Get time outside of the animation-complete callback 2022-03-13 00:06:03 +00:00
workspacesView.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
workspaceSwitcherPopup.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
workspaceThumbnail.js workspaceThumbnail: Use new helper function when accepting drops 2022-03-31 17:56:49 +02:00
xdndHandler.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00