Commit Graph

1588 Commits

Author SHA1 Message Date
Ilya Fedin 80833b68fc Get rid of DESKTOP_APP_DISABLE_X11_INTEGRATION 2026-07-03 07:00:21 +04:00
John Preston 99d0cac218 Include core/version.h directly in Windows platform sources. 2026-07-02 17:49:08 +04:00
John Preston b0c4f29401 [ai] Add -testagent for silent crashes. 2026-07-02 17:49:02 +04:00
Ilya Fedin ab8d1ffa67 Check GNotification option via base::options::lookup 2026-06-26 11:08:00 +04:00
23rd 6477fdd1ed Added playback controls to Windows taskbar thumbnail.
Fixed #30402.
2026-06-24 13:25:43 +04:00
23rd 91fb16815d Moved out IsDarkTaskbar() from the Windows tray module. 2026-06-24 13:25:43 +04:00
Ilya Fedin 156c8e74e5 Use new base::option::changes in a few old options 2026-06-23 06:49:54 +04:00
23rd b9d6b073c3 Added recognized text selection and copying in overlay media viewer. 2026-06-22 11:51:50 +03:00
John Preston 043fa0a5ec Fix build on Windows. 2026-06-16 12:07:01 +04:00
23rd 1f804fc52e Fixed build. 2026-06-16 10:57:11 +03:00
Ilya Fedin c486314f83 Avoid full Telegram target rebuild on version change 2026-06-15 17:05:51 +04:00
John Preston 4f776bbe25 Launch IV editor in a separate window. 2026-06-09 14:28:13 +04:00
Ilya Fedin 614ee4589b Implement support for flatpak updates 2026-06-08 13:54:57 +04:00
23rd 652a6782ac Coalesced global menu update requests into one per event loop turn. 2026-05-18 10:36:53 +03:00
23rd 6ca4d42ac1 Skipped global menu refresh when computed state didn't change. 2026-05-18 10:36:53 +03:00
23rd e9366a83ae Fixed Windows shutdown crash by deferring close on WM_ENDSESSION. 2026-05-18 10:36:53 +03:00
23rd 995a77a4d1 Fixed tray Quit crash by deferring action callback to main event loop. 2026-05-18 10:36:53 +03:00
23rd ee88b5dcd7 Reattached media viewer touch bar when overlay NSWindow becomes key. 2026-05-14 18:27:01 +03:00
23rd ab84fb8ec2 Wrapped NSSlider in NSCustomTouchBarItem to silence AppKit warning. 2026-05-14 18:27:01 +03:00
John Preston da0b74a22f Fix CrashID copy in crash reported window. 2026-05-06 13:09:56 +04:00
23rd 923efd9e7e Removed private QAction menu role assignments in global menu. 2026-05-02 13:46:26 +03:00
John Preston 0e1b53dfa7 Use single global menu on macOS. 2026-04-24 13:06:15 +07:00
Ilya Fedin 7e77f629f6 Keep QProcess::startDetached in OpenSystemSettings when sandboxed 2026-04-21 22:37:41 +07:00
Ilya Fedin b5f3ea60b7 Try to use KSandbox::startHostProcess 2026-04-17 14:55:16 +07:00
Ilya Fedin bc2eb3df82 Remove explicit disconnections where object lifetime is the same 2026-04-17 14:54:28 +07:00
Ilya Fedin 92488b29d5 Move GNotification action creation to the rest of notification code 2026-04-17 14:54:28 +07:00
Ilya Fedin ef848e0a1b Port Linux notifications to std::get_if
There's no sense to use abstrations calling std::holds_alternative
2026-04-17 14:54:28 +07:00
John Preston 33dda9dffd Return possibility for maps handler customization on Windows. 2026-04-14 21:55:38 +07:00
John Preston 05d2881c16 Disable attempts to launch bingmaps.
Fixes #30551.
2026-04-14 13:23:25 +07:00
23rd a1389ac778 Added inline buttons to macOS notifications from notification user. 2026-04-11 16:00:27 +03:00
John Preston d0e24b555c Bring fullscreen media viewer to active space on macOS. 2026-04-09 17:06:44 +07:00
23rd 88404cfddb Removed unused private fields. 2026-04-09 12:36:51 +03:00
23rd b80f25fbc5 Made Swift 6 local translation support optional. 2026-04-06 17:52:53 +03:00
KevinHuge 59b089a0cc Fix stale macOS tray icon colors after appearance switches
Summary:
Fix the macOS tray icon refresh path so the menu bar icon updates immediately after system light/dark appearance changes, even while Telegram stays unfocused in the background.

Changes:
The tray icon code was observing status button appearance changes but rendering against NSApp effectiveAppearance on macOS 10.14 and newer. Those two appearance sources do not update in lockstep while Telegram is unfocused, which caused the tray icon to redraw with a stale color until the app was focused. This change makes the renderer use status.button.effectiveAppearance directly so the icon color is derived from the same Cocoa object that emits the refresh signal.
2026-04-06 16:57:03 +07:00
23rd 172bbb1b29 Fixed crash on macOS 10.13.
Regression was introduced in 8de878693d.
2026-04-03 23:41:55 +03:00
23rd 8de878693d Fixed initial tray icon color on macOS dark theme. 2026-04-03 13:34:05 +03:00
23rd ccb563eff1 Moved out dock menu from obj-c implementation to Qt implementation.
This allows to remove
the `NSApplicationDelegate::applicationDockMenu` patch for Qt.
2026-03-12 12:59:49 +04:00
Ilya Fedin f0a47c8769 Allow Linux TranslateProvider re-use 2026-03-12 12:59:49 +04:00
Ilya Fedin 27080d4b96 Fix include in Linux translate provider 2026-03-12 12:59:49 +04:00
Ilya Fedin 25026d1657 Support Crow Translate on Linux 2026-03-04 11:44:40 +03:00
23rd d4a5bb788c Moved out some classes from lib_translate. 2026-03-04 08:32:04 +03:00
23rd ccce8756ed Added simple error handler for translations. 2026-03-04 08:32:04 +03:00
23rd d7e8199365 Added platform provider of translations. 2026-03-04 08:32:04 +03:00
23rd 7d310e56cc Added accounts list to tray menu on macOS.
Related commit: 57b22d2ad2.
2026-02-28 19:07:08 +04:00
23rd 7899e4943b Changed behavior to open context menu with right-click on macOS tray. 2026-02-28 19:07:08 +04:00
cumdev1337 234e0b247b Save webauthn resident key 2026-02-28 11:31:30 +04:00
23rd 1e6912f560 Respected different scales in rects of text recognition for macOS. 2026-01-03 05:13:29 +03:00
23rd 19e965ce45 Reverted "Wrapped text recognition on macOS with experimental toggle."
This reverts commit feb1ea6502.
2025-12-31 12:18:04 +03:00
23rd a3465ea80c Removed duplicated menu item for Character Palette for modern macOS. 2025-12-28 10:12:03 +03:00
Ilya Fedin af24830233 Fix Ctrl+, shortcut on Linux
Regression was introduced in 30819509d3
2025-12-26 14:11:14 +04:00