summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.5.3' in qt/qtwaylandv6.5.36.5.3Qt Submodule Update Bot2023-09-241-2/+2
| | | | | Change-Id: I87943b9f680b1cff2511686fcf9d50d6bddf1d79 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.3' in qt/qtwaylandQt Submodule Update Bot2023-09-211-2/+2
| | | | | Change-Id: I7ae66bbd2de04d0c801e0d70a5cf32572d2612a7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.3' in qt/qtwaylandQt Submodule Update Bot2023-09-211-2/+2
| | | | | Change-Id: I3c10056437cc77637135de6b96c2a5c435e316c7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.3' in qt/qtwaylandQt Submodule Update Bot2023-09-181-2/+2
| | | | | Change-Id: Ic7817aed7cee43831c85a2b6b2dcad2de95d8c85 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-09-141-2/+2
| | | | | Change-Id: I915bdde201117f62f18591bdc35e486d9b10f3d2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-09-121-2/+2
| | | | | Change-Id: I1bb85fd70f4c56f58906706a0414efb841b8acea Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-09-061-2/+2
| | | | | Change-Id: Iea3d492db07345efbdf3f2b7ea6d2ac72d4beb60 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Revert "Client: Send release button event on pointer leave"Liang Qi2023-09-062-8/+2
| | | | | | | | | | | | | This reverts commit 8235fa65fe033a94e7a44322d3502f25940092ec. It makes tests/manual/examples/widgets/draganddrop/puzzle not work, which does drag and drop in same app. Fixes: QTBUG-115757 Task-number: QTBUG-97037 Change-Id: I738769fde96f7da91f5bc4dc7a70ed49596dcd61 Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit 60647fa069ef4143642ae4c1b529ad2a7a7f2fd9)
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-09-041-2/+2
| | | | | Change-Id: I2367884db3d551a408679115a593198fd532cf95 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Only remove initialized extensions in ExtContainerInho Lee2023-09-041-0/+2
| | | | | | | | | Only initialized extensions should be in the extension_vector. Change-Id: I174c4eedae472aa5412c3f2b8a102adbc812fe40 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 3da1356f306860084cf0f6c673c02150fadcfb7a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-09-011-2/+2
| | | | | Change-Id: I61bfeaf1013175a218fd4248505df3c86c515fd5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-301-2/+2
| | | | | Change-Id: I329a016abf7be72e77098790d10397c854453070 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-291-2/+2
| | | | | Change-Id: Iae56e6ec2cc4687cc5c122c6c044339ab763f013 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-281-2/+2
| | | | | Change-Id: I2f3504245414e68a476ec86661f8111ed8aa1ea4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-251-2/+2
| | | | | Change-Id: Id9f6c6dbb620a74a3474aa84e5736131e44715a2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-241-2/+2
| | | | | Change-Id: Ie8d3a435b2afcb9223ddb12cd6dbac14d6438a06 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QWaylandDrag: Call into super class QBasicDrag::dropKai Uwe Broulik2023-08-241-4/+1
| | | | | | | | | | It's where, among other things, the override mouse cursor is reset. Otherwise the cursor stays a dragging hand indefinitely. Change-Id: I9e7a44e09d5806cd64e66ba7a7c96f2d24ec97fc Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit bdec910d775720dc2cd73833bfe9eefc73518dc8)
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-231-2/+2
| | | | | Change-Id: Id168bf7d86585f40ba96448f39074e86d7cf7fed Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-221-2/+2
| | | | | Change-Id: Ib8873b9139e321f208aa956273cc595520b57273 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-211-2/+2
| | | | | Change-Id: I51d63923e9c83bd72d1c0acdd7ccf9063f4ba08c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Client: Fix keyboard focus when closing a popupVlad Zahorodnii2023-08-172-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 325a2338976c3cca6278436af03e7bd4e4378d7c changed the order in which the shell surface and the QWaylandWindow::wlSurfaceDestroyed signal are ordered. Unfortunately, it broke popups with some compositors. When the wlSurfaceDestroyed signal is emitted, QWaylandInputDevice::Keyboard is going to reset its focused surface and call QWaylandDisplay::handleKeyboardFocusChanged(). QWaylandDisplay::handleKeyboardFocusChanged() is going to call QWaylandDisplay::handleWindowDeactivated(), it will make an async roundtrip to determine the current focused window. This is to batch leave and enter events. Since the wlSurfaceDestroyed signal is emitted before destroying the shell surface and the wl_surface, the compositor has no reason to change keyboard focus, so qtwayland will think that the app lost focus for good and close all popups. This change restores the old behavior by making QWaylandInputDevice::Keyboard connect to QWaylandSurface::destroyed signal, which is emitted after the window's wl_surface is gone. It also makes QWaylandInputDevice::Keyboard consistent with QWaylandInputDevice::Pointer. Fixes: QTBUG-116051 Change-Id: If866f94a0cec1659c27ffeb2d263a2480ca8fdf1 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 1da23c86d54cefa6f3bd4285658ed6dc7b3f5175) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-161-2/+2
| | | | | Change-Id: Ia985d10bc70b29b51274bdbed1a63305cb9f6576 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-141-2/+2
| | | | | Change-Id: Ia6ae6d0b21cf3d78f0819f43dd1ad704b6ec89e2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-111-2/+2
| | | | | Change-Id: Ic286d7a413ff1f2650eaf31fa94556f8a2b1211c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* client: Fix crash on dnd updates after client facing drag endsDavid Edmundson2023-08-091-0/+3
| | | | | | | | | | | | | | | | | | | A platform drag and a application-facing drag have two different lifespans. The platform drag lasts until all mimedata is transferred and the client receiving the drops marks it as finished. The application facing QDrag lasts until the client deletes it. We can get a crash if we get updates during this time. The drop event is guarded, but not the action negotiation. Fixes: QTBUG-115757 Change-Id: Ib9c047f04d65883105d4cd3f169637d0e038a63f Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 22daca49b807fefba58113a06b86df4274e49f62) Reviewed-by: David Edmundson <davidedmundson@kde.org>
* DefaultCompositor: use explcit lambda capturesMarc Mutz2023-08-071-3/+3
| | | | | | | | | | | | | | C++20 deprecates the capture of *this in [=], and using [&] in a connect() statement is a smell ("are we capturing local variables?"), so just be explicit about what variables we capture (it's mostly [this], anyway). Amends ddef100d9fa7014b21280b1380e6fbcef80277b3. Change-Id: Ia594ffd5c0b9e82c54aa67c74b0d59684aa92840 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit d979d17b9f5ac724b950d2277cc494db2c5b4335) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-041-2/+2
| | | | | Change-Id: I4b7558dae129f0bcee97f156c2542b8b77f9af41 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Client: Fix buffer damageVlad Zahorodnii2023-08-031-5/+15
| | | | | | | | | | | | | | | | | | | | | | | If the specified damage rectangle has fractional coordinates in the buffer local coordinate space, the buffer damage needs to be expanded, i.e. - bufferRect.left = floor(rect.left * scale) - bufferRect.right = ceil(rect.right * scale) = ceil((rect.x + rect.width) * scale) Flooring the coordinates and ceiling the size is not enough. It can produce incorrect results. For example, consider that a rectangle with logical coordinates of QRect(0, 23, 179, 46) has been damaged in a window with scale 1.5. When flooring the coordinates and ceiling the size, the following buffer damage rect will be produced: QRect(0, 34, 269, 69). Its height is off by 1, the expected height is 70 (ceil((23 + 46) * 1.5) - floor(23 * 1.5) = ceil(103.5) - floor(34.5) = 104 - 34 = 70). Change-Id: I927e75a2224bb58b4634125011d1305dbdfbb3aa Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit d79db699866b37bd3e3358ca18a210dfc5c0b4b9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-021-2/+2
| | | | | Change-Id: I689e4c4c42843b0ff0a062facf4d3b6795286292 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix C++20 deprecated capture of *this in [=]Marc Mutz2023-08-0213-134/+134
| | | | | | | | | | | | | The exec() function is synchronous, so we can just replace [=] with [&]. Manual conflict resolutions: - drop changes to code that was added after 6.5 Change-Id: I1b672b0ef456977fa0b898dff9c88f48765a3e41 Reviewed-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 3122811344cd5480b22523078accb39e2d657886)
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-08-011-2/+2
| | | | | Change-Id: Ibf08065c4e536c2e8437eb4805ff2a7171dbc97a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-07-281-2/+2
| | | | | Change-Id: I125aa715a983fad6fc38822cd99f72bbea9e250a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-07-171-2/+2
| | | | | Change-Id: Ibd7cf53bf54792f8492572757370d8ce4cd9fa5d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-07-141-2/+2
| | | | | Change-Id: I1f9051d69c8e0ff01540f03b3cf86518562db0e5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-07-131-2/+2
| | | | | Change-Id: I4e95717f5423409948c29c156504b7ed0d8176df Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix injecting key events in QML testsBernd Weimer2023-07-121-0/+2
| | | | | | | | | | | | | | Since QTBUG-110268 was fixed, injected key events by the TestCase QML type take a different code path and don't go through sendFullKeyEvent() any more that would map the key to a proper scan code, if not provided. The mapping has been added to the new path, as well. Fixes: QTBUG-115112 Change-Id: I79c7e7813b380daf586916eeca68acc4ab392872 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit fee9011f88e385081a211505067e7d83d4b8d66c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Fix qdoc link warningsAndreas Eliasson2023-07-051-1/+12
| | | | | | | | | Adding qtcmake and qtopengl as dependencies will fix the linking issues. Change-Id: Ibd42ad06e4ca869a0432cae033d7a29da3107dca Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit 820c146f3019429dcaff933afc08c38e8922799a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* client: no need to update decoration when shutting downLiang Qi2023-06-301-0/+3
| | | | | | | | Fixes: QTBUG-114995 Change-Id: If7eaefc8cc0778246f13604809740426bcffa9f8 Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit 0b47ed94be1a6a0167a5c288c90946f2a5066657) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* client: check nullptr before usageLiang Qi2023-06-282-2/+2
| | | | | | | | | | in QWaylandInputContext::textInput() and QWaylandInputMethodContext::textInputMethod() Fixes: QTBUG-114671 Change-Id: I10e55f6f817a4b4d78a0262f87580d2fa2743f7b Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 6c580d28a50effb5808d118f29e050d35ccf852a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* client: Use nullptr instead of 0 in QWaylandDisplayLiang Qi2023-06-281-1/+1
| | | | | | | Change-Id: I7c1f3a24e55d1825fd6c941cd55b51cf195836da Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit b665473085dc410fa229098a6cf0fc6a62845c19) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-06-221-2/+2
| | | | | Change-Id: I7aeb5f7a563bd3f88d038a9a92ff766d7d10010d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-06-151-2/+2
| | | | | Change-Id: I9c1eeea97746a9b58f2b94a14303e4e233b7cf98 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.5.3Jani Heikkinen2023-06-151-1/+1
| | | | | Change-Id: Ic24aec7999194628b2b6bf17e5c51c753e94a308 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Client: Allow runtime disabling of interfaces for debugging purposesDavid Edmundson2023-06-131-0/+5
| | | | | | | | | | | | | | | | When running it's useful to confirm things work correctly in various configurations. In particular testing how things behave without server side decorations is important on all changes. It's easier to make the client pretend the compositor didn't send anything than change the compositor every time. This also potentially makes unit tests simpler than having to change the mock compositor setup. Change-Id: Ide897d918384389009aa38c7030d5ac30fc837a6 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit cf07a7fd913d5a245d92254205b455fb27b8e3f3) Reviewed-by: David Edmundson <davidedmundson@kde.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-06-131-2/+2
| | | | | Change-Id: Ia99efb2cb9e6760d2958e30a1fdebfd08710bfc3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-06-121-2/+2
| | | | | Change-Id: I9905e5c4b3eebd3c0d58d0bc16954e83c579917c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwaylandQt Submodule Update Bot2023-06-091-2/+2
| | | | | Change-Id: I260f18eedeeb250b8099828e3b32815f0c59faa6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Use correct module identifiers in QML documentationTopi Reinio2023-06-0824-193/+193
| | | | | | | | | | | | | | | | | Multiple \qmlproperty, \qmlmethod, and \qmlsignal topics used an incorrect QML module identifier. With upcoming changes to QDoc these will start to generate documentation warnings. Fix the commands to either use the correct identifier, or remove the identifier as QDoc is capable of resolving the parent QML type without it. In passing, fix a documentation linking issue. Change-Id: I5a562acc5f135d36c036ea1c1cc56218c23833b8 Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io> (cherry picked from commit ab97eaea8b476cd6168527183a13c3c6dfbc5746) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Client: Manage QMimeData lifecycleTang Haixiang2023-06-084-13/+22
| | | | | | | | | | | | | | | | QMimeData is created by user, it is not taken care of in qtwayland, which will cause memory leak. It is now handled in qtwayland that when a new QMimeData is set, the previous QMimeData is freed. This is a backport of commit 3af40c6c42703a65656fdd3322183abb2905e44d which was submitted to dev / 6.6. In hindsight, it was decided it should have also gone to patch releases, hence this backport. Pick-to: 5.15 6.2 Change-Id: Ic502021fe700c7ee10454d94f0d1868901809af7 Reviewed-by: David Edmundson <davidedmundson@kde.org>
* Remove conanfile.pyTor Arne Vestbø2023-06-071-37/+0
| | | | | | | | | | The conan experiment has ended, and the file is only bitrotting nowadays. Change-Id: I59526f4cbbf91c63dbf08d816586df407dcda974 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 22ad18179e5175db0b56cf627eaeb806abc1133d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>