Commit Graph

1576 Commits

Author SHA1 Message Date
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
23rd 57b22d2ad2 Added accounts list to dock menu on macOS. 2025-12-22 17:56:54 +04:00
23rd 6ce7641971 Replaced WebAuthn dll loading with SafeLoadLibrary on Windows. 2025-12-16 17:09:13 +03:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston 03df5b8546 rpl::type_erased() -> rpl::type_erased. 2025-12-10 14:27:05 +04:00
Ilya Fedin 6cfda1dd43 Use gi::object_cast 2025-12-10 10:43:28 +04:00
Ilya Fedin c27c47dd52 Set M_ARENA_MAX earlier
It doesn't work properly with auto-updatable builds otherwise
2025-12-09 12:36:12 +04:00
Ilya Fedin 6ea30feb18 Attach malloc_trim lifetime to LinuxIntegration 2025-12-09 12:36:12 +04:00
23rd 3aa241d825 Removed WebAuthn support for macOS for now. 2025-12-05 23:11:32 +04:00
23rd feb1ea6502 Wrapped text recognition on macOS with experimental toggle. 2025-12-05 20:11:53 +04:00
23rd fea80b4919 Wrapped passkeys on macOS with experimental toggle due to instability. 2025-12-05 20:11:53 +04:00
23rd 255b30e88a Added initial implementation of text recognition for macOS. 2025-12-05 20:11:53 +04:00
23rd d2dd124be0 Added dummy platform files for text recognition. 2025-12-05 20:11:53 +04:00