public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/
Date: Sat, 16 May 2020 22:38:32 +0000 (UTC)	[thread overview]
Message-ID: <1589668642.193c5508f5340971f76baaf8d2255e4c86acf7d1.asturm@gentoo> (raw)

commit:     193c5508f5340971f76baaf8d2255e4c86acf7d1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat May 16 19:52:09 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat May 16 22:37:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193c5508

kde-plasma/plasma-desktop: Fix blurry icons in KColorSchemeEditor

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...op-5.18.5-KColorSchemeEditor-blurry-icons.patch | 44 ++++++++++++++++++++++
 .../plasma-desktop/plasma-desktop-5.18.5-r1.ebuild |  2 +
 2 files changed, 46 insertions(+)

diff --git a/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-KColorSchemeEditor-blurry-icons.patch b/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-KColorSchemeEditor-blurry-icons.patch
new file mode 100644
index 00000000000..17db7fc5b51
--- /dev/null
+++ b/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-KColorSchemeEditor-blurry-icons.patch
@@ -0,0 +1,44 @@
+From 2c46f28170c785f04fa396803037a608c8077025 Mon Sep 17 00:00:00 2001
+From: Matej Mrenica <matejm98mthw@gmail.com>
+Date: Wed, 6 May 2020 07:50:01 -0600
+Subject: Fix blurry icons in KColorSchemeEditor
+
+Summary:
+When using fractional scaling, bottom icons are blurred. This patch fixes the issue.
+
+BUG: 418165
+
+Test Plan:
+No side effects.
+
+Before:
+{F8289358}
+After:
+{F8289369}
+
+Reviewers: #plasma
+
+Subscribers: plasma-devel
+
+Tags: #plasma
+
+Differential Revision: https://phabricator.kde.org/D29481
+---
+ kcms/colors/editor/kcolorschemeeditor.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/kcms/colors/editor/kcolorschemeeditor.cpp b/kcms/colors/editor/kcolorschemeeditor.cpp
+index 774d66e..03caa51 100644
+--- a/kcms/colors/editor/kcolorschemeeditor.cpp
++++ b/kcms/colors/editor/kcolorschemeeditor.cpp
+@@ -28,6 +28,8 @@
+ 
+ int main(int argc, char* argv[])
+ {
++    // Fixes blurry icons with fractional scaling
++    QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
+     QApplication app(argc, argv);
+ 
+     KAboutData aboutData(
+-- 
+cgit v1.1

diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.18.5-r1.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-5.18.5-r1.ebuild
index 5b6539dfcd8..d017862200e 100644
--- a/kde-plasma/plasma-desktop/plasma-desktop-5.18.5-r1.ebuild
+++ b/kde-plasma/plasma-desktop/plasma-desktop-5.18.5-r1.ebuild
@@ -131,6 +131,8 @@ PATCHES=(
 	"${FILESDIR}/${P}-findxorgserver.patch" # in Plasma/5.19
 	"${FILESDIR}/${P}-override-include-dirs.patch" # downstream patch
 
+	"${FILESDIR}/${P}-KColorSchemeEditor-blurry-icons.patch" # in Plasma/5.18
+
 	# Fix animation duration w/ KDE Frameworks 5.70 (Plasma/5.19 backports):
 	# https://pointieststick.com/2020/05/10/why-the-animations-in-your-plasma-5-18-feel-slow-now-and-when-it-will-be-fixed/
 	"${FILESDIR}/${P}-fix-animate-in-animation.patch"


             reply	other threads:[~2020-05-16 22:38 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-16 22:38 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-15 15:35 [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-desktop/files/, kde-plasma/plasma-desktop/ Andreas Sturmlechner
2024-10-08 15:36 Andreas Sturmlechner
2023-11-12  9:21 Andreas Sturmlechner
2023-04-10 18:35 Andreas Sturmlechner
2023-03-22 23:01 Andreas Sturmlechner
2022-08-07 20:58 Andreas Sturmlechner
2022-05-29 20:44 Andreas Sturmlechner
2022-02-10 20:10 Andreas Sturmlechner
2022-01-25  9:49 Andreas Sturmlechner
2021-12-10 14:58 Andreas Sturmlechner
2021-02-18 19:56 Andreas Sturmlechner
2021-02-05 10:12 Andreas Sturmlechner
2021-01-24 19:44 Andreas Sturmlechner
2020-09-29 12:49 Andreas Sturmlechner
2020-08-18 17:49 Andreas Sturmlechner
2020-05-07 19:57 Andreas Sturmlechner
2019-12-17 23:49 Andreas Sturmlechner
2019-12-17 23:49 Andreas Sturmlechner
2018-10-04 12:23 Andreas Sturmlechner
2018-09-11 16:24 Andreas Sturmlechner
2018-05-18 22:53 Andreas Sturmlechner
2017-02-15 16:59 Johannes Huber
2017-01-08 14:24 Andreas Sturmlechner
2016-03-13 18:54 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1589668642.193c5508f5340971f76baaf8d2255e4c86acf7d1.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox