epel9
Marc Deop i Argemí 2 years ago
parent c5b694d39e
commit fe85347f3b

@ -1,27 +0,0 @@
From 07f6241cd73009c953d7467f5db917b332f9c125 Mon Sep 17 00:00:00 2001
From: Aleix Pol <aleixpol@kde.org>
Date: Mon, 20 Mar 2023 21:21:50 +0100
Subject: [PATCH] inputmethod: Properly report that it's not visible
Window::isShown only checks that it's not hidden, in this case it's not
that it's hidden it's that it's neither shown or hidden. Take the
readyForPainting attribute into account.
---
src/inputmethod.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/inputmethod.cpp b/src/inputmethod.cpp
index 8e256c38221..f2e33a10a06 100644
--- a/src/inputmethod.cpp
+++ b/src/inputmethod.cpp
@@ -946,7 +946,7 @@ void InputMethod::updateModifiersMap(const QByteArray &modifiers)
bool InputMethod::isVisible() const
{
- return m_panel && m_panel->isShown();
+ return m_panel && m_panel->isShown() && m_panel->readyForPainting();
}
bool InputMethod::isAvailable() const
--
GitLab

@ -16,8 +16,8 @@
%endif %endif
Name: kwin Name: kwin
Version: 5.27.3 Version: 5.27.4
Release: 2%{?dist} Release: 1%{?dist}
Summary: KDE Window manager Summary: KDE Window manager
# all sources are effectively GPLv2+, except for: # all sources are effectively GPLv2+, except for:
@ -37,8 +37,6 @@ URL: https://userbase.kde.org/KWin
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
## upstream patches ## upstream patches
# https://invent.kde.org/plasma/kwin/-/merge_requests/3844/diffs
Patch1: inputmethod-properly-report-that-its-not-visible.patch
## proposed patches ## proposed patches
@ -363,6 +361,9 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||:
%changelog %changelog
* Tue Apr 04 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.4-1
- 5.27.4
* Mon Mar 20 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.3-2 * Mon Mar 20 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.3-2
- Add patch from upstream - Add patch from upstream
- Fixes BZ#2180100 - Fixes BZ#2180100

@ -1 +1 @@
SHA512 (kwin-5.27.3.tar.xz) = 2a259bcd8bfc1bbc0b42fec9e58553560919681b95e5b6e03408e7ea046e63c9b527c85fbdf4dcdd5df82df8e4b2e6e1654c84c243c1f2564aaa593f2d970476 SHA512 (kwin-5.27.4.tar.xz) = 13e8abc5de4c1b76d078e9f98bba46362314d4a99008afa390dfc51ec1dcd5fe85cde38ac5e021f0ffff9060db038a0f9de84626c1135bacd781cd631904e247

Loading…
Cancel
Save