Hello community, here is the log from the commit of package fcitx-qt5 for openSUSE:Factory checked in at 2018-02-13 10:29:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fcitx-qt5 (Old) and /work/SRC/openSUSE:Factory/.fcitx-qt5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "fcitx-qt5" Tue Feb 13 10:29:40 2018 rev:14 rq:575530 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/fcitx-qt5/fcitx-qt5.changes 2017-12-19 10:58:57.180002013 +0100 +++ /work/SRC/openSUSE:Factory/.fcitx-qt5.new/fcitx-qt5.changes 2018-02-13 10:29:48.308225137 +0100 @@ -1,0 +2,7 @@ +Sat Feb 10 22:11:52 UTC 2018 - opensuse@trummer.xyz + +- update version 1.2.2 + * We already changed reset of code to use "isRelease" for + filterEventFallback. This check should be changed accordingly. + +------------------------------------------------------------------- Old: ---- fcitx-qt5-1.2.1.tar.xz New: ---- fcitx-qt5-1.2.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcitx-qt5.spec ++++++ --- /var/tmp/diff_new_pack.H6ajKt/_old 2018-02-13 10:29:50.000164173 +0100 +++ /var/tmp/diff_new_pack.H6ajKt/_new 2018-02-13 10:29:50.000164173 +0100 @@ -1,7 +1,7 @@ # # spec file for package fcitx-qt5 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: fcitx-qt5 -Version: 1.2.1 +Version: 1.2.2 Release: 0 Summary: Fcitx QT5 Input Context License: GPL-2.0+ AND GPL-3.0+ AND BSD-3-Clause Group: System/I18n/Chinese Url: https://github.com/fcitx/fcitx-qt5 -Source: http://download.fcitx-im.org/%{name}/%{name}-%{version}.tar.xz +Source: https://download.fcitx-im.org/%{name}/%{name}-%{version}.tar.xz Source99: baselibs.conf BuildRequires: cmake BuildRequires: extra-cmake-modules ++++++ fcitx-qt5-1.2.1.tar.xz -> fcitx-qt5-1.2.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcitx-qt5-1.2.1/platforminputcontext/qfcitxplatforminputcontext.cpp new/fcitx-qt5-1.2.2/platforminputcontext/qfcitxplatforminputcontext.cpp --- old/fcitx-qt5-1.2.1/platforminputcontext/qfcitxplatforminputcontext.cpp 2017-11-22 20:30:46.000000000 +0100 +++ new/fcitx-qt5-1.2.2/platforminputcontext/qfcitxplatforminputcontext.cpp 2018-01-25 00:54:09.000000000 +0100 @@ -19,6 +19,7 @@ */ #include <QDBusConnection> +#include <QDebug> #include <QGuiApplication> #include <QInputMethod> #include <QKeyEvent> @@ -64,15 +65,6 @@ return locale; } -struct xkb_context *_xkb_context_new_helper() { - struct xkb_context *context = xkb_context_new(XKB_CONTEXT_NO_FLAGS); - if (context) { - xkb_context_set_log_level(context, XKB_LOG_LEVEL_CRITICAL); - } - - return context; -} - static bool objectAcceptsInputMethod() { bool enabled = false; QObject *object = qApp->focusObject(); @@ -85,6 +77,15 @@ return enabled; } +struct xkb_context *_xkb_context_new_helper() { + struct xkb_context *context = xkb_context_new(XKB_CONTEXT_NO_FLAGS); + if (context) { + xkb_context_set_log_level(context, XKB_LOG_LEVEL_CRITICAL); + } + + return context; +} + QFcitxPlatformInputContext::QFcitxPlatformInputContext() : m_watcher(new FcitxWatcher(this)), m_cursorPos(0), m_useSurroundingText(false), @@ -705,7 +706,7 @@ if (!proxy->processKeyEventResult(*watcher)) { filtered = - filterEventFallback(sym, code, state, type == QEvent::KeyPress); + filterEventFallback(sym, code, state, type == QEvent::KeyRelease); } else { filtered = true; }