Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e368de008d | ||
|
|
58c5bb7247 | ||
|
|
f0a96d0aad | ||
|
|
ed3e37b06a | ||
|
|
83052ec056 | ||
|
|
398237b80e |
1
.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
vendored
1
.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
vendored
@@ -2,7 +2,6 @@
|
||||
name: Feature request
|
||||
description: Suggest an idea.
|
||||
labels: [enhancement]
|
||||
title: "[Feature Request] "
|
||||
body:
|
||||
- type: textarea
|
||||
attributes:
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
|
||||
ProcessorArchitecture="ARCHITECTURE"
|
||||
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
|
||||
Version="4.7.0.0" />
|
||||
Version="4.7.1.0" />
|
||||
<Properties>
|
||||
<DisplayName>Telegram Desktop</DisplayName>
|
||||
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
|
||||
|
||||
@@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 4,7,0,0
|
||||
PRODUCTVERSION 4,7,0,0
|
||||
FILEVERSION 4,7,1,0
|
||||
PRODUCTVERSION 4,7,1,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -62,10 +62,10 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Telegram FZ-LLC"
|
||||
VALUE "FileDescription", "Telegram Desktop"
|
||||
VALUE "FileVersion", "4.7.0.0"
|
||||
VALUE "FileVersion", "4.7.1.0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2014-2023"
|
||||
VALUE "ProductName", "Telegram Desktop"
|
||||
VALUE "ProductVersion", "4.7.0.0"
|
||||
VALUE "ProductVersion", "4.7.1.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
||||
@@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 4,7,0,0
|
||||
PRODUCTVERSION 4,7,0,0
|
||||
FILEVERSION 4,7,1,0
|
||||
PRODUCTVERSION 4,7,1,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -53,10 +53,10 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Telegram FZ-LLC"
|
||||
VALUE "FileDescription", "Telegram Desktop Updater"
|
||||
VALUE "FileVersion", "4.7.0.0"
|
||||
VALUE "FileVersion", "4.7.1.0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2014-2023"
|
||||
VALUE "ProductName", "Telegram Desktop"
|
||||
VALUE "ProductVersion", "4.7.0.0"
|
||||
VALUE "ProductVersion", "4.7.1.0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
||||
@@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
|
||||
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
|
||||
constexpr auto AppName = "Telegram Desktop"_cs;
|
||||
constexpr auto AppFile = "Telegram"_cs;
|
||||
constexpr auto AppVersion = 4007000;
|
||||
constexpr auto AppVersionStr = "4.7";
|
||||
constexpr auto AppVersion = 4007001;
|
||||
constexpr auto AppVersionStr = "4.7.1";
|
||||
constexpr auto AppBetaVersion = false;
|
||||
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
|
||||
|
||||
@@ -115,16 +115,7 @@ MainWindow::MainWindow(not_null<Window::Controller*> controller)
|
||||
|
||||
void MainWindow::initHook() {
|
||||
Platform::MainWindow::initHook();
|
||||
|
||||
QCoreApplication::instance()->installEventFilter(this);
|
||||
|
||||
// Non-queued activeChanged handlers must use QtSignalProducer.
|
||||
connect(
|
||||
windowHandle(),
|
||||
&QWindow::activeChanged,
|
||||
this,
|
||||
[=] { checkActivation(); },
|
||||
Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
void MainWindow::applyInitialWorkMode() {
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
|
||||
MainWidget *sessionContent() const;
|
||||
|
||||
void checkActivation();
|
||||
void checkActivation() override;
|
||||
[[nodiscard]] bool markingAsRead() const;
|
||||
|
||||
bool takeThirdSectionFromLayer();
|
||||
|
||||
@@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
*/
|
||||
#include "window/main_window.h"
|
||||
|
||||
#include "api/api_updates.h"
|
||||
#include "storage/localstorage.h"
|
||||
#include "platform/platform_specific.h"
|
||||
#include "ui/platform/ui_platform_window.h"
|
||||
@@ -512,9 +513,13 @@ void MainWindow::handleStateChanged(Qt::WindowState state) {
|
||||
}
|
||||
|
||||
void MainWindow::handleActiveChanged() {
|
||||
checkActivation();
|
||||
if (isActiveWindow()) {
|
||||
Core::App().windowActivated(&controller());
|
||||
}
|
||||
if (const auto controller = sessionController()) {
|
||||
controller->session().updates().updateOnline();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::handleVisibleChanged(bool visible) {
|
||||
|
||||
@@ -148,6 +148,8 @@ protected:
|
||||
void handleActiveChanged();
|
||||
void handleVisibleChanged(bool visible);
|
||||
|
||||
virtual void checkActivation() {
|
||||
}
|
||||
virtual void initHook() {
|
||||
}
|
||||
|
||||
|
||||
2
Telegram/ThirdParty/tgcalls
vendored
2
Telegram/ThirdParty/tgcalls
vendored
Submodule Telegram/ThirdParty/tgcalls updated: 92640c4db6...012f7a75ba
@@ -404,7 +404,7 @@ if customRunCommand:
|
||||
stage('patches', """
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 4b35c02c5e
|
||||
git checkout f61eb3406b
|
||||
""")
|
||||
|
||||
stage('msys64', """
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
AppVersion 4007000
|
||||
AppVersion 4007001
|
||||
AppVersionStrMajor 4.7
|
||||
AppVersionStrSmall 4.7
|
||||
AppVersionStr 4.7.0
|
||||
AppVersionStrSmall 4.7.1
|
||||
AppVersionStr 4.7.1
|
||||
BetaChannel 0
|
||||
AlphaVersion 0
|
||||
AppVersionOriginal 4.7
|
||||
AppVersionOriginal 4.7.1
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
4.7.1 (21.03.23)
|
||||
|
||||
- Fix media viewer with some system scale settings on Windows.
|
||||
- Fix calls on Linux.
|
||||
|
||||
4.7 (19.03.23)
|
||||
|
||||
- You can disable all resource-intensive animations and animated stickers and emoji.
|
||||
|
||||
Reference in New Issue
Block a user