tdesktop/Telegram/SourceFiles/platform/linux
Ilya Fedin b39e4a3138 Do not call CloseNotification for activatable services
If the notification daemon is an activatable GApplication service (e.g.
on Mate), then the notification daemon may terminate a short time after
the notification has vanished (usually 15s). In that case the
notification daemon may reuse notification IDs, which is incompatible
with our notification clearing.
Also the service may not be running at all, when we call the
CloseNotification endpoint.

To fix this, we simply disable the entire notification history clearing
functionality on such desktops by proactively clearing all notification
references from our internal notification manager.

Signed-off-by: Magnus Groß <magnus.gross@rwth-aachen.de>
2022-03-05 16:51:02 +04:00
..
file_utilities_linux.cpp Don't link glib with DESKTOP_APP_DISABLE_DBUS_INTEGRATION 2021-09-12 00:12:13 +03:00
file_utilities_linux.h
integration_linux.cpp Add dummy Platform::Integration on Linux. 2022-01-06 15:44:02 +03:00
integration_linux.h Add dummy Platform::Integration on Linux. 2022-01-06 15:44:02 +03:00
launcher_linux.cpp Instantiate a local dbus server for webview IPC 2021-11-29 16:23:51 +04:00
launcher_linux.h Allow to build with -Werror and clang 2021-07-13 21:32:06 +03:00
linux_desktop_environment.cpp Fix desktop environment list deduplication 2022-02-02 09:23:14 +03:00
linux_desktop_environment.h Rework DE detection 2022-01-07 19:14:59 +03:00
linux_wayland_integration_dummy.cpp Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
linux_wayland_integration.cpp Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
linux_wayland_integration.h Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
linux_xdp_file_dialog.cpp Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
linux_xdp_file_dialog.h Make Linux file dialog API better 2021-06-24 11:26:24 +04:00
linux_xdp_open_with_dialog.cpp Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
linux_xdp_open_with_dialog.h Add portal-based open with dialog implementation 2021-03-10 09:46:13 +04:00
main_window_linux.cpp Get rid of unneeded MainWindow::Private class on Linux 2022-03-05 16:47:38 +04:00
main_window_linux.h Get rid of unneeded MainWindow::Private class on Linux 2022-03-05 16:47:38 +04:00
notifications_manager_linux_dummy.cpp Fix build with dummy notifications manager on Linux. 2021-04-29 11:21:57 +04:00
notifications_manager_linux.cpp Do not call CloseNotification for activatable services 2022-03-05 16:51:02 +04:00
notifications_manager_linux.h Hide native notifications of deleted messages. 2021-10-21 23:01:13 +04:00
specific_linux.cpp Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
specific_linux.h Support autostart in Windows Store version. 2021-11-04 12:36:28 +04:00