Blinking on resize or Ui updates on screen that have low frame rates.

This commit is contained in:
Julien Wadel 2024-03-29 14:36:21 +01:00
parent 311b8eec1a
commit 3243e0fe73
2 changed files with 10 additions and 2 deletions

View file

@ -4,12 +4,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 5.3.0 - undefined
### Added
- Screen Sharing
## 5.2.3 - 2024-03-29
### Fixed
- Call logs : incoming filter will not display missed calls.
- Call logs synchronization.
- URI handlers when mixing remote provisioning and call.
- Blinking on resize or Ui updates on screen that have low frame rates.
## 5.2.2 - 2024-03-11

View file

@ -265,10 +265,12 @@ bool App::setFetchConfig(QString filePath) {
App::App(int &argc, char *argv[])
: SingleApplication(argc, argv, true, Mode::User | Mode::ExcludeAppPath | Mode::ExcludeAppVersion) {
// Ignore vertical sync. This way, we avoid blinking on resizes(and other refresh steps like layouts etc.).
auto ignoreVSync = QSurfaceFormat::defaultFormat();
ignoreVSync.setSwapInterval(0);
QSurfaceFormat::setDefaultFormat(ignoreVSync);
connect(this, SIGNAL(applicationStateChanged(Qt::ApplicationState)), this,
SLOT(stateChanged(Qt::ApplicationState)));
setWindowIcon(QIcon(Constants::WindowIconPath));
char *tz = getenv("TZ");