summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-201-2/+2
| | | | | Change-Id: Iaf09ec104af191c29d549f793b5ee04861faa6a0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-191-2/+2
| | | | | Change-Id: I3f59f061354575fee4325f16711b60a20a60dded Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Allow to run wayland-scanner without --include-core-onlyVolker Krause2022-10-181-3/+6
| | | | | | | | | | | | There are Wayland protocols for which using this option doesn't result in compilable code. Examples are input-method-unstable-v1 and linux-dmabuf-v1. Change-Id: I06dea12dea1058fb6bd99522aa4278c36d271d4e Reviewed-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org> Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 01aa1fc3bf7c5dc48151c9199cc58b78cfe039c3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-181-2/+2
| | | | | Change-Id: I0981d1488c3d1831941b70cd70952fc9ed9fdcd5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-171-2/+2
| | | | | Change-Id: Ia1e9aa7c8f0ae109280a8e58890b65df107af55a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-141-2/+2
| | | | | Change-Id: Id697579bcf3d87a40c0be8ead5104f26d0ea1071 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-131-2/+2
| | | | | Change-Id: I65c4b8b966d04b4146b0fb61c809b00eea188db0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-071-2/+2
| | | | | Change-Id: I6ff76ef8f8902b6ce39ae8d15c2d64d976ff910a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-061-2/+2
| | | | | Change-Id: Idd5efd1721955a22a91b9ade16820026f7365134 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-10-031-2/+2
| | | | | Change-Id: Ib700cf8a622f6f314bdbf6a11c3af7162c5464fa Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-301-2/+2
| | | | | Change-Id: I4633b82fdef7df73b05907196191f96224cfc8b8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-291-2/+2
| | | | | Change-Id: Id784221d45eeb3d9d1b81db20c40c9d5beefa5df Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-281-2/+2
| | | | | Change-Id: Id35611fc9cac5e9d344632f4444e6ff26b05cf34 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-261-2/+2
| | | | | Change-Id: Ic020c1fe4462f641638826ac6c6442cab0648ea9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Call `finishDrag()` in `QWaylandDataDevice::dragSourceCancelled()`Fushan Wen2022-09-221-0/+1
| | | | | | | | | | | | | | Drags can either get finished or cancelled. If a drag is finished successfully we call finish on the QBasicDrag instance, which quits the nested event loop. This patch adds the connection for cancelled drags. See also: https://bugs.kde.org/show_bug.cgi?id=446111 Change-Id: Ib93040648da88a433d647c87adcb7a7fabcaef6c Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit c92282b865efcf8c571bb52b5f96d8ad260a1cda) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use CRLF line delimiter for text/uri-list dataAlexandros Frantzis2022-09-211-1/+1
| | | | | | | | | | | | | | | | | | According to RFC 2483, which describes text/uri-list, the line delimiter must be CRLF (instead of the currently used LF). Some applications strictly expect the CRLF delimiter and fail to properly parse the uri-list otherwise (e.g., WineX11/XWayland). https://datatracker.ietf.org/doc/html/rfc2483 5. The text/uri-list Internet Media Type The format of text/uri-list resources is: 3) As for all text/* formats, lines are terminated with a CRLF pair. Change-Id: I7c062224a9060028ab6293fdf172692ade28cca5 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit bd5b0a804b91b9fbd0ce44d5d6765e07d0a50b4f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Client: fix enlargening window position by margins sizeIlya Fedin2022-09-201-2/+1
| | | | | | | | | | | | | | | | In d89c8920f3b82dd2098971b5a66c4b9c75da5af0 it was changed to sum the current geometry with the margins. This makes Qt thinking that the window is moving on every configure request and makes the previous fix (5f8db38e49b5bee4962fa9ac048c23a3faae587b) actually no-op I'm not sure why it was changed as the commit is squashed, but I hope the intention wasn't to make Qt think the window is endlessly moving (exactly that happened though) Change-Id: I7cde12ea5548d59810e2631be2a0085f86d5c4b9 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 5bbe3ca7e0f437313718880ee7c61d4991c6d61c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-201-2/+2
| | | | | Change-Id: Ib69190868f35761fc2ad9b4c9088deb609140789 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-191-2/+2
| | | | | Change-Id: Ia1d6aab9d012ab4bf45c3fd62ef9c6839b89debe Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-161-2/+2
| | | | | Change-Id: I2c951e7375bee7525df3584058108f98d158381d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.4.1Jani Heikkinen2022-09-161-1/+1
| | | | | Change-Id: I1e27744fef05ab262e0f9812bd1abe8e17a0362f Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Client: skip building tests which cannot be run on webOSJanne Juntunen2022-09-151-16/+20
| | | | | | | | | | | | | WebOS developers have informed us via QTBUG-106114 that opening multiple (consecutive) windows from single webOS-QtWayland client is not supported and majority of our test cases try to do exactly that, causing a segmentation fault. Therefore we need to skip these tests. Fixes: QTBUG-106638 Change-Id: Ifbdb2cfb663f8eccd3d68e30445e2a0f39b11355 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit c11268131ccef9492d1c9f4261ac1b92a9a77e7e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-151-2/+2
| | | | | Change-Id: Ib9534d64b458f565ea92e27265d65c6acb3056f0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-141-2/+2
| | | | | Change-Id: I03826334d1d10ef40306e1989d9422fd516234e9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-131-2/+2
| | | | | Change-Id: Ia2ef5e8eccab7322e2e1f641918d715812002cd2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-121-2/+2
| | | | | Change-Id: Icefa0a9aa017c5aaa78b192ca9a82092125abb21 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-091-2/+2
| | | | | Change-Id: I413bb77896137ece57133c2591f78579845ee43e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-09-071-2/+2
| | | | | Change-Id: Ibeac0eced4075e3e5a0297a4da97c0e298442bbb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandv6.4.0-beta4Qt Submodule Update Bot2022-08-261-2/+2
| | | | | Change-Id: I9ef41a15cc542d147e2ced513735516bb12397fc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-251-2/+2
| | | | | Change-Id: I6db14c17b75eee53362ab55007892c10b1c49bf2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Coin: adjust compositor split rulesAntti Kokko2022-08-231-1/+2
| | | | | | | | | | | Due to changes in build configuration 'Qt6WaylandTextureSharing*.cmake' files need to be included in the compositor package. Task-number: QTBUG-105722 Change-Id: I03a0072227ce6d9cf85f01c523da516b27a577fc Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 461faf61dfb2b2bd61397eeec9ee208bfb01bec2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Client: add custom margins support to xdg popupsIlya Fedin2022-08-223-3/+11
| | | | | | | | | | | xdg_positioner operates in window content geometry (i.e. without shadows), so it's necessary to remove popup's and parent's shadow from position and size calculations. Change-Id: I997ba2c45ae341a09a8284226629e8107800e894 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 2a4dc215756ff2f3fe966a689eea4cf4c7b11b7d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-221-2/+2
| | | | | Change-Id: Iae162933ed14b2d44a7fa982fad5b7336b24346b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-181-2/+2
| | | | | Change-Id: I4231223eac8cafc636a239bfb801b93a6320bbbd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Avoid calling requestUpdate from wrong threadEskil Abrahamsen Blomfeldt2022-08-171-1/+5
| | | | | | | | | | | | | | | | | In certain circumstances, we can get to createDecoration() from the render thread (from QWaylandGLContext::makeCurrent) Calling requestUpdate() from this secondary thread would cause an assert, so we queue the call on the appropriate thread instead. This amends af7b60ade5c4be81cbc58eb18307c017d5594071. Fixes: QTBUG-105308 Change-Id: I4805265f39e24eb1464897532be2025bc3c27728 Reviewed-by: Inho Lee <inho.lee@qt.io> (cherry picked from commit a0c0b5b42335808c2222cbf72c1758e955731ed9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-161-2/+2
| | | | | Change-Id: Iee95b58eebfceac95e2813b994117b03338edd9f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-151-2/+2
| | | | | Change-Id: I17bd789985702cc65648134724d33877cd38aa39 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandv6.4.0-beta3Qt Submodule Update Bot2022-08-111-2/+2
| | | | | Change-Id: I2c7ecadbf3efed483b9a5f44b0c32832eec04619 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QWaylandGLContext: print the 0x prefix in error codeThiago Macieira2022-08-101-2/+2
| | | | | | | | | | So it's not ambiguous that this is hex, in messages like: "WARNING: QWaylandGLContext::makeCurrent: eglError: 3003" Change-Id: Ie4bb662dcb274440ab8bfffd1709ba0415c3d790 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit e05dff0abf4f97dceaeeb29c22f337d353d879ed) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-081-2/+2
| | | | | Change-Id: I0de6bce7574f57dcbe32dc7c9912ef0f4eda3690 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-08-021-2/+2
| | | | | Change-Id: I6b00fb27213c4db6e6369a0c16753be60dc9167b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Client: do not take decoration shadows into account when placing popupsJan Grulich2022-07-291-2/+2
| | | | | | | | | | | The anchor rectangle is relative to the window geometry, which according to xdg-shell specs shouldn't include invisible portions like shadows. This causes all popups be wrongly positioned when drop-shadows are used. Change-Id: Iac30ab264599f9898f3ddecd7f0c5f2aca824ad6 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 14c0293fe6e55317e8a645f6a156b5973190cd8e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-07-281-2/+2
| | | | | Change-Id: I126354499dd1a3106e429a05cb6d222cc4ea993b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix several more improperly placed #include mocThiago Macieira2022-07-281-2/+1
| | | | | | | | | | | | | | | Like commit qtbase/638893bea083b619b73b33a7dd5589fb2c4c4242. Script to find them: git grep -l '#include.*moc' \*.cpp \*.mm | \ xargs awk '/QT_BEGIN_NAMESPACE/ { i=1 } /QT_END_NAMESPACE/ { i=0 } /#include.*moc/ && i { print ARGV[ARGIND], $0 }' Change-Id: I6f936da6f6e84d649f70fffd17058fd05cfc5c6d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 10c9145a126ea5b1980edf8dabee6c8be6becd34) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-07-271-2/+2
| | | | | Change-Id: If1bf4d5efe0a362b136799e6b550ecafa7ab2675 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Only close popup in the the hiercharyWeng Xuetian2022-07-245-26/+127
| | | | | | | | | | | | | | | | | | Imagine following event sequences: 1. a tooltip is shown. activePopups = {tooltip} 2. user click menu bar to show the menu, QMenu::setVisible is called. now activePopups(tooltip, menu} 3. tooltip visibility changed to false. 4. closePopups() close both tooltip and menu. This is a common pattern under wayland that menu is shown as a invisible state. This patch tries to memorize the surface hierchary used to create the popup role. And only close those popups whose ancesotor is hidden. Change-Id: I78aa0b4e32a5812603e003e756d8bcd202e94af4 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit f8e3257e9b1e22d52e9c221c62b8d9b6dd1151a3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Keep toplevel windows in the top left corner of the screenDavid Redondo2022-07-224-1/+20
| | | | | | | | | | | | | | | | | | | We can't know the actual position of a window on the screen. This causes an issue when Widgets try to position a popup/menu absolutely and keep it on the screen when the screen geometry doesn't include (0,0). Instead report their positions always as the top left corner of the screen that they are on. This new behavior can be disabled for qt-shell or via an environment variable by users that rely on the old behavior. Fixes: QTBUG-85297 Change-Id: Iacb91cb03a0df87af950115760d2f41124ac06a3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: Aleix Pol Gonzalez <aleixpol@kde.org> (cherry picked from commit a46795a22e05722917c6ebc60ed01bebf49898ae) Reviewed-by: Ilya Fedin <fedin-ilja2010@ya.ru> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-07-201-2/+2
| | | | | Change-Id: I43aa5decae71850c1252b48bfdeb79b79a073f2d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Client: Expose a way to set window margins via native interfaceIlya Fedin2022-07-194-2/+40
| | | | | | | | | | | | | The lack of such API is a big hassle to me since a long time. All that time I was forced to have my own fork of the xdg-shell plugin in the application code in order to have shadows on Wayland with custom client-side decorations. I hope I won't have to maintain the fork anymore. Change-Id: Iaf498469843b5cac5c458049164065c4ef15877d Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit c9f355ebe8d8171c2de265c00780d7f39b580409) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtwaylandQt Submodule Update Bot2022-07-191-2/+2
| | | | | Change-Id: I4b1c6234ae3b8ddd4986272aa94b865e26ee3fba Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>