nextcloud-desktop/nextcloud-fix-HiDPI-window-size.patch
Atri Bhattacharya 3efc2ff874 - Update to version 3.13.3:
* Fix permanent freeze upon opening macOS VFS settings (gh#nextcloud/desktop#6894)
  * Remove Ubuntu Mantic, add Oracular (gh#nextcloud/desktop#6909)
  * Optimize Ubuntu/Debian build (gh#nextcloud/desktop#6910)
  * Fix clickable area of macOS VFS settings checkboxes (gh#nextcloud/desktop#6932)
  * Bugfix/backport kde fix 313 (gh#nextcloud/desktop#6800)
  * Fix visibility of info buttons and details when updater is disabled in general settings (gh#nextcloud/desktop#6931)
  * fix doc configuration file (gh#nextcloud/desktop#6953)
  * forward the redirected signal from QNetworkReply to detect them (gh#nextcloud/desktop#6972)
  * Fix crash: web flow credential dialog is deleted when closing it (gh#nextcloud/desktop#6976)
  * List sync folders in the file explorer with user's username (gh#nextcloud/desktop#6978)
  * Bugfix/signup with provider page (gh#nextcloud/desktop#6977)
  * prevent event loop reentrance when handling ENCRYPT socket requests (gh#nextcloud/desktop#6979)
  * Make multiple notifications text translatable (gh#nextcloud/desktop#6995)
  * Bugfix/delete readonly folders (gh#nextcloud/desktop#7014)
  * Bugfix/hide encrypt from context menu (gh#nextcloud/desktop#7018)
  * Bugfix/remove read only folders in read only folders (gh#nextcloud/desktop#7021)

OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=145
2024-08-27 05:05:46 +00:00

28 lines
1.1 KiB
Diff

Index: desktop-3.9.0/src/gui/main.cpp
===================================================================
--- desktop-3.9.0.orig/src/gui/main.cpp
+++ desktop-3.9.0/src/gui/main.cpp
@@ -65,6 +65,8 @@ int main(int argc, char **argv)
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
+ QApplication::setHighDpiScaleFactorRoundingPolicy(
+ Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#ifdef Q_OS_MAC
Mac::CocoaInitializer cocoaInit; // RIIA
#endif
Index: desktop-3.9.0/src/crashreporter/main.cpp
===================================================================
--- desktop-3.9.0.orig/src/crashreporter/main.cpp
+++ desktop-3.9.0/src/crashreporter/main.cpp
@@ -25,6 +25,8 @@
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
+ QApplication::setHighDpiScaleFactorRoundingPolicy(
+ Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#ifdef Q_OS_WIN
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
#endif // !Q_OS_WIN