diff mbox series

[meta-arago,master,PATCHv2] qtbase: remove serial event 0 handling

Message ID 20260424223749.2643202-2-rs@ti.com
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master,PATCHv2] qtbase: remove serial event 0 handling | expand

Commit Message

Randolph Sapp April 24, 2026, 10:37 p.m. UTC
From: Randolph Sapp <rs@ti.com>

Serial number 0 is perfectly valid, though maybe a little uncommon. It
shouldn't be treated differently or used to indicate a special event.

This project has a CLA that we haven't signed yet. Carry an local patch
until the upstream bug is resolved.

Bug: https://qt-project.atlassian.net/browse/QTBUG-146015
Signed-off-by: Randolph Sapp <rs@ti.com>
---

v2: whitespace as usual

 .../qt6-layer/recipes-qt/qt6/qtbase-arago.inc |  6 +++
 ...tdevice.cpp-remove-serial-0-handling.patch | 42 +++++++++++++++++++
 .../recipes-qt/qt6/qtbase_git.bbappend        |  4 ++
 3 files changed, 52 insertions(+)
 create mode 100644 meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase-arago.inc
 create mode 100644 meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase/0001-qwaylandinputdevice.cpp-remove-serial-0-handling.patch
 create mode 100644 meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_git.bbappend

Comments

PRC Automation April 24, 2026, 10:54 p.m. UTC | #1
meta-arago / na / 20260424223749.2643202-2-rs

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCHv2] qtbase: remove serial event 0 handling
- Submitter: From: <rs@ti.com>
From: Randolph Sapp <rs@ti.com>
+From: Randolph Sapp <rs@ti.com>
- Date: Date: Fri, 24 Apr 2026 17:37:50 -0500
+Date: Fri, 24 Apr 2026 15:14:26 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 1a4cda07c6ffd8e28770263becb9a74965e83ec8

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Pratham Deshmukh <p-deshmukh@ti.com>
- Commit Subject: tensorflow-lite: Fix file packaging for headers and symlinks
- Commit SHA: 480b57f06af61bc5ba01af73fc6d94463124e318

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: PASS
=========================================================
master
=====================
PASS



=========================================================
  yocto-check-layers: FAIL
=========================================================
master - FAIL
=====================
ERROR: ExpansionError during parsing <build-dir>/sources/oe-core/meta/recipes-bsp/barebox/barebox-tools.bb
diff mbox series

Patch

diff --git a/meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase-arago.inc b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase-arago.inc
new file mode 100644
index 00000000..3ac24295
--- /dev/null
+++ b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase-arago.inc
@@ -0,0 +1,6 @@ 
+FILESEXTRAPATHS:prepend := "${THISDIR}/qtbase:"
+
+SRC_URI:append = " \
+    file://0001-qwaylandinputdevice.cpp-remove-serial-0-handling.patch \
+"
+PR:append = ".arago0"
diff --git a/meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase/0001-qwaylandinputdevice.cpp-remove-serial-0-handling.patch b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase/0001-qwaylandinputdevice.cpp-remove-serial-0-handling.patch
new file mode 100644
index 00000000..4c1a0d40
--- /dev/null
+++ b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase/0001-qwaylandinputdevice.cpp-remove-serial-0-handling.patch
@@ -0,0 +1,42 @@ 
+From f10c63a7391adcf5c28c3378e9d72ee52b5bba97 Mon Sep 17 00:00:00 2001
+From: Randolph Sapp <rs@ti.com>
+Date: Fri, 24 Apr 2026 15:14:26 -0500
+Subject: [PATCH] qwaylandinputdevice.cpp: remove serial 0 handling
+
+Serial number 0 is perfectly valid, though maybe a little uncommon. It
+shouldn't be treated differently or used to indicate a special event.
+
+Signed-off-by: Randolph Sapp <rs@ti.com>
+Upstream-Status: Denied
+Bug: https://qt-project.atlassian.net/browse/QTBUG-146015
+
+Yet another CLA we won't sign.
+---
+ src/plugins/platforms/wayland/qwaylandinputdevice.cpp | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/src/plugins/platforms/wayland/qwaylandinputdevice.cpp b/src/plugins/platforms/wayland/qwaylandinputdevice.cpp
+index b9ca27e6f04..84b7457b0a1 100644
+--- a/src/plugins/platforms/wayland/qwaylandinputdevice.cpp
++++ b/src/plugins/platforms/wayland/qwaylandinputdevice.cpp
+@@ -237,9 +237,6 @@ void QWaylandInputDevice::Pointer::updateCursorTheme()
+
+ void QWaylandInputDevice::Pointer::updateCursor()
+ {
+-    if (mEnterSerial == 0)
+-        return;
+-
+     auto shape = seat()->mCursor.shape;
+
+     if (shape == Qt::BlankCursor) {
+@@ -882,7 +879,6 @@ void QWaylandInputDevice::Pointer::invalidateFocus()
+         disconnect(mFocus.data(), &QObject::destroyed, this, &Pointer::handleFocusDestroyed);
+         mFocus = nullptr;
+     }
+-    mEnterSerial = 0;
+ }
+
+ void QWaylandInputDevice::Pointer::releaseButtons()
+--
+2.53.0
+
diff --git a/meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_git.bbappend b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_git.bbappend
new file mode 100644
index 00000000..dcf0954f
--- /dev/null
+++ b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_git.bbappend
@@ -0,0 +1,4 @@ 
+QTBASE_ARAGO = ""
+QTBASE_ARAGO:arago = "qtbase-arago.inc"
+
+require ${QTBASE_ARAGO}