Hello community, here is the log from the commit of package kirigami2 for openSUSE:Factory checked in at 2018-12-05 09:39:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kirigami2 (Old) and /work/SRC/openSUSE:Factory/.kirigami2.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kirigami2" Wed Dec 5 09:39:52 2018 rev:20 rq:652225 version:5.52.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kirigami2/kirigami2.changes 2018-11-14 14:35:25.115207523 +0100 +++ /work/SRC/openSUSE:Factory/.kirigami2.new.19453/kirigami2.changes 2018-12-05 09:39:58.204929897 +0100 @@ -1,0 +2,6 @@ +Tue Nov 27 18:18:01 UTC 2018 - Fabian Vogt <fab...@ritter-vogt.de> + +- Add patch to workaround visual glitches with unaligned text (boo#1117346, kde#401174): + * 0001-make-sure-scroll-views-are-pixel-aligned.patch + +------------------------------------------------------------------- New: ---- 0001-make-sure-scroll-views-are-pixel-aligned.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kirigami2.spec ++++++ --- /var/tmp/diff_new_pack.6hBx9Z/_old 2018-12-05 09:39:58.740929311 +0100 +++ /var/tmp/diff_new_pack.6hBx9Z/_new 2018-12-05 09:39:58.740929311 +0100 @@ -31,6 +31,8 @@ Group: Development/Libraries/KDE URL: https://www.kde.org Source: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM +Patch1: 0001-make-sure-scroll-views-are-pixel-aligned.patch BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: kf5-filesystem BuildRequires: cmake(Qt5Core) >= 5.7.0 @@ -72,7 +74,7 @@ %lang_package %prep -%setup -q +%autosetup -p1 %build %cmake_kf5 -d build ++++++ 0001-make-sure-scroll-views-are-pixel-aligned.patch ++++++ >From 2b3b1f8423018d764d21905a98ba1473592985bc Mon Sep 17 00:00:00 2001 From: Marco Martin <notm...@gmail.com> Date: Mon, 26 Nov 2018 14:33:52 +0100 Subject: [PATCH] make sure scroll views are pixel aligned References: boo#1117346, kde#401174 --- src/controls/templates/private/ScrollView.qml | 2 ++ 1 file changed, 2 insertions(+) Index: kirigami2-5.52.0/src/controls/templates/private/ScrollView.qml =================================================================== --- kirigami2-5.52.0.orig/src/controls/templates/private/ScrollView.qml +++ kirigami2-5.52.0/src/controls/templates/private/ScrollView.qml @@ -113,6 +113,7 @@ MouseArea { //TODO: find a way to make flicking work on laptops with touch screen flickableItem.interactive = Settings.tabletMode; flickableItem.anchors.fill = flickableParent; + flickableItem.pixelAligned = true; scrollBarCreationTimer.restart(); } @@ -162,6 +163,7 @@ MouseArea { anchors { fill: parent } + pixelAligned: true contentWidth: root.contentItem ? root.contentItem.width : 0 contentHeight: root.contentItem ? root.contentItem.height : 0 }