- Add patch to fix/workaround scaling issues Qt 5.14.0 (kde#415421, boo#1160624):
* 0001-Set-QT_AUTO_SCREEN_SCALE_FACTOR-0-for-Qt-5.14-as-wel.patch OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=492
This commit is contained in:
parent
2e719c8d08
commit
0468c10c6f
@ -0,0 +1,31 @@
|
||||
From 73ffadbeda0e27689c995aa1576e1f773a329cc8 Mon Sep 17 00:00:00 2001
|
||||
From: Fabian Vogt <fabian@ritter-vogt.de>
|
||||
Date: Sat, 11 Jan 2020 17:19:50 +0100
|
||||
Subject: [PATCH] Set QT_AUTO_SCREEN_SCALE_FACTOR=0 for Qt >= 5.14 as well
|
||||
|
||||
It behaves differently than expected, so this is still needed.
|
||||
|
||||
https://bugs.kde.org/show_bug.cgi?id=415421
|
||||
---
|
||||
startkde/startplasma.cpp | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/startkde/startplasma.cpp b/startkde/startplasma.cpp
|
||||
index ffb67ffb2..5cc9ea1b3 100644
|
||||
--- a/startkde/startplasma.cpp
|
||||
+++ b/startkde/startplasma.cpp
|
||||
@@ -218,11 +218,9 @@ void runEnvironmentScripts()
|
||||
|
||||
void setupPlasmaEnvironment()
|
||||
{
|
||||
-#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
|
||||
//Manually disable auto scaling because we are scaling above
|
||||
//otherwise apps that manually opt in for high DPI get auto scaled by the developer AND manually scaled by us
|
||||
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "0");
|
||||
-#endif
|
||||
|
||||
qputenv("KDE_FULL_SESSION", "true");
|
||||
qputenv("KDE_SESSION_VERSION", "5");
|
||||
--
|
||||
2.23.0
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 12:10:11 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Add patch to fix/workaround scaling issues Qt 5.14.0 (kde#415421, boo#1160624):
|
||||
* 0001-Set-QT_AUTO_SCREEN_SCALE_FACTOR-0-for-Qt-5.14-as-wel.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 16:24:37 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
|
@ -50,6 +50,7 @@ Patch504: 0001-Add-suffix-to-the-wayland-session-s-name.patch
|
||||
Patch506: 0001-Revert-No-icons-on-the-desktop-by-default.patch
|
||||
# PATCH-FIX-OPENSUSE
|
||||
Patch507: lazy-sddm-theme.patch
|
||||
Patch508: 0001-Set-QT_AUTO_SCREEN_SCALE_FACTOR-0-for-Qt-5.14-as-wel.patch
|
||||
BuildRequires: breeze5-icons
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kf5-filesystem
|
||||
|
Loading…
x
Reference in New Issue
Block a user