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
John Preston
db453ab7ae
Allow slowing down Animations::Simple in debug build.
2022-01-14 21:55:47 +03:00
John Preston
18e6e2da9e
Open specific chat only in one window.
2022-01-04 19:36:33 +03:00
John Preston
54247cd11b
Create dialogs widget only in the primary window.
2022-01-04 16:44:53 +03:00
John Preston
aef45b3a1d
Refactor icon unread counter painting.
2021-11-02 20:12:57 +04:00
23rd
80461bd9fe
Moved ConfirmBox to Ui namespace.
2021-10-19 06:34:27 +03:00
23rd
6148edbc7d
Moved ConfirmBox to td_ui.
2021-10-19 06:34:27 +03:00
John Preston
b78b27f517
Move dialogs_layout to dialogs/ui/.
2021-10-04 23:45:21 +04:00
John Preston
cf76933352
Fix saving tray "Toggle notifications" on relaunch.
...
Fixes https://bugs.telegram.org/c/9509
2021-09-22 14:03:41 +04:00
23rd
613f2ba708
Replaced instant base::call_delayed with InvokeQueued.
2021-09-07 23:41:07 +03:00
John Preston
ae30366cbf
Fix window move by title on macOS.
2021-07-29 15:30:22 +03:00
Ilya Fedin
1ebf27bfa1
Switch MainWindow to Ui::RpWindow
2021-07-28 18:05:39 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
23rd
a631a28092
Removed App::pixmapFromImageInPlace.
2021-07-06 12:13:06 +03:00
23rd
6bb7e2c2eb
Removed using of hardcoded numbers of tray menu actions.
2021-07-06 12:13:06 +03:00
23rd
4909ba5a1e
Added ability to pass custom layer widgets to stack.
2021-07-06 12:13:05 +03:00
John Preston
e1120d1cb5
Optimize out most of LastUserInputTime() calls.
...
Fixes #16118 .
2021-06-18 19:22:36 +04:00
23rd
570ed5691d
Added Window::Controller pointer to data of intro widget.
2021-06-17 10:57:45 +04:00
23rd
707b36dc12
Moved DBIWorkMode to Core::Settings.
2021-06-16 09:31:32 +03:00
23rd
5334372671
Moved WorkMode global variable from facades to core settings.
2021-06-16 09:31:32 +03:00
23rd
aad38c2809
Replaced observable in Window::Notifications::System with rpl.
2021-06-16 09:31:32 +03:00
23rd
69eaecc218
Moved SystemMediaControlsManagerto Media namespace.
2021-06-10 23:00:56 +03:00
23rd
d22601461a
Added new commands to Quit and Raise for Linux MPRIS.
2021-06-10 23:00:55 +03:00
23rd
1cfbf24635
Moved Windows SMTC as part of cross-platform media controls solution.
2021-06-10 23:00:55 +03:00
John Preston
d85981cca0
Revert "Check if the window is not overlapped when is not active"
...
This reverts commit 6b1bc1e845
.
Fixes #16188 . Maybe add an option later.
2021-04-28 10:36:15 +04:00
Ilya Fedin
6b1bc1e845
Check if the window is not overlapped when is not active
2021-04-20 15:44:09 +03:00
Ilya Fedin
1a3253ae8b
Implement three items tray menu on Linux
2021-02-23 17:14:57 +04:00
Ilya Fedin
15d18077b8
Use new methods from lib_ui
2021-02-19 14:15:09 +04:00
John Preston
b3660f1ed8
Version 2.5.9: Move window position to Core::Settings.
2021-02-17 19:20:05 +04:00
23rd
b4af805521
Moved showLogoutConfirmation from MainWindow to Window::Controller.
2021-02-04 18:13:03 +04:00
23rd
1f80c297ec
Removed App:wnd for opening settings.
...
Removed unused App::showSettings from facades.
2021-02-04 18:13:03 +04:00
23rd
019e691fbb
Moved some session dependent methods to SessionController.
...
MainWindow::showAddContact(),
MainWindow::showNewGroup(),
MainWindow::showNewChannel().
2021-02-04 18:13:03 +04:00
John Preston
574d915c23
Fix build and tray icon menu on Windows.
2021-01-22 16:53:59 +04:00
23rd
dc7a754418
Added ability to prevent application lock and account switch.
2020-12-14 17:09:24 +04:00
Ilya Fedin
3c8c059447
Eliminate the need of Q_OBJECT in main_window_linux and main_window_win
2020-08-30 17:00:43 +04:00
Ilya Fedin
ea8e256a23
Revert "Revert "Add main window shadow for Linux""
...
This reverts commit b7f5cfe083
.
2020-08-30 17:00:43 +04:00