Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kwin5 for openSUSE:Factory checked 
in at 2023-05-11 12:32:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kwin5 (Old)
 and      /work/SRC/openSUSE:Factory/.kwin5.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kwin5"

Thu May 11 12:32:40 2023 rev:186 rq:1086126 version:5.27.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/kwin5/kwin5.changes      2023-04-12 
12:51:16.804819674 +0200
+++ /work/SRC/openSUSE:Factory/.kwin5.new.1533/kwin5.changes    2023-05-11 
12:33:03.426576540 +0200
@@ -1,0 +2,40 @@
+Wed May 10 18:58:02 UTC 2023 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Add patch to fix a rounding error with scaling (kde#459373):
+  * 0001-xcbutils-fix-nativeFloor.patch
+
+-------------------------------------------------------------------
+Tue May  9 13:44:09 UTC 2023 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Update to 5.27.5
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/plasma/5/5.27.5
+- Changes since 5.27.4:
+  * wayland: Avoid pointer warp if constraint region is invalid (kde#457021)
+  * cmake: Correct gbm version check
+  * kwineffects: Initialize m_reason
+  * screencast: Disable screencasting when a window closes (kde#469055)
+  * screencast: Do not push frames when not in a streaming state
+  * Use non-rotated physical size of an output when required
+  * ci: Pass --repeat until-pass to ctest
+  * platformsupport/scenes/opengl: filter out external formats properly
+  * effects/screenshot: Fix potentially leaking screenshot fds to child 
processes
+  * backends/drm: fix buffer orientation check for direct scanout
+  * plugins/screencast: Provide absolute timestamps
+  * Don't create Plasma activation feedback if StartupNotify is false
+  * effects/screenshot: Provide screenshot scale information
+  * effects/screenshot: Provide information about captured window or screen
+  * effects/screenshot: Introduce CaptureWorkspace
+  * screencast: Base the frame skippin on max_framerate
+  * screencast: Ensure we respect the negotiated framerate
+  * screencast: Offer the real framerate range we have available
+  * Blacklist Spectacle for all window open/close effects 
(kde#467890,kde#463105)
+  * backends/drm: set the scaling mode to none (kde#468235)
+  * screencast: Still set the size to 0 for cursor-only frames
+  * screencast: Improve how we communicate that a frame has just cursor info
+  * kcms/rules: fix invalid tooltip visible condition in rule items
+- Drop patches, now upstream:
+  * 0001-backends-drm-set-the-scaling-mode-to-none.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-backends-drm-set-the-scaling-mode-to-none.patch
  kwin-5.27.4.tar.xz
  kwin-5.27.4.tar.xz.sig

New:
----
  0001-xcbutils-fix-nativeFloor.patch
  kwin-5.27.5.tar.xz
  kwin-5.27.5.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kwin5.spec ++++++
--- /var/tmp/diff_new_pack.YVA1Da/_old  2023-05-11 12:33:04.290580786 +0200
+++ /var/tmp/diff_new_pack.YVA1Da/_new  2023-05-11 12:33:04.294580806 +0200
@@ -24,7 +24,7 @@
 %global wayland (0%{?suse_version} >= 1330)
 %bcond_without released
 Name:           kwin5
-Version:        5.27.4
+Version:        5.27.5
 Release:        0
 # Full Plasma 5 version (e.g. 5.8.95)
 %{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}}
@@ -40,7 +40,7 @@
 Source2:        plasma.keyring
 %endif
 # PATCH-FIX-UPSTREAM
-Patch1:         0001-backends-drm-set-the-scaling-mode-to-none.patch
+Patch1:         0001-xcbutils-fix-nativeFloor.patch
 # PATCH-FEATURE-OPENSUSE
 Patch101:       0001-Export-consistent-hostname-as-XAUTHLOCALHOSTNAME.patch
 BuildRequires:  extra-cmake-modules >= 0.0.11

++++++ 0001-xcbutils-fix-nativeFloor.patch ++++++
>From 2237391e979b2423462bb5eaf1fdf4c0876f7476 Mon Sep 17 00:00:00 2001
From: Xaver Hugl <xaver.h...@gmail.com>
Date: Wed, 10 May 2023 12:28:24 +0200
Subject: [PATCH] xcbutils: fix nativeFloor

The floor was not done in the X-native coordinate space but with double
scaling

BUG: 459373


(cherry picked from commit a48c98f5aba71fab8bc1e1d5dd18668833631920)
---
 src/utils/xcbutils.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils/xcbutils.cpp b/src/utils/xcbutils.cpp
index cea0ef7c89..9731f483c0 100644
--- a/src/utils/xcbutils.cpp
+++ b/src/utils/xcbutils.cpp
@@ -646,7 +646,7 @@ QSizeF fromXNative(const QSize &s)
 
 static qreal nativeFloor(qreal value)
 {
-    return std::floor(value / kwinApp()->xwaylandScale()) * 
kwinApp()->xwaylandScale();
+    return std::floor(value * kwinApp()->xwaylandScale()) / 
kwinApp()->xwaylandScale();
 }
 
 QRectF nativeFloor(const QRectF &rect)
-- 
2.40.1


++++++ kwin-5.27.4.tar.xz -> kwin-5.27.5.tar.xz ++++++
/work/SRC/openSUSE:Factory/kwin5/kwin-5.27.4.tar.xz 
/work/SRC/openSUSE:Factory/.kwin5.new.1533/kwin-5.27.5.tar.xz differ: char 27, 
line 1

Reply via email to