Commit Graph

12200 Commits

Author SHA1 Message Date
John Preston fa4b538e6f Beta version 4.5.9.
- Hide taskbar window preview when Telegram is locked by a passcode
(Windows only).
- More improvements for working with multiple windows.
- Bug fixes and other minor improvements.
2023-02-02 20:22:21 +04:00
John Preston 0495cf4187 Use better initial geometry for new windows. 2023-02-02 20:20:05 +04:00
John Preston 88f3aeca5b Show just logo in Dwm Preview when passcoded. 2023-02-02 16:14:36 +04:00
John Preston c7b3c95dc6 Fix root view pinned bar glitch in comments. 2023-02-02 16:12:44 +04:00
John Preston e950130da6 Fix date and forward bar overlapping. 2023-02-02 10:55:04 +04:00
John Preston a4cdd83816 Improve crash report window on Windows. 2023-02-02 10:55:04 +04:00
John Preston e10964a0bc Allow opening new account in a separate window. 2023-02-02 10:55:04 +04:00
John Preston f713585f17 Remove non-authed account only without a window. 2023-02-02 10:55:04 +04:00
John Preston 5278ed1f41 Fix account activation after window closing. 2023-02-02 10:55:04 +04:00
John Preston 58cedb796e Fix possible crash on empty options from the server. 2023-02-02 10:55:04 +04:00
Ilya Fedin 5d20d585b3 Don't use alcGetEnumValue for non-ALC enum value
This makes no effective change for openal-soft as alGetEnumValue and alcGetEnumValue do lookup in the same table, but it's more semantically right and openal-soft is not the only implementation of the API
2023-01-26 15:56:01 +04:00
Ilya Fedin 2be4641496 Install launcher on every launch on Linux
Just like AppUserModelId on Windows

This makes the cheat code and having the function outside of private namespace unnecessary
2023-01-23 12:16:59 +04:00
Ilya Fedin b62e1d5036 Set prgname and application name before glibmm initialization
This ensures possible warnings use right process name
2023-01-22 15:11:02 +04:00
John Preston 8ddbfb7de5 Beta version 4.5.8: Fix build with GCC. 2023-01-22 00:13:13 +04:00
John Preston 89687e5bff Beta version 4.5.8.
- Allow opening another account in a new window
(see Settings > Advanced > Experimental Settings).
- A lot of bugfixes for working with more than one window.
2023-01-21 21:27:45 +04:00
John Preston fcfacf1f9d Fix scroll in return to a channel I'm not in. 2023-01-21 21:24:54 +04:00
John Preston 0de77a051a Fix interface scale padding in non-authed Settings. 2023-01-21 21:08:49 +04:00
John Preston b0f8846d12 Fix opening topic on non-existent message error display. 2023-01-21 21:08:49 +04:00
23rd 6258aa01b8 Replaced multiple static constants for square root of 2 with Qt define. 2023-01-21 19:40:33 +03:00
John Preston 7caabb8f5a Fix crash in topics disabling. 2023-01-21 09:42:57 +04:00
23rd 37454b4ff4 Added list of active group calls to Calls box. 2023-01-21 07:29:40 +04:00
23rd cd032f5c16 Fixed update of flag for group calls from mtp chat data. 2023-01-21 07:29:40 +04:00
23rd 0c17bdc783 Replaced Calls box with GenericBox. 2023-01-21 07:29:40 +04:00
23rd 23a1f7b83c Fixed display of empty result of topics search. 2023-01-21 07:29:40 +04:00
23rd 465a33f095 Fixed display of loading peer list item in choose forum topic box. 2023-01-21 07:29:40 +04:00
Ilya Fedin 6f89413c76 Don't get cursor position twice for open with menu 2023-01-20 12:58:48 +04:00
John Preston 5e12cd27df Fix web_app_request_[theme|viewport].
Fixes #25752.
2023-01-20 09:35:18 +04:00
John Preston 7d1cc67019 Fix sending modified photos with existing bytes. 2023-01-19 13:05:38 +04:00
John Preston 507a064153 Fix OpenWith dropdown menu positioning on Windows. 2023-01-19 12:52:59 +04:00
John Preston c46fd66abe Fix custom emoji position in sets. 2023-01-19 11:45:40 +04:00
John Preston ec3957fcf3 Active round video moving to active window. 2023-01-19 11:42:00 +04:00
John Preston b80b770631 Fix input field shortcuts on macOS. 2023-01-19 10:36:43 +04:00
John Preston 0f234188e1 Fix crash in SystemMediaControls init. 2023-01-19 09:57:33 +04:00
23rd df5baba86b Moved out function for painting of color buttons to public interface. 2023-01-19 08:51:57 +03:00
23rd 64bd839d2c Slightly improved code style of color editor. 2023-01-19 08:51:57 +03:00
23rd 9390450049 Moved out color editor to td_ui. 2023-01-19 08:51:57 +03:00
23rd e3334f7a87 Replaced EditColorBox with Ui::GenericBox. 2023-01-19 08:51:57 +03:00
23rd 58ed30d30e Moved constants of arc angles to td_ui. 2023-01-19 08:51:57 +03:00
John Preston cdfdccbb66 Detach SystemMediaControls from Window::Controller. 2023-01-19 09:46:20 +04:00
John Preston 6b8f80bd63 Fix starting of video messages. 2023-01-19 09:46:20 +04:00
John Preston 6e5dfc79d4 Fix mouse BackButton with more than one window.
Fixes #24704.
2023-01-19 09:46:20 +04:00
John Preston f8e76f1b84 Single entry point to search in chat. 2023-01-19 09:46:19 +04:00
John Preston 2c75fe033c Fix inline GIFs play start in separate windows.
Fixes #25694.
2023-01-19 09:46:19 +04:00
John Preston b3667d69a1 Each MainWindow has its own Global Menu. 2023-01-19 09:46:19 +04:00
John Preston ba520aadcb Fix hashtags in separate windows. 2023-01-19 09:46:19 +04:00
John Preston e4c16ccba4 Create tray icon without a parent. 2023-01-19 09:46:19 +04:00
John Preston 3e332ad8e7 Rewrite shortcuts using QAction.
That way they don't depend on the main window.
2023-01-19 09:46:19 +04:00
John Preston 5154fe0044 Fix call bar appearance in a new MainWidget. 2023-01-19 09:46:19 +04:00
John Preston dcb1315d53 Fix assertion violation in a new window init.
Fixes #24620.

In MainWidget updateControlsGeometry accesses SessionController
and itself through SessionController::content, which is not filled
in the MainWidget constructor yet, so ignore initial updates.
2023-01-19 09:46:19 +04:00
John Preston 7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00