Commit Graph

337 Commits

Author SHA1 Message Date
John Preston
ab20eb86c9 Scope setup-email gate to auxiliary windows and URLs
Task: 2026/08/03/establish-setup-email-gate-window-scope
2026-08-04 13:08:47 +04:00
23rd
9d52a03190 Removed unused style includes from sources. 2026-07-27 14:04:36 +03:00
23rd
816bd7b677 Fixed settings opening under boxes without session. 2026-07-24 17:22:38 +03:00
23rd
df64efd468 Fixed back from new account intro focusing wrong window. 2026-06-22 11:51:49 +03:00
23rd
d7316816a2 Allowed closing boxes and layers with mouse back button. 2026-06-10 19:32:08 +03:00
23rd
4d32a1658c Fixed 3D premium covers drawing over shown boxes. 2026-06-09 07:49:26 +03:00
23rd
e29458e8aa Added dragging proxy links onto window to open connection box. 2026-06-09 07:49:25 +03:00
23rd
ac498f8251 Skipped slide animation grab when main window body was empty. 2026-05-14 18:27:01 +03:00
John Preston
b40397700d Fix tg:// links handling on cold start. 2026-05-05 10:45:43 +04:00
23rd
eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
23rd
f832e31c7b Added support of pending suggestion to set up login email. 2025-11-15 11:59:20 +04:00
John Preston
65891508e0 Focus start button on launch. 2025-11-06 22:54:42 +04:00
Ilya Fedin
5fbf280e4a Combine startUrls and sendPaths
This commit allows to handle multiple URLs of all types as positional arguments simultaneously:
* tg:// links
* tonsite:// links
* interpret:// file paths
* generic file paths (to share files)

This allows to Drag'n'Drop files to the Telegram shortcut/binary.
2025-10-23 10:23:53 +04:00
John Preston
b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
23rd
03790f3da0 Removed include directive for ui_utility from rp_widget header. 2024-08-28 15:15:58 +03:00
John Preston
fd982b90db Implement separate instances for web apps. 2024-07-24 13:46:22 +02:00
John Preston
69d21f73ef Separate window for forums/topics/sublists/archive. 2024-06-30 21:16:10 +04:00
Ilya Fedin
a22cf8e303 Use RpWidget::windowActiveValue 2024-06-19 10:33:33 +04:00
23rd
1c223e570a Slightly improved code style for long equality expressions. 2024-04-15 11:20:30 +04:00
Ilya Fedin
4b4de9d5aa Don't mark as read when unexposed
There's a yet another another visility state called "exposed" and the window could be unexposed while being not hidden and not minimized.

When the window is unexposed, Qt doesn't draw and the user can't see changes for sure.
2024-03-23 10:36:43 +04:00
23rd
4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
23rd
d6e1ee2a28 Added closing of attached bot web view when app is locked by passcode.
Fixed #26582.
2023-08-04 08:46:45 +02:00
John Preston
2fb7bdc803 Skip refocus InputField::Inner if field unfocused.
I hope this fixes #26223.
2023-05-24 21:22:26 +04:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston
58c5bb7247 Update online after the window active status.
I hope this fixes #26059.
2023-03-21 16:23:38 +04:00
John Preston
68eb99bde0 Mark as read only in visible non minimized window.
I hope this fixes #26050.
2023-03-17 16:48:43 +04:00
John Preston
f3e15c7fcd Suggest inviting by link if privacy disallows adding. 2023-03-12 07:25:39 +04:00
John Preston
7557a20679 Close PiP when a passcode lock is enabled. 2023-02-15 10:47:10 +04:00
John Preston
cdfdccbb66 Detach SystemMediaControls from Window::Controller. 2023-01-19 09:46:20 +04:00
John Preston
7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00
John Preston
f9ca7f4505 Beta version 4.5.4: Fix "Mark-as-read-inactive setting." 2023-01-10 16:24:27 +04:00
John Preston
3c17fab15a Beta version 4.5.4: Mark-as-read-inactive setting.
In case an experimental setting of auto-scrolling is enabled,
just ignore the window activity check in marking chat as read..
2023-01-10 15:31:15 +04:00
John Preston
b561705528 Use Window::SlideAnimation in all widgets. 2022-12-01 14:18:37 +04:00
John Preston
ad3f8e72a0 Remove namespace App. 2022-11-30 17:28:09 +04:00
John Preston
01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston
9d4840c0de Respect window active state on mark as read. 2022-11-02 20:13:29 +04:00
John Preston
d8743ec0e6 Fix opening channel with active livestream in a new window. 2022-08-08 18:18:44 +03:00
John Preston
db15a58dde Fix separate windows with audio player.
Fixes https://bugs.telegram.org/c/18154
2022-06-22 16:42:46 +04:00
23rd
fe7cffc509 Improved management of online status from non-primary windows.
– The online status of the user should be checked and updated only
when the previous active window and the current active window both have
different sessions.
– Removed MainWindow::activeChangedHook since windows should not
change online status on their own on activating.
– Renamed Application::maybeActiveSession
to Application::maybePrimarySession.
– Added updating of online status on changing of the current account
since this seems to have been missed.
2022-06-12 16:07:41 +03:00
John Preston
7828288660 Fix minimized start. 2022-06-08 14:34:46 +04:00
23rd
9861370b75 Added hotkeys to get next / previous item of search messages in dialogs. 2022-06-08 11:59:30 +03:00
John Preston
a780fbd09b Add "ctrl-click-chat-new-window" option. 2022-06-07 22:05:37 +04:00
23rd
0e16a50bbc Completely removed common and platform code for tray from main window. 2022-05-03 04:25:36 +03:00
23rd
94e06c6846 Removed Windows tray implementation from main window. 2022-05-03 04:25:36 +03:00
23rd
3ebb9af8f8 Removed Ui::hideSettingsAndLayer(). 2022-03-04 11:25:10 +03:00
Ilya Fedin
f4f7b5b99c Hide the window instantly within autostart
Unnecessary minimize triggers animation that provides a sign there were a window. There's also seem to be queuing of hide on Linux that makes the effect even more noticable and it seems the bug this workaround was made for no longer reproduces.
2022-02-28 20:22:01 +03:00
23rd
5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston
9d6eeace54 Fix quilt by system on macOS. 2022-01-31 23:16:56 +03:00
John Preston
b5aca56914 Fix pausing stickers in StickerSetBox. 2022-01-28 19:10:07 +03:00
John Preston
28f2c213f7 Remove app module. Support delayed quit by Cmd+Q on macOS. 2022-01-27 15:54:20 +03:00