public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Grulich <jgrulich@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qt6-qtwayland] epel9: 6.10.0
Date: Thu, 08 Oct 2026 17:58:00 GMT [thread overview]
Message-ID: <179148228047.1.18207372422902814616.rpms-qt6-qtwayland-4147a7003ec2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/qt6-qtwayland
Branch : epel9
Commit : 4147a7003ec2c5a862b2ab5bc9097dc37e6a13c0
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2025-10-07T16:50:37+02:00
Stats : +80/-246 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/qt6-qtwayland/c/4147a7003ec2c5a862b2ab5bc9097dc37e6a13c0?branch=epel9
Log:
6.10.0
---
diff --git a/.gitignore b/.gitignore
index b661192..b39a0b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,3 +35,4 @@
/qtwayland-everywhere-src-6.9.1.tar.xz
/qtwayland-everywhere-src-6.9.2.tar.xz
/qtwayland-everywhere-src-6.10.0-rc.tar.xz
+/qtwayland-everywhere-src-6.10.0.tar.xz
diff --git a/qt6-qtwayland.spec b/qt6-qtwayland.spec
index ff9223d..f34269c 100644
--- a/qt6-qtwayland.spec
+++ b/qt6-qtwayland.spec
@@ -1,7 +1,7 @@
%global qt_module qtwayland
-%global unstable 1
+#global unstable 0
%if 0%{?unstable}
%global prerelease rc
%endif
@@ -10,7 +10,7 @@
Summary: Qt6 - Wayland platform support and QtCompositor module
Name: qt6-%{qt_module}
-Version: 6.10.0%{?unstable:~%{prerelease}}
+Version: 6.10.0
Release: 1%{?dist}
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
@@ -25,9 +25,9 @@ Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submod
%endif
# Upstream patches
-# https://codereview.qt-project.org/c/qt/qtbase/+/656190 [Qt 6.10]
-# FIXME: disabled because of https://bugs.kde.org/show_bug.cgi?id=506316
-# Patch0: qtwayland-add-pointer-warp-support.patch
+# https://codereview.qt-project.org/c/qt/qtwayland/+/678263
+Patch0: qtwaylandadwaitadecoration-unify-window-border-into-single-path.patch
+
# Upstreamable patches
# filter qml provides
@@ -72,6 +72,13 @@ Requires: wayland-devel%{?_isa}
%description devel
%{summary}.
+%package adwaita-decoration
+Summary: Qt decoration plugin implementing Adwaita-like client-side decorations
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Supplements: (qt6-qtbase and gnome-shell)
+%description adwaita-decoration
+%{summary}.
+
%if 0%{?examples}
%package examples
Summary: Programming examples for %{name}
@@ -122,7 +129,6 @@ popd
%{_qt6_libdir}/libQt6WaylandCompositorWLShell.so.6*
%{_qt6_libdir}/libQt6WaylandCompositorXdgShell.so.6*
%{_qt6_libdir}/libQt6WaylandEglCompositorHwIntegration.so.6*
-%{_qt6_plugindir}/wayland-decoration-client/
%{_qt6_plugindir}/wayland-graphics-integration-server
%{_qt6_plugindir}/wayland-shell-integration
%{_qt6_qmldir}/QtWayland/
@@ -181,12 +187,18 @@ popd
%{_qt6_libdir}/qt6/modules/*.json
%{_qt6_libdir}/pkgconfig/*.pc
+%files adwaita-decoration
+%{_qt6_plugindir}/wayland-decoration-client/libadwaita.so
+
%if 0%{?examples}
%files examples
%{_qt6_examplesdir}/wayland/
%endif
%changelog
+* Tue Oct 07 2025 Jan Grulich <jgrulich@redhat.com> - 6.10.0-1
+- 6.10.0
+
* Thu Sep 25 2025 Jan Grulich <jgrulich@redhat.com> - 6.10.0~rc-1
- 6.10.0 RC
diff --git a/qtwayland-add-pointer-warp-support.patch b/qtwayland-add-pointer-warp-support.patch
deleted file mode 100644
index c4fd993..0000000
--- a/qtwayland-add-pointer-warp-support.patch
+++ /dev/null
@@ -1,239 +0,0 @@
-From e4b1775861aeafbbea417cba13ee84664f7f8d87 Mon Sep 17 00:00:00 2001
-From: Xaver Hugl <xaver.hugl@kde.org>
-Date: Mon, 16 Jun 2025 18:08:23 +0300
-Subject: [PATCH] wayland: Add pointer warp support
-
-This supports partial usage of QCursor::setPos to move the mouse cursor.
-
-The wayland protocol only supports moving the cursor within the bounds
-of the window with pointer focus. Co-ordinates are mapped from global
-space to be relative to the focussed window.
-
-[ChangeLog][Third-Party Code] New protocol synced from wayland-protocols
-
-Fixes: QTBUG-127077
-Change-Id: Ic10142b2771fc9e6afc723b115b1b013a671e711
-Reviewed-by: David Redondo <qt@david-redondo.de>
-(cherry picked from commit 91ef07052720b01478e82860798feac5fc76ebd2)
-Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
----
-
-diff --git a/src/3rdparty/protocol/pointer-warp/REUSE.toml b/src/3rdparty/protocol/pointer-warp/REUSE.toml
-new file mode 100644
-index 0000000..61332b7
---- /dev/null
-+++ b/src/3rdparty/protocol/pointer-warp/REUSE.toml
-@@ -0,0 +1,10 @@
-+version = 1
-+
-+[[annotations]]
-+path = "pointer-warp-v1.xml"
-+precedence = "closest"
-+SPDX-FileCopyrightText = ["Copyright © 2024 Neal Gompa",
-+ "Copyright © 2024 Xaver Hugl",
-+ "Copyright © 2024 Matthias Klumpp",
-+ "Copyright © 2024 Vlad Zahorodnii"]
-+SPDX-License-Identifier = "MIT"
-diff --git a/src/3rdparty/protocol/pointer-warp/pointer-warp-v1.xml b/src/3rdparty/protocol/pointer-warp/pointer-warp-v1.xml
-new file mode 100644
-index 0000000..158dad8
---- /dev/null
-+++ b/src/3rdparty/protocol/pointer-warp/pointer-warp-v1.xml
-@@ -0,0 +1,72 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<protocol name="pointer_warp_v1">
-+ <copyright>
-+ Copyright © 2024 Neal Gompa
-+ Copyright © 2024 Xaver Hugl
-+ Copyright © 2024 Matthias Klumpp
-+ Copyright © 2024 Vlad Zahorodnii
-+
-+ Permission is hereby granted, free of charge, to any person obtaining a
-+ copy of this software and associated documentation files (the "Software"),
-+ to deal in the Software without restriction, including without limitation
-+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
-+ and/or sell copies of the Software, and to permit persons to whom the
-+ Software is furnished to do so, subject to the following conditions:
-+ The above copyright notice and this permission notice (including the next
-+ paragraph) shall be included in all copies or substantial portions of the
-+ Software.
-+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-+ DEALINGS IN THE SOFTWARE.
-+ </copyright>
-+
-+ <interface name="wp_pointer_warp_v1" version="1">
-+ <description summary="reposition the pointer to a location on a surface">
-+ This global interface allows applications to request the pointer to be
-+ moved to a position relative to a wl_surface.
-+
-+ Note that if the desired behavior is to constrain the pointer to an area
-+ or lock it to a position, this protocol does not provide a reliable way
-+ to do that. The pointer constraint and pointer lock protocols should be
-+ used for those use cases instead.
-+
-+ Warning! The protocol described in this file is currently in the testing
-+ phase. Backward compatible changes may be added together with the
-+ corresponding interface version bump. Backward incompatible changes can
-+ only be done by creating a new major version of the extension.
-+ </description>
-+
-+ <request name="destroy" type="destructor">
-+ <description summary="destroy the warp manager">
-+ Destroy the pointer warp manager.
-+ </description>
-+ </request>
-+
-+ <request name="warp_pointer">
-+ <description summary="reposition the pointer">
-+ Request the compositor to move the pointer to a surface-local position.
-+ Whether or not the compositor honors the request is implementation defined,
-+ but it should
-+ - honor it if the surface has pointer focus, including
-+ when it has an implicit pointer grab
-+ - reject it if the enter serial is incorrect
-+ - reject it if the requested position is outside of the surface
-+
-+ Note that the enter serial is valid for any surface of the client,
-+ and does not have to be from the surface the pointer is warped to.
-+
-+ </description>
-+ <arg name="surface" type="object" interface="wl_surface"
-+ summary="surface to position the pointer on"/>
-+ <arg name="pointer" type="object" interface="wl_pointer"
-+ summary="the pointer that should be repositioned"/>
-+ <arg name="x" type="fixed"/>
-+ <arg name="y" type="fixed"/>
-+ <arg name="serial" type="uint" summary="serial number of the enter event"/>
-+ </request>
-+ </interface>
-+</protocol>
-diff --git a/src/3rdparty/protocol/pointer-warp/qt_attribution.json b/src/3rdparty/protocol/pointer-warp/qt_attribution.json
-new file mode 100644
-index 0000000..83cd73c
---- /dev/null
-+++ b/src/3rdparty/protocol/pointer-warp/qt_attribution.json
-@@ -0,0 +1,17 @@
-+[
-+ {
-+ "Id": "wayland-pointer-warp-protocol",
-+ "Name": "Wayland Pointer Warp Protocol",
-+ "QDocModule": "qtwaylandcompositor",
-+ "QtUsage": "Used in the Qt Wayland platform plugin",
-+ "Files": "pointer-warp-v1.xml",
-+ "Description": "",
-+ "Homepage": "https://wayland.freedesktop.org",
-+ "Version": "version 1",
-+ "DownloadLocation": "https://cgit.freedesktop.org/wayland/wayland-protocols/plain/staging/pointer-warp/pointer-warp-v1.xml",
-+ "LicenseId": "MIT",
-+ "License": "MIT License",
-+ "LicenseFile": "../MIT_LICENSE.txt",
-+ "Copyright": "Copyright © 2024 Neal Gompa\nCopyright © 2024 Xaver Hugl\nCopyright © 2024 Matthias Klumpp\nCopyright © 2024 Vlad Zahorodnii"
-+ }
-+]
-diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt
-index 9b1c84f..79d070c 100644
---- a/src/client/CMakeLists.txt
-+++ b/src/client/CMakeLists.txt
-@@ -121,6 +121,7 @@ qt6_generate_wayland_protocol_client_sources(WaylandClient
- ${CMAKE_CURRENT_SOURCE_DIR}/../extensions/touch-extension.xml
- ${CMAKE_CURRENT_SOURCE_DIR}/hardwareintegration/../../extensions/hardware-integration.xml
- ${CMAKE_CURRENT_SOURCE_DIR}/hardwareintegration/../../extensions/server-buffer-extension.xml
-+ ${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/protocol/pointer-warp/pointer-warp-v1.xml
- )
-
- #### Keys ignored in scope 1:.:.:client.pro:<TRUE>:
-diff --git a/src/client/qwaylandcursor.cpp b/src/client/qwaylandcursor.cpp
-index 00b1d7d..7ac4fff 100644
---- a/src/client/qwaylandcursor.cpp
-+++ b/src/client/qwaylandcursor.cpp
-@@ -7,6 +7,7 @@
- #include "qwaylanddisplay_p.h"
- #include "qwaylandinputdevice_p.h"
- #include "qwaylandshmbackingstore_p.h"
-+#include "qwayland-pointer-warp-v1.h"
-
- #include <QtGui/private/qguiapplication_p.h>
- #include <qpa/qplatformtheme.h>
-@@ -335,8 +336,22 @@ QPoint QWaylandCursor::pos() const
-
- void QWaylandCursor::setPos(const QPoint &pos)
- {
-- Q_UNUSED(pos);
-- qCWarning(lcQpaWayland) << "Setting cursor position is not possible on wayland";
-+ if (mDisplay->pointerWarp()) {
-+ const auto seats = mDisplay->inputDevices();
-+ for (auto *seat : seats) {
-+ if (!seat->pointer() || !seat->pointer()->focusWindow()) {
-+ continue;
-+ }
-+ const auto focus = seat->pointer()->focusWindow();
-+ if (!focus->windowFrameGeometry().contains(pos)) {
-+ continue;
-+ }
-+ mDisplay->pointerWarp()->warp_pointer(focus->surface(), seat->pointer()->object(), wl_fixed_from_double(pos.x() - focus->windowFrameGeometry().x()), wl_fixed_from_double(pos.y() - focus->windowFrameGeometry().y()), seat->pointer()->mEnterSerial);
-+ return;
-+ }
-+ } else {
-+ qCWarning(lcQpaWayland) << "Setting cursor position requires pointer warp v1 protocol support";
-+ }
- }
-
- void QWaylandCursor::setPosFromEnterEvent(const QPoint &pos)
-diff --git a/src/client/qwaylanddisplay.cpp b/src/client/qwaylanddisplay.cpp
-index 3dd2c65..abe81cb 100644
---- a/src/client/qwaylanddisplay.cpp
-+++ b/src/client/qwaylanddisplay.cpp
-@@ -56,6 +56,7 @@
- #include <QtWaylandClient/private/qwayland-xdg-system-bell-v1.h>
- #include <QtWaylandClient/private/qwayland-xdg-toplevel-drag-v1.h>
- #include <QtWaylandClient/private/qwayland-wlr-data-control-unstable-v1.h>
-+#include <QtWaylandClient/private/qwayland-pointer-warp-v1.h>
-
- #include <QtCore/private/qcore_unix_p.h>
-
-@@ -810,6 +811,9 @@ void QWaylandDisplay::registry_global(uint32_t id, const QString &interface, uin
- inputDevice->setDataControlDevice(mGlobals.dataControlManager->createDevice(inputDevice));
- }
- #endif
-+ } else if (interface == QLatin1String(QtWayland::wp_pointer_warp_v1::interface()->name)) {
-+ mGlobals.pointerWarp.reset(new WithDestructor<QtWayland::wp_pointer_warp_v1, wp_pointer_warp_v1_destroy>(
-+ registry, id, 1));
- }
-
- mRegistryGlobals.append(RegistryGlobal(id, interface, version, registry));
-diff --git a/src/client/qwaylanddisplay_p.h b/src/client/qwaylanddisplay_p.h
-index 1a6a5ba..eca75ed 100644
---- a/src/client/qwaylanddisplay_p.h
-+++ b/src/client/qwaylanddisplay_p.h
-@@ -58,6 +58,7 @@ namespace QtWayland {
- class wp_viewporter;
- class xdg_system_bell_v1;
- class xdg_toplevel_drag_manager_v1;
-+ class wp_pointer_warp_v1;
- }
-
- namespace QtWaylandClient {
-@@ -226,6 +227,10 @@ public:
- {
- return mGlobals.appMenuManager.get();
- }
-+ QtWayland::wp_pointer_warp_v1 *pointerWarp() const
-+ {
-+ return mGlobals.pointerWarp.get();
-+ }
-
- struct RegistryGlobal {
- uint32_t id;
-@@ -363,6 +368,7 @@ private:
- std::unique_ptr<QtWayland::xdg_toplevel_drag_manager_v1> xdgToplevelDragManager;
- std::unique_ptr<QWaylandWindowManagerIntegration> windowManagerIntegration;
- std::unique_ptr<QWaylandAppMenuManager> appMenuManager;
-+ std::unique_ptr<QtWayland::wp_pointer_warp_v1> pointerWarp;
- } mGlobals;
-
- int mFd = -1;
diff --git a/qtwaylandadwaitadecoration-unify-window-border-into-single-path.patch b/qtwaylandadwaitadecoration-unify-window-border-into-single-path.patch
new file mode 100644
index 0000000..2451d90
--- /dev/null
+++ b/qtwaylandadwaitadecoration-unify-window-border-into-single-path.patch
@@ -0,0 +1,60 @@
+From 1672c05bbf36cb4e5ffe88234d9c4c849cd0c368 Mon Sep 17 00:00:00 2001
+From: Jan Grulich <jgrulich@redhat.com>
+Date: Thu, 18 Sep 2025 13:19:37 +0200
+Subject: [PATCH] QWaylandAdwaitaDecoration: unify window border into a single path
+
+We originally painted the decoration by splitting it to two parts. First
+part was the titlebar with rounded corners and second part was the rest
+of the window, basically to paint borders around the window. This had
+a side-effect, where part of the border was overpainted and causes an
+artifact when a transparent border is used.
+
+Pick-to: 6.10 6.9
+Change-Id: If7011c9c99e04e2362c8491c08cc7ba82b849378
+---
+
+diff --git a/src/plugins/decorations/adwaita/qwaylandadwaitadecoration.cpp b/src/plugins/decorations/adwaita/qwaylandadwaitadecoration.cpp
+index 1c0ca94..22e45d5 100644
+--- a/src/plugins/decorations/adwaita/qwaylandadwaitadecoration.cpp
++++ b/src/plugins/decorations/adwaita/qwaylandadwaitadecoration.cpp
+@@ -131,25 +131,33 @@
+ QPainterPath path;
+ const QPointF topLeft = { margins(ShadowsOnly).left() + 0.5,
+ margins(ShadowsOnly).top() - 0.5 };
+- const int titleBarWidth = surfaceRect.width() - margins(ShadowsOnly).left()
++ const int frameWidth = surfaceRect.width() - margins(ShadowsOnly).left()
+ - margins(ShadowsOnly).right() - 0.5;
+- const int borderRectHeight =
+- surfaceRect.height() - margins().top() - margins().bottom() + 0.5;
++ const int frameHeight = surfaceRect.height() - margins(ShadowsOnly).top()
++ - margins(ShadowsOnly).bottom() + 0.5;
++ const QRectF fullFrameRect = QRectF(topLeft, QSizeF(frameWidth, frameHeight));
+
+ // Maximized or tiled won't have rounded corners
+ if (waylandWindow()->windowStates() & Qt::WindowMaximized
+ || waylandWindow()->toplevelWindowTilingStates() != QWaylandWindow::WindowNoState) {
+- path.addRect(QRectF(topLeft, QSizeF(titleBarWidth, margins().top())));
++ path.addRect(fullFrameRect);
+ } else {
+- path.addRoundedRect(QRectF(topLeft, QSizeF(titleBarWidth, margins().top() + ceCornerRadius)),
+- ceCornerRadius, ceCornerRadius);
++ const QSizeF radiusRectSize = QSizeF(ceCornerRadius * 2, ceCornerRadius * 2);
++ path.moveTo(fullFrameRect.bottomLeft());
++ path.lineTo(fullFrameRect.topLeft() + QPointF(0, ceCornerRadius));
++ path.arcTo(QRectF(fullFrameRect.topLeft(), radiusRectSize), 180, -90);
++ path.lineTo(fullFrameRect.topRight() - QPointF(ceCornerRadius, 0));
++ path.arcTo(QRectF(fullFrameRect.topRight() - QPointF(ceCornerRadius * 2, 0),
++ radiusRectSize),
++ 90, -90);
++ path.lineTo(fullFrameRect.bottomRight());
++ path.closeSubpath();
+ }
+
+ p.save();
+ p.setPen(color(Border));
+ p.fillPath(path.simplified(), color(Background));
+ p.drawPath(path);
+- p.drawRect(QRectF(topLeft.x(), margins().top(), titleBarWidth, borderRectHeight));
+ p.restore();
+
+ /*
diff --git a/sources b/sources
index a136b87..4ccef0d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (qtwayland-everywhere-src-6.10.0-rc.tar.xz) = 3242a3df9b149060d1c132b791833f61e10506b0d7023a9e409c1fdb4d456c197bbd03725aa65b95d22bb7fa423b3af6306e1ed9fdade1643572666548822950
+SHA512 (qtwayland-everywhere-src-6.10.0.tar.xz) = 421fd79b3d10ffcfff9c04be73dbc23a91cae53728f6f03384f79744ec7ec997506e650c0f79f43d6121b80b71c94d0b24e0a57ef7178e4431eee6f2c4466bf4
reply other threads:[~2026-10-08 17:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=179148228047.1.18207372422902814616.rpms-qt6-qtwayland-4147a7003ec2@fedoraproject.org \
--to=jgrulich@redhat.com \
--cc=git-commits@fedoraproject.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