Hello community, here is the log from the commit of package libqt5-qtbase for openSUSE:Factory checked in at 2019-07-13 13:45:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old) and /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt5-qtbase" Sat Jul 13 13:45:20 2019 rev:98 rq:713347 version:5.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes 2019-06-28 16:32:04.954436952 +0200 +++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4615/libqt5-qtbase.changes 2019-07-13 13:59:49.314908555 +0200 @@ -1,0 +2,14 @@ +Wed Jul 3 18:57:26 UTC 2019 - Fabian Vogt <[email protected]> + +- Add patch to work around focus issues with VirtualBox + (boo#1140084, QTBUG-76742): + * 0001-Decrease-focusInTimer-timer-from-400-to-200.patch + +------------------------------------------------------------------- +Tue Jul 2 13:45:37 UTC 2019 - Fabian Vogt <[email protected]> + +- Link from Qt bindir into %_bindir, not the other way around to fix + applicationDirPath called from Qt binaries +- Add -qt5 suffix to all binaries in %_bindir + +------------------------------------------------------------------- New: ---- 0001-Decrease-focusInTimer-timer-from-400-to-200.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt5-qtbase.spec ++++++ --- /var/tmp/diff_new_pack.bRXkRA/_old 2019-07-13 13:59:50.646908148 +0200 +++ /var/tmp/diff_new_pack.bRXkRA/_new 2019-07-13 13:59:50.650908147 +0200 @@ -81,6 +81,8 @@ Patch51: 0002-Revert-Replace-absolute-Qt-lib-dir-in-.prl-files.patch Patch52: 0003-Revert-Fix-prl-replacements-if-libdir-is-in-QMAKE_DE.patch Patch53: 0001-Revert-qmake-link-qt-libraries-by-full-path.patch +# Workaround for QTBUG-76742, boo#1140084 +Patch60: 0001-Decrease-focusInTimer-timer-from-400-to-200.patch # patches 1000-2000 and above from upstream 5.13 branch # Patch1000: 0003-Add-an-ID-for-recognition-of-UGEE-tablets.patch # patches 2000-3000 and above from upstream 5.14/dev branch # @@ -962,19 +964,18 @@ # This is only for Apple platforms and has a python2 dep rm -r %{buildroot}%{libqt5_archdatadir}/mkspecs/features/uikit -# put all the binaries to %{_bindir}, add -qt5 suffix, and symlink them back to %_qt5_bindir +# Link all the binaries with -qt5 suffix to %{_bindir} mkdir -p %{buildroot}%{_bindir} pushd %{buildroot}%{libqt5_bindir} for i in * ; do case "${i}" in moc|qdbuscpp2xml|qdbusxml2cpp|qmake|rcc|syncqt|uic) - mv $i ../../../bin/${i}-qt5 - ln -s ../../../bin/${i}-qt5 . - ln -s ../../../bin/${i}-qt5 $i + ln -s %{libqt5_bindir}/$i %{buildroot}%{_bindir}/${i}-qt5 ;; *) - mv $i ../../../bin/ - ln -s ../../../bin/$i . + # No conflict with Qt4, so keep the original name for compatibility + ln -s %{libqt5_bindir}/$i %{buildroot}%{_bindir}/${i}-qt5 + ln -s %{libqt5_bindir}/$i %{buildroot}%{_bindir}/${i} ;; esac done ++++++ 0001-Decrease-focusInTimer-timer-from-400-to-200.patch ++++++ >From 75a6b34e363f20664828f2e276de468a2ad4c9a6 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <[email protected]> Date: Wed, 3 Jul 2019 20:55:27 +0200 Subject: [PATCH] Decrease focusInTimer timer from 400 to 200 Workaround for focus issues with VirtualBox (QTBUG-76742). --- src/plugins/platforms/xcb/qxcbwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index 9382488b74..a449ad8349 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -848,7 +848,7 @@ void QXcbWindow::doFocusOut() connection()->setFocusWindow(nullptr); relayFocusToModalWindow(); // Do not set the active window to nullptr if there is a FocusIn coming. - connection()->focusInTimer().start(400); + connection()->focusInTimer().start(200); } struct QtMotifWmHints { -- 2.22.0
