Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								e8a1fc0300 
								
							 
						 
						
							
							
								
								Add a method to check whether to run in background instead of checking for macOS  
							
							
							
						 
						
							2023-09-12 10:27:13 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								f1ab712f07 
								
							 
						 
						
							
							
								
								Fix outdated bar closing.  
							
							
							
						 
						
							2023-08-14 22:30:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								590be6d6e7 
								
							 
						 
						
							
							
								
								Fix CounterLayerArgs devicePixelRatio order  
							
							
							
						 
						
							2023-04-05 10:17:22 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								8dee2a1c8b 
								
							 
						 
						
							
							
								
								Set device pixel ratio for counter layer  
							
							
							
						 
						
							2023-04-04 10:07:51 +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 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								2635b35b74 
								
							 
						 
						
							
							
								
								Move kurlmimedata.h include to where it's really used  
							
							
							
						 
						
							2023-03-17 18:56:23 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								aa9e56c633 
								
							 
						 
						
							
							
								
								Update icon on macOS, allow changing back.  
							
							
							
						 
						
							2023-03-01 09:12:02 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								832d47121f 
								
							 
						 
						
							
							
								
								Save media viewer position to Settings.  
							
							
							
						 
						
							2023-02-18 15:10:13 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								94b489835c 
								
							 
						 
						
							
							
								
								Add chat name / account name / unread count title settings.  
							
							
							
						 
						
							2023-02-03 17:51:47 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								37cf12f06e 
								
							 
						 
						
							
							
								
								Beta version 4.5.9: Fix new window position.  
							
							
							
						 
						
							2023-02-02 22:10:44 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								0495cf4187 
								
							 
						 
						
							
							
								
								Use better initial geometry for new windows.  
							
							
							
						 
						
							2023-02-02 20:20:05 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								fc26457218 
								
							 
						 
						
							
							
								
								Show current chat name in the window title.  
							
							
							
						 
						
							2023-01-09 18:39:07 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								c49dac57b7 
								
							 
						 
						
							
							
								
								Don't use window title for IPC.  
							
							
							
						 
						
							2023-01-09 16:08:34 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								741b524d71 
								
							 
						 
						
							
							
								
								Add description to an option (looks better).  
							
							
							
						 
						
							2023-01-02 15:08:28 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								84de08cad6 
								
							 
						 
						
							
							
								
								Added separated unread counter to single peer window titles.  
							
							
							
						 
						
							2022-12-06 12:56:56 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								cc0b1b1d54 
								
							 
						 
						
							
							
								
								Added option for chat names in titles of single peer windows.  
							
							
							
						 
						
							2022-12-06 12:56:56 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								6cb0834d19 
								
							 
						 
						
							
							
								
								Added chat name to titles of single peer windows.  
							
							
							
						 
						
							2022-12-05 02:49:34 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								4fabb3f2a2 
								
							 
						 
						
							
							
								
								Replaced some qsl with u""_q literal.  
							
							
							
						 
						
							2022-11-30 17:17:14 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								01139e1b04 
								
							 
						 
						
							
							
								
								Remove facades module.  
							
							
							
						 
						
							2022-11-30 16:55:51 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								ae90347c6c 
								
							 
						 
						
							
							
								
								Revert "Fixed switching between accounts with filters at screen edge."  
							
							... 
							
							
							
							This reverts commit 8f3c3b2a54 
							
						 
						
							2022-11-23 00:44:31 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								8f3c3b2a54 
								
							 
						 
						
							
							
								
								Fixed switching between accounts with filters at screen edge.  
							
							
							
						 
						
							2022-11-22 00:26:48 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								d9318c9935 
								
							 
						 
						
							
							
								
								Move icon name getter to cross-platform header  
							
							
							
						 
						
							2022-09-19 14:23:27 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								749fb52113 
								
							 
						 
						
							
							
								
								Implement animated spoilers.  
							
							
							
						 
						
							2022-09-18 16:52:30 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								e20840b4d4 
								
							 
						 
						
							
							
								
								Use KUrlMimeData for clipboard xdg-desktop-portal integration  
							
							
							
						 
						
							2022-08-30 20:25:10 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								1e7117dd67 
								
							 
						 
						
							
							
								
								Revert "Fix enlargening the window by shadow margin when resotring position"  
							
							... 
							
							
							
							This reverts commit e0ddaf9da1 
							
						 
						
							2022-08-14 11:51:13 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								e0ddaf9da1 
								
							 
						 
						
							
							
								
								Fix enlargening the window by shadow margin when resotring position  
							
							
							
						 
						
							2022-08-08 08:54:14 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								57f769f358 
								
							 
						 
						
							
							
								
								Returned lost method that checks tray existence.  
							
							
							
						 
						
							2022-06-23 09:38:21 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								d353e11077 
								
							 
						 
						
							
							
								
								Ensure reActivateWindow is used only on X11  
							
							
							
						 
						
							2022-06-16 12:11:21 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								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 
								
							 
						 
						
							
							
							
							
								
							
							
								56fdc7d39a 
								
							 
						 
						
							
							
								
								Added common and macOS tray implementations.  
							
							
							
						 
						
							2022-05-03 04:25:36 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								bf4fc2596a 
								
							 
						 
						
							
							
								
								Remove unneeded primary screen fallbacks  
							
							... 
							
							
							
							QWidget::screen automatically fallbacks to primary screen as the last effort, so this is not needed 
							
						 
						
							2022-04-19 09:33:23 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								1e744efef8 
								
							 
						 
						
							
							
								
								Replace setMinimumWidth with updateMinimumSize in Window::MainWindow  
							
							... 
							
							
							
							There's no RpWindow::setMinimumWidth 
							
						 
						
							2022-03-23 09:40:28 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									23rd 
								
							 
						 
						
							
							
							
							
								
							
							
								add6352012 
								
							 
						 
						
							
							
								
								Provided primary MainWindow as default parent for toasts.  
							
							
							
						 
						
							2022-02-25 19:41:16 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								e4a7c01541 
								
							 
						 
						
							
							
								
								Move window_outdated_bar to td_ui subproject.  
							
							
							
						 
						
							2022-02-25 14:14:43 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								feb2d3066e 
								
							 
						 
						
							
							
								
								Use RpWindow's method to set minimum window size  
							
							
							
						 
						
							2022-02-22 18:15:05 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								883509903f 
								
							 
						 
						
							
							
								
								Fix build with Xcode.  
							
							
							
						 
						
							2022-01-22 23:27:13 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								692adacc2a 
								
							 
						 
						
							
							
								
								Fix support icon on Linux when system icon is present  
							
							
							
						 
						
							2022-01-22 18:39:53 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								07f72c20eb 
								
							 
						 
						
							
							
								
								Change application icon only in support mode.  
							
							... 
							
							
							
							Fixes #23895 . 
							
						 
						
							2022-01-22 16:40:57 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								18e6e2da9e 
								
							 
						 
						
							
							
								
								Open specific chat only in one window.  
							
							
							
						 
						
							2022-01-04 19:36:33 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								8b0725650d 
								
							 
						 
						
							
							
								
								Move global event filter to Platform::Integration on Windows.  
							
							
							
						 
						
							2022-01-04 15:29:40 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Magnus Groß 
								
							 
						 
						
							
							
							
							
								
							
							
								c2b2d0a92a 
								
							 
						 
						
							
							
								
								Do not destroy drag after launchDrag()  
							
							... 
							
							
							
							On X11 we need to keep the QDrag around a little longer.
Right now, drag is scoped local to launchDrag() and will be destroyed
immediately when launchDrag() finishes. However for X11 we must keep the
drag object alive a little longer. It may only be destroyed once the
drag operation has been accepted by another window, otherwise drag and
drop is broken on Linux and no action happens when something is dragged
from Telegram into another window.
This is because there is still communication happening in the XDND
protocol once QDrag::exec() finishes. See the documentation for
reference: https://freedesktop.org/wiki/Specifications/XDND/ 
Fixes #17291  
							
						 
						
							2021-12-22 14:15:36 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								936d4004ff 
								
							 
						 
						
							
							
								
								Update controls geometry in MainWindow according to body changes  
							
							
							
						 
						
							2021-11-10 19:30:29 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								aef45b3a1d 
								
							 
						 
						
							
							
								
								Refactor icon unread counter painting.  
							
							
							
						 
						
							2021-11-02 20:12:57 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ilya Fedin 
								
							 
						 
						
							
							
							
							
								
							
							
								847c01d605 
								
							 
						 
						
							
							
								
								Add Qt 6 support  
							
							... 
							
							
							
							Tested only on Linux so far 
							
						 
						
							2021-10-21 13:15:00 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Preston 
								
							 
						 
						
							
							
							
							
								
							
							
								703ea9aacd 
								
							 
						 
						
							
							
								
								Apply scale keeping window center in place.  
							
							
							
						 
						
							2021-09-17 10:25:36 +03:00