From 3e6b9539aae9f7d6c3da49d4f4042fa133be9c44 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 1 May 2016 00:13:54 +0200 Subject: Patches for post Applications 16.04.0 bugs in kcalc and spectacle. spectacle: - fix broken HiDPI support. - fix broken rectangular image capture on Nvidia GPU. kcalc: - Fix issue where kcalc has a zero-sized window and appears not to start. --- kde/patch/spectacle/spectacle_hidpi.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 kde/patch/spectacle/spectacle_hidpi.patch (limited to 'kde/patch/spectacle/spectacle_hidpi.patch') diff --git a/kde/patch/spectacle/spectacle_hidpi.patch b/kde/patch/spectacle/spectacle_hidpi.patch new file mode 100644 index 0000000..19cf923 --- /dev/null +++ b/kde/patch/spectacle/spectacle_hidpi.patch @@ -0,0 +1,28 @@ +--- a/src/QuickEditor/EditorRoot.qml ++++ b/src/QuickEditor/EditorRoot.qml +@@ -36,10 +36,10 @@ + } + + selection = cropRectangle.createObject(parent, { +- "x": xx, +- "y": yy, ++ "x": xx, ++ "y": yy, + "height": hh, +- "width": ww ++ "width": ww + }); + + cropDisplayCanvas.requestPaint(); +@@ -73,8 +73,8 @@ + source: "image://snapshot/rawimage"; + cache: false; + +- height: Window.height; +- width: Window.width; ++ height: Window.height / Screen.devicePixelRatio; ++ width: Window.width / Screen.devicePixelRatio; + fillMode: Image.PreserveAspectFit; + } + + -- cgit v1.2.3