diff mbox series

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

Message ID 20260424213220.2378279-1-rs@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master] qtbase: remove serial event 0 handling | expand

Commit Message

Randolph Sapp April 24, 2026, 9:32 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>
---
 .../qt6-layer/recipes-qt/qt6/qtbase-arago.inc |  4 ++
 ...tdevice.cpp-remove-serial-0-handling.patch | 42 +++++++++++++++++++
 .../recipes-qt/qt6/qtbase_git.bbappend        |  4 ++
 3 files changed, 50 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:35 p.m. UTC | #1
meta-arago / na / 20260424213220.2378279-1-rs

PRC Results: FAIL

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



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH] 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 16:32:20 -0500
+Date: Fri, 24 Apr 2026 15:14:26 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 600359b9bf611e9671aeef00d4f6a973f22d802f

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: FAIL
=========================================================
master
=====================
FAIL
    WARN: You might need a " " as the first character for the :append. (APPEND-2)
        meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase-arago.inc:3
            SRC_URI:append = "file://0001-qwaylandinputdevice.cpp-remove-serial-0-handling.patch"
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
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..9f03a370
--- /dev/null
+++ b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase-arago.inc
@@ -0,0 +1,4 @@ 
+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}