Commit graph

192 commits

Author SHA1 Message Date
AlexeyZavar
20358a2f58 Merge tag 'v5.10.3' into dev 2025-01-15 10:11:17 +03:00
Nikolai Nechaev
7fcd84d08e Fix handling of notification disappearing under cursor
Previously, notifications disappearing under cursor (e.g., because closed
manually or open from another device) did not notify the manager
properly, as the leaveEventHook was not triggered. This could lead to
notifications staying around when not supposed to (see #28813).

This commit fixes that by explicitly notifying manager when the
notification widget disappears under the cursor.

Fixes #28813.
2025-01-06 09:51:09 +04:00
AlexeyZavar
7321b654bf Merge tag 'v5.6.3' into dev 2024-10-16 13:42:36 +03:00
John Preston
9ace04d2c9 Support entities in star gift messages. 2024-10-04 10:06:21 +04:00
John Preston
39fb0a5b66 Remove custom PeerData::isVerifyCodes() userpic. 2024-10-04 10:06:21 +04:00
John Preston
79b1c0edee Support PeerData::isVerifyCodes() peer type. 2024-10-04 10:06:20 +04:00
AlexeyZavar
409eedf58d Merge tag 'v5.5.3' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/chat_helpers/gifs_list_widget.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/history_widget.cpp
#	Telegram/SourceFiles/history/view/history_view_element.cpp
#	Telegram/lib_tl
#	Telegram/lib_ui
#	lib/xdg/org.telegram.desktop.metainfo.xml
#	snap/snapcraft.yaml
2024-09-11 20:23:00 +03:00
John Preston
24b0b33f1d Wrap names in LRM/RLM for correct layout. 2024-08-28 14:55:41 +04:00
AlexeyZavar
da797a2b07 Merge tag 'v5.2.0' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/calls/calls_call.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/media/history_view_gif.cpp
#	Telegram/SourceFiles/window/notifications_manager_default.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-07-01 04:17:59 +03:00
Ilya Fedin
490ec7949f Don't call hide/createWinId just to call show right after that in Window::Notifications::Default::HideAllButton 2024-06-22 11:32:36 +04:00
Ilya Fedin
d79da3d884 Remove old notification descturction workaround for old X11 systems
There seem to be no need in it anymore
2024-06-15 11:08:06 +04:00
AlexeyZavar
11abaac7c1 fix: hide notifications from blocked users
e.g. when in shared group chats with enabled notifications
sound still plays, lazy to fix that
2024-04-19 02:18:38 +03:00
AlexeyZavar
c6b42e2940 Merge tag 'v4.16.0' into dev
# Conflicts:
#	README.md
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/calls/calls_call.cpp
#	Telegram/SourceFiles/core/local_url_handlers.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp
#	Telegram/SourceFiles/history/view/media/history_view_sticker.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-04-01 23:56:12 +03:00
23rd
d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
ZavaruKitsu
adb5abf4fb chore: reformat & refactor & remove as not planned for now 2024-02-04 18:36:11 +03:00
ZavaruKitsu
0f8187fa36 Merge tag 'v4.12.2' into dev
# Conflicts:
#	.github/workflows/win.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/settings/settings_advanced.cpp
#	Telegram/SourceFiles/settings/settings_main.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-12-01 15:38:13 +03:00
John Preston
b60e50df10 Try using hide media viewer workaround on Linux. 2023-11-22 12:18:45 +04:00
Ilya Fedin
0f9d83f34b Use setFixedSize instead of set{Minimum,Maximum}Size combo 2023-11-21 21:20:50 +04:00
ZavaruKitsu
4b28e910e8 Merge tag 'v4.11.5' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/platform/win/tray_win.cpp
#	Telegram/lib_ui
2023-11-08 21:33:14 +03:00
John Preston
b2eeab53c5 Improve 5-line reply text elision. 2023-11-06 12:35:27 +04:00
ZavaruKitsu
eff273dd7d Merge tag 'v4.10.4' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-10-21 22:04:45 +03:00
John Preston
396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
ZavaruKitsu
0502acc8a4 Merge tag 'v4.10.0' into dev
# Conflicts:
#	README.md
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/apiwrap.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_stories.cpp
#	Telegram/SourceFiles/platform/win/windows_app_user_model_id.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-09-23 10:58:57 +03:00
23rd
98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
ZavaruKitsu
ca9feab071 feat: top center notifications 2023-08-30 20:12:41 +00:00
ZavaruKitsu
8e8719870a feat: streamer mode
Co-authored-by: MaxPlays35 <35427519+maxplays35@users.noreply.github.com>
2023-08-30 20:11:28 +00:00
ZavaruKitsu
eaba9781a5 upload: import Ayu initial
Co-authored-by: SharapaGorg <sharapov.savely@yandex.ru>
2023-06-03 19:01:58 +03:00
John Preston
864959aee0 Hide login code with a spoiler in chats list. 2023-04-27 15:23:36 +04:00
John Preston
32e650548f One more attempt to fix DND on macOS. 2023-03-15 15:00:29 +04:00
John Preston
2a4c39b9d7 Implement some power saving options. 2023-03-01 09:12:02 +04:00
John Preston
762589b622 Fix userpic in a notification with hidden sender. 2023-02-03 09:51:06 +04:00
John Preston
7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00
Ilya Fedin
13eeddf479 Don't wait for input when there are fullscreen applications 2022-12-23 14:04:17 +04:00
John Preston
cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
John Preston
01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston
01773e5bb1 Fix custom notifications in topics. 2022-11-30 13:03:42 +04:00
John Preston
34a2c5c8ce Display topic name in chats list. 2022-11-02 16:39:13 +04:00
John Preston
e62bdd286d Show topic title in the notifications. 2022-11-01 21:05:49 +04:00
John Preston
97d8aa0a0d Add a distinct forum icon in chats list. 2022-11-01 19:25:42 +04:00
John Preston
b8bdca8921 Extract Data::Thread common for History / ForumTopic. 2022-11-01 19:25:37 +04:00
John Preston
92a4b27e65 Support per-topic notification settings. 2022-11-01 19:25:37 +04:00
John Preston
b13471672d Move some chat styles from basic.style to chat.style. 2022-11-01 19:25:34 +04:00
John Preston
1401b19994 Add PaintContext for Dialogs::Ui::RowPainter. 2022-11-01 19:25:34 +04:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston
60cc232884 Update API scheme on layer 145. 2022-09-02 21:14:29 +04:00
John Preston
8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston
fce4452af5 Fix repainting of custom emoji in notifications. 2022-07-26 20:12:12 +03:00
John Preston
ee8d8171f7 Support custom emoji in custom notification replies. 2022-07-26 20:12:08 +03:00
John Preston
8c8cbbbc83 Display custom emoji in custom notifications. 2022-07-26 20:12:08 +03:00
John Preston
7a10d3d82c Support animated emoji in share box comment. 2022-07-26 20:12:08 +03:00