From f42acb26fba9660c1bc441385709431771fe46c0 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 14 Oct 2016 14:02:44 +0200 Subject: fix namespaced build. *again* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3cbc3efdac61a9f329d0796c64885e6565bd0b77 Reviewed-by: Giulio Camuffo Reviewed-by: Jędrzej Nowacki --- src/client/global/qwaylandclientextension.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/global/qwaylandclientextension.h b/src/client/global/qwaylandclientextension.h index afb3f868f..3d80baaa1 100644 --- a/src/client/global/qwaylandclientextension.h +++ b/src/client/global/qwaylandclientextension.h @@ -40,6 +40,7 @@ #include #include +struct wl_interface; struct wl_registry; QT_BEGIN_NAMESPACE -- cgit v1.2.3 From e522b44dd3ba6a15d9bd0c9c7396027facff0d8f Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Mon, 10 Oct 2016 17:52:15 +0200 Subject: Client: Remove windows from keyboard focus list when destroyed This fixes the undefined behavior in tst_WaylandClient::touchDrag and mouseDrag Note: The test still fails if run twice in a row, but it appears to be deterministic. Task-number: QTBUG-56187 Change-Id: Ib45d82224f004d1324f2ce4d6b7df05ee36c04f5 Reviewed-by: Paul Olav Tvete (cherry picked from commit 0049240a2b7d8691f09224e1542919ddbbb0d864) Reviewed-by: Johan Helsing --- src/client/qwaylanddisplay.cpp | 6 ++++++ src/client/qwaylanddisplay_p.h | 3 ++- src/client/qwaylandwindow.cpp | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/client/qwaylanddisplay.cpp b/src/client/qwaylanddisplay.cpp index a5e61e28a..6e167f303 100644 --- a/src/client/qwaylanddisplay.cpp +++ b/src/client/qwaylanddisplay.cpp @@ -421,6 +421,12 @@ void QWaylandDisplay::handleKeyboardFocusChanged(QWaylandInputDevice *inputDevic mLastKeyboardFocus = keyboardFocus; } +void QWaylandDisplay::handleWindowDestroyed(QWaylandWindow *window) +{ + if (mActiveWindows.contains(window)) + handleWindowDeactivated(window); +} + void QWaylandDisplay::handleWaylandSync() { // This callback is used to set the window activation because we may get an activate/deactivate diff --git a/src/client/qwaylanddisplay_p.h b/src/client/qwaylanddisplay_p.h index f4fb3fa56..2864b357d 100644 --- a/src/client/qwaylanddisplay_p.h +++ b/src/client/qwaylanddisplay_p.h @@ -176,6 +176,7 @@ public: void handleWindowActivated(QWaylandWindow *window); void handleWindowDeactivated(QWaylandWindow *window); void handleKeyboardFocusChanged(QWaylandInputDevice *inputDevice); + void handleWindowDestroyed(QWaylandWindow *window); public slots: void blockingReadEvents(); @@ -217,7 +218,7 @@ private: uint32_t mLastInputSerial; QWaylandInputDevice *mLastInputDevice; QPointer mLastInputWindow; - QWaylandWindow *mLastKeyboardFocus; + QPointer mLastKeyboardFocus; QVector mActiveWindows; struct wl_callback *mSyncCallback; static const wl_callback_listener syncCallbackListener; diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp index eb9c14094..725645191 100644 --- a/src/client/qwaylandwindow.cpp +++ b/src/client/qwaylandwindow.cpp @@ -102,6 +102,8 @@ QWaylandWindow::QWaylandWindow(QWindow *window) QWaylandWindow::~QWaylandWindow() { + mDisplay->handleWindowDestroyed(this); + delete mWindowDecoration; if (isInitialized()) -- cgit v1.2.3 From 4b23163fb64a5a8d05320dd006962cf2bcefcd84 Mon Sep 17 00:00:00 2001 From: Jani Heikkinen Date: Fri, 21 Oct 2016 15:00:04 +0300 Subject: Add changes file for 5.7.1 Change-Id: I04f2b68c41c5a0946707956d2efbc4384797b807 Reviewed-by: Giulio Camuffo --- dist/changes-5.7.1 | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 dist/changes-5.7.1 diff --git a/dist/changes-5.7.1 b/dist/changes-5.7.1 new file mode 100644 index 000000000..d6a7092c2 --- /dev/null +++ b/dist/changes-5.7.1 @@ -0,0 +1,49 @@ +Qt 5.7.1 is a bug-fix release. It maintains both forward and backward +compatibility (source and binary) with Qt 5.7.0. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +http://doc.qt.io/qt-5/index.html + +The Qt version 5.7 series is binary compatible with the 5.6.x series. +Applications compiled for 5.6 will continue to run with 5.7. + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +Qt Wayland General +------- + +- Build no longer fails with QT_NO_ACCESSIBILITY defined +- Fixed source tarballs not compiling with --developer-build configure flag +- Namespaced builds no longer failing + +Qt Wayland QPA Plugin +------- + +- Fixed window decorations not being removed or added when toggling fullscreen +- Fixed drag and drop from the application to itself when running on Weston +- Improved the HIDPI support +- Fixed a crash when dragging a window with touch input and no pointer +- Fixed a crash on application exit +- Made it use the proper activation mechanism when using xdg_shell +- Fixed returning to the same window size when unmaximizing on xdg shell +- Fixed the window resize area being too big on the bottom and right edges +- Support for EGL_KHR_platform_wayland + +Qt Compositor API Tech Preview +------- + +- Added a minimal-qml example +- ShellSurfaceItem now sends unmaximize configure events with zero width and height for xdg_shell +- Added missing NOTIFY signal for the bufferLocked property +- Fixed touch release events getting stuck in some cases +- Fixed wrong key code of key events when control was pressed +- Popup fixes +- Drag-and-drop fixes -- cgit v1.2.3