- Apr 24, 2018
-
-
Antti Kokko authored
Change-Id: I28be178f23f1dfd2f253daabe6772106c007eace Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
- Apr 21, 2018
-
-
Johan Klokkhammer Helsing authored
Since QWaylandSurface::size (public API) returns the buffer size in pixels and not the size in surface local coordinates, we need to also account for the surface buffer_scale in order to get surface local coordinates. Change-Id: I79a396c55b674b1ac42ca17e1e88e50c1506ce83 Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
- Apr 16, 2018
-
-
Allan Sandfeld Jensen authored
Change-Id: Ic4a8c64fa0e1b56a8d21316c96e3eeb3f20fb8b1 Reviewed-by:Johan Helsing <johan.helsing@qt.io>
-
- Mar 27, 2018
-
-
Johan Klokkhammer Helsing authored
Change-Id: Ia4118d5242e6bf6dfb703db76e53ea09fbc25041 Reviewed-by:Martin Smith <martin.smith@qt.io>
-
Johan Klokkhammer Helsing authored
Change-Id: Ibcaa85986764545128a18981e17dac9838606f69 Reviewed-by:Martin Smith <martin.smith@qt.io>
-
- Mar 26, 2018
-
-
Johan Klokkhammer Helsing authored
Change-Id: I8ad5f8ad60081647aef2472fea462f37ff62b8b4 Reviewed-by:
Topi Reiniö <topi.reinio@qt.io> Reviewed-by:
Martin Smith <martin.smith@qt.io>
-
Johan Klokkhammer Helsing authored
Change-Id: Ic6976f8368be7bbd61652fc1b62b6439d3509b81 Reviewed-by:
Topi Reiniö <topi.reinio@qt.io> Reviewed-by:
Martin Smith <martin.smith@qt.io>
-
- Mar 23, 2018
-
-
Johan Klokkhammer Helsing authored
Task-number: QTBUG-63411 Change-Id: I56c367a1801d215e93bf195332272cfee300cdd8 Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
- Mar 21, 2018
-
-
Paul Olav Tvete authored
Use the ivi-application protocol, since a compositor without a shell is not really a proper compositor. Use the IVI id to determine the position instead of generating a random position for each frame. Change-Id: I2ede824c656e4c2ef88117cf0f0b8d27ad80b6e2 Reviewed-by:Johan Helsing <johan.helsing@qt.io>
-
Johan Klokkhammer Helsing authored
Previously it would return the first pending configure instead of the last. This could sometimes cause sent state or size to get lost if handleFocusReceived() and one of the sendConfigure variants happened in rapid succession. Change-Id: I8cb379c4bcb7b05c027f7ede31e946ac5717d305 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-
Johan Klokkhammer Helsing authored
If a QWaylandQuickItem had gotten focus in other ways than through QWaylandQuickItem::takeFocus, then the keyboard focus would not be updated. Change-Id: I6b5ee6d33449f0048e1c44765c1723eaa82ffd69 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-
- Mar 20, 2018
-
-
Johan Klokkhammer Helsing authored
If a popup was shown without any input events happening first, it would cause nullptr dereferences in both xdg-shell v5 and v6. Fixes crashes in: - tst_QAccessibility::comboBoxTest - tst_QAccessibility::menuTest - tst_QWindow::touchInterruptedByPopup - tst_QFocusEvent::checkReason_Popup Task-number: QTBUG-67150 Change-Id: Ib3e06326f71e4ab5f74727cb4f79626a21c34d55 Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
- Mar 18, 2018
-
-
Johan Klokkhammer Helsing authored
Change-Id: Ibb7063e10cd99294025935d073a96a7e8bf6ea22 Reviewed-by:Martin Smith <martin.smith@qt.io>
-
- Mar 15, 2018
-
-
Johan Klokkhammer Helsing authored
Print a warning and return instead. Change-Id: I1db5109f633ee2dc7d252b387c207f474784da43 Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@liri.io> Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
-
Johan Klokkhammer Helsing authored
Change-Id: Ie9df312a1926ea5190f6e91268b8920ad519d794 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-
- Mar 13, 2018
-
-
Johan Klokkhammer Helsing authored
And not just the default one. Change-Id: I6debbda9ae249f5f9df914901dc60722253b7d09 Reviewed-by:Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-
- Mar 12, 2018
-
-
Johan Klokkhammer Helsing authored
Change-Id: Ic133b41bdcfb98418be4a0141f382734f1d5db85 Reviewed-by:Andy Nichols <andy.nichols@qt.io>
-
Johan Klokkhammer Helsing authored
Tests ivi surface creation and configuration. Task-number: QTBUG-66512 Change-Id: Idff60eb99eb34b7fce1c935bd036ef18a8f97d7c Reviewed-by:Andy Nichols <andy.nichols@qt.io>
-
- Mar 09, 2018
-
-
Johan Klokkhammer Helsing authored
Context creation would sometimes fail because of this. Change-Id: Icf73a42ee2bb984ebfc09b7ed98f094d544134b8 Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@liri.io> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
- Mar 08, 2018
-
-
Johan Klokkhammer Helsing authored
xdg-shell >= unstable v6 requires surfaces to be configured before buffers can be attached. Make sure to send a configure event when a compositor would normally do it. Task-number: QTBUG-66510 Change-Id: Icbff6ebaa597e858d92d621849aa0df7a8a976f3 Reviewed-by:Andy Nichols <andy.nichols@qt.io>
-
Johan Klokkhammer Helsing authored
Task-number: QTBUG-66689 Change-Id: Ifdf38a9ab73357fdbe61e77f0464b227ddd2e8ac Reviewed-by:Andy Nichols <andy.nichols@qt.io>
-
Johan Klokkhammer Helsing authored
Return false for the WindowActivation capability to ensure we don't run tests that require it. Change-Id: Ia24d6eef02d462a25f3d50597debda9e062b3955 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-
Johan Klokkhammer Helsing authored
Change-Id: I932cd20f17b5486a1161569c5e9a3feebabeee8e Reviewed-by:Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-
Johan Klokkhammer Helsing authored
A failed wl_display_connect should make the platform plugin fail gracefully. Add a test for it to make sure. Change-Id: I87a3d9ee151fcdb1bc6ad9ffba44ad5014ede005 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-
- Mar 07, 2018
-
-
Johan Klokkhammer Helsing authored
Change-Id: Ice040dad70d0bcaf8bd101da5956ae75e211fe91 Reviewed-by:Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-
- Mar 05, 2018
-
-
Johan Klokkhammer Helsing authored
Change-Id: Ic42119e47afc7bda72eb985fe86d1343a762c274 Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@liri.io> Reviewed-by:
David Edmundson <davidedmundson@kde.org>
-
Antonio Larrosa authored
Task-number: QTBUG-66867 Change-Id: Ibbe407fa3ac32141b52fa0086e9f1ebfd27052ba Done-with: Fabian Vogt <fvogt@suse.de> Reviewed-by:
Johan Helsing <johan.helsing@qt.io> Reviewed-by:
Jan Grulich <jgrulich@redhat.com>
-
Johan Klokkhammer Helsing authored
Hooks into what we already use for the window decorations. Task-number: QTBUG-58044 Change-Id: Idcd971f69d52a5bb760bb6bffb26e9f5bdd429df Reviewed-by:
Pier Luigi Fiorini <pierluigi.fiorini@liri.io> Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
-
- Mar 01, 2018
-
-
Johan Klokkhammer Helsing authored
Change-Id: I0aa381466ad48e47d87c8e3bcff3a162e91b13b3 Reviewed-by:Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-
- Feb 28, 2018
-
-
Johan Klokkhammer Helsing authored
The test is still skipped due to CI problems, though (QTBUG-65802). Task-number: QTBUG-66511 Change-Id: I79a67a80708de4cf2a7347a96c4b6344182d3ae0 Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
Johan Klokkhammer Helsing authored
Applied automatic fixes using clang-tidy's modernize-use-override. This adds the "override" keyword where it's possible and also removes the "virtual" keyword when redundant. Change-Id: I899950e5cf8782785d30a245a9c69c1720905d50 Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
Johan Klokkhammer Helsing authored
Initialize to nullptr to prevent undefined behavior. Change-Id: I7753c0be77a886d62ecb1cd7b86fc8c98340b0b8 Reviewed-by:
Paul Olav Tvete <paul.tvete@qt.io> Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
-
- Feb 27, 2018
-
-
Johan Klokkhammer Helsing authored
clang-tidy -p compile_commands.json $file \ -checks='-*,modernize-use-default-member-init,readability-redundant-member-init' \ -config='{CheckOptions: [{key: modernize-use-default-member-init.UseAssignment, value: "1"}]}' \ -header-filter='qtwayland' \ -fix Afterwards I ran search and replace on the diff to clean up some whitespace errors: - Replaced '(\n\+[^:\n]*)(:\s+\+\s+)' with '$1: ' - Replaced '(\n\+[^,\n]*)(,\s+\+\s+)' with '$1, ' - Replaced '\n\+\s*\n' with '\n' I also had to do some manual edits, because for some reason, this particular clang-tidy check doesn't trigger for some files. Change-Id: I3b3909bac4bf20108bbe8ad1e01bcc54236dae1b Reviewed-by:Shawn Rutledge <shawn.rutledge@qt.io>
-
- Feb 26, 2018
-
-
Johan Klokkhammer Helsing authored
[ChangeLog][QPA plugin] If we're unable to create a connection to the Wayland display, fail gracefully so other platform integrations can be tried instead. This also adds QWaylandIntegration::hasFailed() which can later be extended to report that the platform plugin is unusable for other reasons. I.e. no compatible shell extensions or similar. Task-number: QTBUG-59762 Change-Id: I0f1ae73982e2860814235c1a189741d130e1db3e Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
Johan Klokkhammer Helsing authored
Removes a lot of boiler-plate code and makes the two shells more similar. This also makes it easier to extend the shells with additional mocking functionality. Change-Id: I4a846b06eeda695527d7c5679df339beae983af6 Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
- Feb 21, 2018
-
-
Kari Oikarinen authored
QBackingStore had a pointer to TestWindow window, but it was destroyed only after the TestWindow was already deleted. Change-Id: Id8fe38277cf843d532f2d8c2fdbe1f69d0309a7f Reviewed-by:Johan Helsing <johan.helsing@qt.io>
-
Johan Klokkhammer Helsing authored
In QWaylandWindow::virtualSiblings, don't include screens that have not been added yet. I.e. QWaylandScreens for which QPlatformIntegration::screenAdded has not yet been called. There are two reasons why this crash wasn't covered by the removePrimaryScreen() test. First of all, the mock output didn't send wl_output.done events when updating the mode/geometry. These wayland events are what causes QWindowSystemInterface::handleScreenGeometryChange() to be called (where virtualSiblings are called). Furthermore, virtualSiblings is only called when the geometry actually changes, so add a new test that changes the screen geometry of the existing screen while a new one is being added (i.e. moves it to the right). Task-number: QTBUG-62044 Change-Id: I623fbf8799d21c6b9293e7120ded301277639cc6 Reviewed-by:
David Edmundson <davidedmundson@kde.org> Reviewed-by: Aleix Pol Reviewed-by:
Paul Olav Tvete <paul.tvete@qt.io>
-
Johan Klokkhammer Helsing authored
The test was flaky because we have a workaround for a bug in Weston where Weston fails to send the last wl_touch.frame event (QTBUG-36602). We've worked around it by letting our client handle the wl_touch.up event before the frame event if it's the last up event. This caused a race condition in our tests, though (which include the frame event). Because Q_TRY_COMPARE(window.touchEventCount, 1) would pass and the window was sometimes destroyed before the frame event had been sent by the compositor thread. Work around it by moving the touch testing before the pointer testing, so the surface is still alive when the compositor tries to send the frame event. That way the test will not be flaky, and will continue to work when we eventually remove the workaround in QWaylandInputDevice. Task-number: QTBUG-66537 Change-Id: I5673445682810e75343c6df2d1b2a4f1c1b21bcb Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
- Feb 20, 2018
-
-
Johan Klokkhammer Helsing authored
Applied automatic fixes using clang-tidy's modernize-use-nullptr, and some manual cleanup to prevent QFlag macros to be affected. Change-Id: I88f94390185bc6e6f23693b68723cd5710815ae6 Reviewed-by:Shawn Rutledge <shawn.rutledge@qt.io>
-
- Feb 18, 2018
-
-
Liang Qi authored
Conflicts: .qmake.conf Change-Id: I509ec9f1f76f7476885f520ae05d3d6f83996398
-