summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix link for documaentationEren Bursali5 days1-1/+1
| | | | | | | | | | Fixing link for https://doc-snapshots.qt.io/qt6-dev/qwebengineglobalsettingsdnsmode.html Change-Id: I78d9f78741ee1d750f2ec41a9e9329afadf2a787 Reviewed-by: Moss Heim <moss.heim@qt.io> (cherry picked from commit 654975edafe0b54a01057789dbf6186127d9e3ed) Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix Quick popup window positioning under X11Peter Varga2025-12-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | If the popup window has the Qt::Dialog flag, some window managers may try to resize and move the popup after it becomes visible. This can lead to a blinking popup or even worse, it can cause a loop that continuously moves the popup window. Replace Qt::Tool flag with Qt::Popup to get rid of the Qt::Dialog flag but keep popup as popup. Note on Wayland Qt:Tool is xdg toplevel not a 'popup' neither 'grabbing popup' and it creates shell surface. This means it will get random position on the screen. Note this tricky issue as we already changed that several times both for widgets and quick due to different reasons (see 1390979a, 2f720836, 58467ed19, 7e7dd2625, c56169f7a1) Fixes: QTBUG-140321 Task-number: QTBUG-132794 Task-number: QTBUG-138747 Change-Id: I8c3a94519008455fac2d8ab4c3bf34d860e2475b Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 65ea28e7204eaeb39588a33cfc2f69c48951aa6a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make html comoboxes great again (2/2)Michal Klocek2025-12-014-38/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is band-aid patch to handle QQuickWebEngineView transformations like scaling and rotation. Before this patch we used mapToGlobal to get viewGeometry however if the item is transformed by rotation and scaling the mapToGlobal will return something not expected by Chromium. Imagine: --------- ------- | aaaaa | | aaaa| | bbbbb | => rotates 90 => | bbbb| | ccccc | | cccc| --------- | | ------- So Chromium still 'thinks' that content is displayed horizontally and just window geometry changed. Moreover, mapToGlobal for rect QRectF(tl,rb) when this is rotated by 90 degree will return QRectF(tr,bl).nomralized() in global coordinates. This is not correct geometry. As band-aid solution for transform case, go with fixed view geometry of QRect(0,0,widith(),hight()) This will allow to Chromium get untransformed popup position, which we later transform in delegate. Fix and simplify transformation calculations in QQuickWindow delegate using just global screen coordinates. Note having fixed view geometry will have side effect like accessibility mappings broken or screen edge detection not working (if dropdown comobox can not be displayed due to screen border it is simply moved over the combobox filed) Therefore, this is just band-aid solution, which covers anyway rare use case of doing the QQuickWebview transformation within the scene. Tested with openbox, weston, mutter-wayland, mutter-xwayland. Change-Id: I3c2d662ccd093793da6b5e192d79c9e22e451789 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 452e0aaed82ee01833455ef4616fb59a9fc7fc2b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make html comoboxes great again (1/2)Michal Klocek2025-12-012-18/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During transition from Qt5 to Qt6, we moved some code to core and in 5d1ef38f9 we moved RWHV delegate to core. Before that change we used to feed chromium with geometry and frame geometry of delegated window and later in case of qquickwindow based delegate we did dome extra 'fixup' calculations to cover the fact that using geometry() for view geometry in screen coordinates did not include actual item delegate offset from the qml scene. However after the change we use simply mapToGlobal within the delegate for view geometry which already knows exact global coordinates for the item within the qml scene. In e2185036 we have fix for accessibility layout, however local coordinate mappings makes no sense as it will always return "0". this->mapFromItem(this,QPoint(0,0)) Use simply global coordinates here, and remove obsolete "fixup" calculation for offset in qquickwindow delegate. Note this patch does not care about rotated qquickwebengineview. The band-aid patch for that is in followup. Task-number: QTBUG-135040 Fixes: QTBUG-140321 Fixes: QTBUG-139709 Change-Id: I01266b42bc74120e39e2703db78c2b9c3548572f Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 68322bd57bd790d609e85599d3c524c9650e31c2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Notify about global mapping changes of QQuickWebEngineViewMichal Klocek2025-12-013-10/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chromium needs to be aware of view geometry changes. We do the sync in visualPropertiesChanged call, which in turn is called from item geometryChanged and itemChanged handlers. However, this approach is not sufficient to track global geometry changes as it only covers case where geometry change is local to item's parent. Therefore, we need watch the entire parent hierarchy to correctly handle global geometry change notifications. Note this issue only affects webenginequick as rwhv can have offset from the scene due to explicit position or anchoring within other items. Moreover, anchoring of child item can mean making offset in parent item. Add logic to track offset changes of parent items. Use 'polish' accumulate required notification and do visualPropertiesChanged() in updatePolish() call. Fixes: QTBUG-141476 Change-Id: Ia35a6f243624cb06b6b45f76abf8ba544790e2c0 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 85be04668e0d4f176ae44da772b9da58dff388e5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add sync between gpu thread and render's cleanup jobMichal Klocek2025-12-013-5/+23
| | | | | | | | | | | | | | The clean job can be scheduled too late and compositor can be already unbinded and deleted. This sadly can leak resources. Synchronize therefore gpu thread and render thread and wait for clean up job to unbind before unbinding the compositor. Task-number: QTBUG-141739 Pick-to: 6.9 Change-Id: I071cd244dc6169d6059b84500226a9175aded1f4 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 95edc4a066434ed7a8eafe3950d39b1d729d409a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Speculative deadlock fix in graphics resource clean-upMichal Klocek2025-12-011-33/+48
| | | | | | | | | | | | | | Do not move compositor handle, make a clean job a compositor observer instead. This prevents the deadlock. Fixes: QTBUG-141739 Fixes: QTBUG-141214 Pick-to: 6.9 6.8 Change-Id: Ic51ce467ec65ae3cb1ae556328cf8eb171fe59a0 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 14c000f45324a64afdc922d138ac2ab2cdbd4622) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumAllan Sandfeld Jensen2025-12-012-1/+1
| | | | | | | | | | | | Submodule src/3rdparty f9d3b37ec..031a10673: > [sbom] Fix SBOM generation for non-git builds > [Backport] Security bug 460017370 > [Backport] CVE-2025-13042: Inappropriate implementation in V8 Change-Id: Ie66af6ba3e5d454bcc38e873b785df63060f91e8 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit ca3caadaf40c0ed48cbc03449f08e7b8affc53f8) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QQuickWebEngineView: handle null qmlEngine in navigationRequested()Vladimir Belyavsky2025-11-271-1/+7
| | | | | | | | | | | | | | | | | Bail out earlier and do not crash in navigationRequested callback when qmlEngine is null. This may happen when using WebEngineView e.g. in a Loader, as the QML context data is cleared before the object is destroyed and accordingly, before we unsubscribe from the callback. Note this is band aid fix, as it is still unclear why this problem did not occur here before (e.g. with Qt 6.8.3). Task-number: QTBUG-137768 Change-Id: I33bbaf4240511d20f0b839317fb496fd5b270006 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 9359185c706d99e06fd432f0dae21d09e5016321) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Interrupt printing when QWEPage is destroyedMoss Heim2025-11-255-7/+27
| | | | | | | | | | | | | | | | | | | When a page is destroyed during printing, there is no view to emit printFinished() and yet the printer thread continues in the background until the job is finished. We can improve things somewhat by requesting an interrupt and exiting early in the printer worker thread. Then at least users do not wait around forever for the printer to be idle and deleteable. Add tests both for this case and basic printing with `print(QPrinter*)` Task-number: QTBUG-140232 Pick-to: 6.9 6.8 Change-Id: If43677b7ad8021d72dd945fd36c3263234692b95 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 06a7ed9e32906e7564ba612835459b02a64f56f0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use overridden user agent in the context of service workersSzabolcs David2025-11-062-0/+8
| | | | | | | | | | | Add the missing implementation of ContentBrowserClient::GetUserAgentBasedOnPolicy(). Task-number: QTBUG-140444 Change-Id: I0c4e1aa24690dc6ba4c524b97ce7e723b2933f42 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 9d112ae51e9360f28839d8a8d1cf7afd5d3accc9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CRA mark src/core [2/6]Kaloyan Chehlarski2025-11-0627-0/+29
| | | | | | | | | | | QUIP: 23 Fixes: QTBUG-138727 Pick-to: 6.9 6.8 Change-Id: Ib98e1057f3bbbb07ebe28be7181e1e26f8e2b56a Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ec1359c379acd1cbcc43ec0703f82d4045901104) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* NativeSkiaOutputDeviceOpenGL: Fix confusing warning about Vulkan texturePeter Varga2025-11-052-2/+7
| | | | | | | | | | | | | | | | | | | Previously, if dma_buf was not supported or allocating a GBM buffer object failed, we tried to fall back to a Vulkan texture, assuming the failure was due to GBM being disabled. However, this fallback would also fail because a Vulkan texture could not be generated, resulting in the confusing warning: "Backend texture is not a Vulkan texture." This change ensures that the warning is only issued if Chromium actually generated the texture using Vulkan, avoiding false fallback warnings. Pick-to: 6.8 Change-Id: I8866120e6641a1dce846b26f707dc04b489893a7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Moss Heim <moss.heim@qt.io> (cherry picked from commit 9f07c957de0a587a1b8b02a3f182dbbb092ddf1d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Update and extend "Hardware Acceleration"Peter Varga2025-11-051-7/+171
| | | | | | | | | Fixes: QTBUG-131546 Change-Id: If4a7a0ac0dafe1dc827667579a8d892a8e5162fe Reviewed-by: Moss Heim <moss.heim@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 6efb45e096cb111dc0eb5235234fed55095286de) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Docs: Fix linking of WebEngineDownloadRequest::SavePageFormatMichal Klocek2025-10-301-2/+2
| | | | | | | | | | Fix warning from qdoc, fix capitalization issues so links do work now. Change-Id: Iafcf63e47bdcc4192059f19fcbf6fbee892482d8 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit ae30e8ce6431605fcceff0ae8cb35a8934f8dfcf) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix QWebEngineDesktopMediaRequest registrationMichal Klocek2025-10-303-8/+10
| | | | | | | | | | | | | | | Qml type registration complains about "...nor a default- and copy-constructible Q_GADGET..." Therefore change to be value type, add default constructor. This amends 6f4315175d4c7846c0591954ed03b14d405c9a90. Fixes: QTBUG-141112 Change-Id: Ib230e3766bac2451d58da903ad1c1d44e5519862 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 5155a453f3c96d25ac90f0e14285afcec05a2dae) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Minor. Clean up qquickwebengineforeigntypesMichal Klocek2025-10-301-121/+110
| | | | | | | | | | | | | | | | | | | | | | Go through all foreign registered types and cleanup the code. Divide file into two sections: * qml object types * qml value type Use proper QML_VALUE_TYPE macro for registration, Add CREATE_DERIVED_FREIGN_NAMESPACE macro. Remove QML_UNCREATABLE as all value types should be default constructable. Note Fixes for QWebEngineDesktopMediaRequest are done in separete commit. Change-Id: I0dfbcffc28d58c7cf46b7b7805e4ff0623f17f42 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit ab20d0c1827b53394bcf53dc925e3ae9708fc491) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Minor. Fix doc typoMoss Heim2025-10-281-1/+1
| | | | | | | | | | 'name' instead of 'description'. Caught via warning from qdoc. Change-Id: I7cc65bc6b279c395759a4c4a12ea23620ccc9d8b Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 37315e6097c99719ca3a3f0a2ee4e64074a4ecc1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add chlid frame to qml api of webengineframeMichal Klocek2025-10-284-0/+22
| | | | | | | | | | It seems that children property was overlooked. Add it so it is posible to crawl the frame tree. Change-Id: Ie4e13ccbc695a4db3782ce2c993c74ebb3d1cc9a Reviewed-by: Moss Heim <moss.heim@qt.io> (cherry picked from commit 0e40da3e1bbb558f1c416f0965502e42919db7da) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Introduce QQuickWebEngineFrameMichal Klocek2025-10-288-19/+152
| | | | | | | | | | | | | | | | | | | | | QWebEngineFrame class includes QJsValue in its api, however to make it work it would require instance of Qml engine. In also means that using qwebenigneframe requires Qml module. Move the methods/logic to new class qquickwebengineframe, however keep the already added SMF and default constructor. Deprecate broken usage of functions taking QJsValue. This amends 3ee3548e4c663402848db3b1336bf56e7c6d327e. Task-number: QTBUG-139710 Change-Id: Ia45a52e9d8759f6a4641f8a121e8e05cd60c2eaf Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Moss Heim <moss.heim@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 21ca55da00e7c4f1cf85f96b4e75085032241f56) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Minor. Remove qml header from qwebengineframeMichal Klocek2025-10-281-1/+1
| | | | | | | | | | | | It seems that using qjsvalue in core make no so much sense as it needs qml engine. Remove the header so user app does not have direct qml dependency. Change-Id: Icdc5ace44488904151f2ef0b1d0db097f036a30b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 1ac574f63caec2d2070eeedc946da310d87f66be) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fallback to software rendering if both GBM and Vulkan are unavailableMarcell Brauner2025-10-201-8/+23
| | | | | | | | | Fixes: QTBUG-136160 Pick-to: 6.9 Change-Id: Ibc258c2c921294af5f69843022b52f2b66a0ec1b Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 3acc3ff4bce23e5f3377baad2b4774c450e3ca57) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix illegal iterator dereference in PermissionManagerQtKaloyan Chehlarski2025-10-161-24/+14
| | | | | | | | | | | | | | | | | The converter function between a list of Blink permissions and a list of Qt permissions, also does some permission merging in appropriate cases. The logic for this merging was broken, however, because it assumed the permissions would come in a specific order. This commit rewrites the whole function, removing the nested for-loops and potentially unsafe iterator dereferencing. Fixes: QTBUG-141096 Change-Id: If7d207a10a1fe7dd660c21b581ea1ca591fbd429 Reviewed-by: Moss Heim <moss.heim@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 35469ef67da3324b6784cb8c3b2a2b1652095f0d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Consider viewport coordinates for mouse eventsSakaria Pouke2025-10-131-2/+4
| | | | | | | | | | Fixes: QTBUG-131443 Pick-to: 6.8 Change-Id: I483be0d0ed6002ab334d4992169c66d086551841 Reviewed-by: Sami Varanka <sami.varanka@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> (cherry picked from commit d7d9b7b94b0ca1e8d79414e9161fe0da468eaa35) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Delete stale accessibility QObjectsMoss Heim2025-10-101-0/+2
| | | | | | | | | | | | | | | These objects are often parented to the QWebEngineView, but not cleaned up when changing pages, resulting in increasing memory usage over time. It should be safe to delete them after the associated accessibility node is deleted. Fixes: QTBUG-140234 Pick-to: 6.9 6.8 Change-Id: I215ca01aca10873b5ce86224d98907d41e6c8991 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Kaloyan Chehlarski <kaloyan.chehlarski@qt.io> (cherry picked from commit 9fad93e7f8215027ad6f2076be558e9386f6b8f1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix typos in coreMarcell Brauner2025-10-0922-32/+32
| | | | | | | | | Pick-to: 6.9 6.8 Change-Id: Ia8375615ade18fa1fea3bb42fb6dc560398166d3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Kaloyan Chehlarski <kaloyan.chehlarski@qt.io> (cherry picked from commit e4792cbbab8e66981c79694a4eb99e34af1f6410) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CRA mark src/webenginequickKaloyan Chehlarski2025-10-0646-3/+48
| | | | | | | | | | QUIP: 23 Fixes: QTBUG-138715 Pick-to: 6.9 6.8 Change-Id: Id3edb3400c98f2489cfada7edc8559110f57a3ca Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 49a943504f7179536be9d375b9382c21270fe90d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix user agent override when intercepting a redirectKaloyan Chehlarski2025-10-011-1/+7
| | | | | | | | | | | | | | | | When a redirect is followed, Chromium will inject the profile's default user agent string into the list of headers to modify for the redirect request. This effectively clears any user-provided user agent overrides. This change removes the User-Agent header from the list of modified headers, allowing the user-supplied one to be used instead. Fixes: QTBUG-140515 Pick-to: 6.9 6.8 Change-Id: I444a286cc5ca728a2d8abcd51eee69cf95a4e543 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ec2ad7c978ea86b0c03d8b0987f7421da40d75ff) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Ensure function-scope static variables are only initialized onceMoss Heim2025-09-302-29/+29
| | | | | | | | | | | | | | | Previously some static variables were initialized by checking the value after the variable was declared, without any guarding mutex. This could result in multiple threads performing the initialization simultaneously. In some cases the initialization was idempotent and innocuous, but the pattern should be avoided, when side effects are introduced there will be difficult-to-reproduce data races. Pick-to: 6.9 Change-Id: I536738dca102cfd1a2a59dd8156084e07ad1922b Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 9bd5625923733a96134fe2588233e4711736b35e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichael Brüning2025-09-292-1/+1
| | | | | | | | | | | | | | | | | | Submodule src/3rdparty 17b3b8b0..37c43c72: * Fixup [Backport] CVE-2025-10890: Side-channel information leakage in V8 (1/2) * Fixup for [Backport] CVE-2025-10892: Integer overflow in V8 * [Backport] Dependency for CVE-2025-10892 * [Backport] CVE-2025-10892: Integer overflow in V8 * [Backport] CVE-2025-10891: Integer overflow in V8 * [Backport] CVE-2025-10890: Side-channel information leakage in V8 (2/2) * [Backport] CVE-2025-10890: Side-channel information leakage in V8 (1/2) * [Backport] Roll src/third_party/ffmpeg/ 01f23648c..dcdd0fa51 (552 commits) Fixes: QTBUG-140630 Change-Id: I7089ae09de3d678b7f7b447eb7a679df81bbd253 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ed67fc197befa2a0c808beebf6eab921b299116c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CRA mark src/core [6/6]Kaloyan Chehlarski2025-09-2625-0/+25
| | | | | | | | | | QUIP: 23 Fixes: QTBUG-138731 Pick-to: 6.9 6.8 Change-Id: I5ed7d15332dea5e26e84b8f82339c0ba537ba660 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit eb100fdbddf65f98bb1da4b83a70307d0191a594) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CRA mark src/core [5/6]Kaloyan Chehlarski2025-09-2623-0/+24
| | | | | | | | | | QUIP: 23 Fixes: QTBUG-138730 Pick-to: 6.9 6.8 Change-Id: Iaff7ccc266691b16f403cbf02575aea8c287bcb0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 87c8958e766a870ae2458f7f0e8b947a225e5d1f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CRA mark src/core [4/6]Kaloyan Chehlarski2025-09-2627-0/+27
| | | | | | | | | | QUIP: 23 Fixes: QTBUG-138729 Pick-to: 6.9 6.8 Change-Id: If91f79fe9d2f8ef7278c99794ea74bc0ceb71d1e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit d7de61a253e77ecf3239755c2244fbc10093b06a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CRA mark src/core [3/6]Kaloyan Chehlarski2025-09-2627-0/+28
| | | | | | | | | | QUIP: 23 Fixes: QTBUG-138728 Pick-to: 6.9 6.8 Change-Id: I36a12aaaf01cd3c3e763c86d9065efae2b6ccbae Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit bad281f1bd65bb4becdd7fa0ddcd4b1d190ac430) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CRA mark src/core [1/6]Kaloyan Chehlarski2025-09-2624-0/+24
| | | | | | | | | | QUIP: 23 Fixes: QTBUG-138726 Pick-to: 6.9 6.8 Change-Id: Ieee01149fd953d712127b4e53e5056b47910a441 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ae9e9aab164006a3b6e34b9640f7c3c5a68173a4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* PdfSearchModel: change "not found in context" warning to qCDebugShawn Rutledge2025-09-241-1/+1
| | | | | | | | | | | It's noisy in practice. Pick-to: 6.8 Fixes: QTBUG-122766 Change-Id: I9c03ee6849568f6f52d55a0072becf11b9f8a50d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 8f05eaa6a91e12418e4268211d2e2c6052f52e3f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Docs: Fix webEngineDesktopMediaRequest docsMichal Klocek2025-09-232-11/+12
| | | | | | | | | | | The underling type is now a qml value, update docs accordingly. Pick-to: 6.10.0 Change-Id: Ic25b5055802d1b1fe8dcc4a920e9a74d5d0f484f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 3d984a0a8ed59ae43d01afedec494296e1fbed5d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Warn if --ignore-gpu-blocklist breaks rendering with MesaPeter Varga2025-09-231-6/+55
| | | | | | | | | | Task-number: QTBUG-139335 Pick-to: 6.9 Change-Id: Idf869dc434639315fc1ede3f73dd0a2f3bb9076d Reviewed-by: Moss Heim <moss.heim@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 2d334ae9d6a1cda9395babdb4aa0b9ea2fd24a55) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichael Brüning2025-09-222-1/+1
| | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 94daf4ca..17b3b8b0: * [Backport] CVE-2025-10502: Heap buffer overflow in ANGLE * [Backport] CVE-2025-10501: Use after free in WebRTC * [Backport] CVE-2025-10500: Use after free in Dawn * [Backport] CVE-2025-54874 * [Backport] Security bug 445380761 * [Backport] perfetto: tp: prepend to path when generating tp table headers * ANGLE: Don't hard-code toolchain path for metallib tool * [fixup] Adapt autofill component for WebEngine Note: Security bug 445380761 was assigned CVE-2025-10585 since the backport. Fixes: QTBUG-140224 Change-Id: I31d2891c618609fe4726964aeda89e7df4cfcbf7 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 5be3c4f19ebbabff2def758ba8549a684690524b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Return to supporting eglCreateImage in EGLHelper::queryDmaBufMoss Heim2025-09-192-12/+134
| | | | | | | | | | | | | | | | | | | | | eglCreateDRMImageMESA was removed in mesa 25.2. Keep using it where we can since this fixes support for panthor/panfrost, otherwise fall back to the old use of EGL API. Includes a revert of the following commits: Revert "Create EGLImage with eglCreateDRMImageMESA() for exporting dma_buf" This reverts commit 2ed5f9632292c6e531f353dae800cb12274af91a. Revert "Remove leftover QOffscreenSurface from EGLHelper" This reverts commit bcee2dbf412cc655c1b467091b581c696d234e3f. Pick-to: 6.10.0 6.9 Task-number: QTBUG-136257 Task-number: QTBUG-139424 Change-Id: Ie115bd6373ce0a80651781aa568405477010ee25 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 3cc88e0f85113e38ccb1bfdadb7d150c2389b1bc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> Reviewed-by: Moss Heim <moss.heim@qt.io>
* Fix -no-ssl buildPeter Varga2025-09-176-16/+46
| | | | | | | | | Amends 671afae06 Add API for providing additional CA certificates Change-Id: I7e40b9b24e319e89c94d13516ebbc896c8ba6f69 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 41d73903f687cb10a94d011e2b49c7940f5369c7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QWebEngineFrame: keep using RO0Marc Mutz2025-09-162-13/+6
| | | | | | | | | | | | | | | | | | | Amends 3ee3548e4c663402848db3b1336bf56e7c6d327e, which incorrectly and needlessly made the move SMFs out-of-line (move SMFs must always be inline in Qt). All these functions were already inline in 6.9, so keep it that way, just with explicit = default, which is how the 6.9 cherry-pick of said commit was also resolved. Found in API-Review. Pick-to: 6.10.0 Change-Id: I85595614fcb33c0ae545c751006d0b70a14d8629 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 47ba718f722761aa211ae2bbc975ab7b9dc6f89b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichael Brüning2025-09-122-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Submodule src/3rdparty e0e59b7d..94daf4ca: * [Backport] CVE-2025-10201: Inappropriate implementation in Mojo * [Backport] CVE-2025-10200: Use after free in Serviceworker * [backport] Security bug 426429657 * [backport] CVE-2025-9866 * [fixup] Use ui::Compositor (3rdparty) * [fixup] Fixes for jumbo build * [fixup][gn] Add rsp target writer * [fixup] Add shorter include paths workaround * [fixup] Add user script data mojo interface and traits * [fixup] Add mojom for renderer_configuration * [fixup] Implement resourcesPrivate API * [fixup] Fix navigation when clicking on links in a PDF * [fixup] Add minimal webrtcdesktopcapture api for hangout services extension * minibgm: fix missing include libgen.h * Use -I for GN pkg_config include directories * [fixup][gcc-10] Fix compilation issue with gcc-10 Fixes: QTBUG-139776 Fixes: QTBUG-140070 Change-Id: I07b064b785653d990d8077b410b33581da9c3dde Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit df1dd4b0462a221a1353c01d8d793a359101c883) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use the built in ExtensionActionManagerMartin Negyokru2025-09-115-73/+10
| | | | | | | | | The built in manager is also used by extensions APIs. Task-number: QTBUG-61676 Change-Id: Iebd20cc1e10e933436d3032ff1c8676f298d8353 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 3d4dc630ad8b2bca9ff1a1172ca9f8562d746071)
* Disable GBM if Ozone X11 is not availableMarcell Brauner2025-09-111-1/+9
| | | | | | | | | | | | | | | | | If certain X11 libraries are missing then the BUILDFLAG(IS_OZONE_X11) is false. In this case, the GLX code path is unable to create GBM buffer without Ozone X11 support. This results in the web view being empty and the warning messages are not helpful. To circumvent this, add a more meaningful warning message and fallback to a different rendering path. Pick-to: 6.9 6.8 Change-Id: Id4bc9a7e88c6f19713c764437138b92a3aee86e6 Reviewed-by: Moss Heim <moss.heim@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 305b210999f660c45a3a4da712adbedec814f9dd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix typo in --disable-gpuMarcell Brauner2025-09-112-2/+2
| | | | | | | | | Pick-to: 6.9 6.8 Change-Id: Ifffe48cce9d0acb85c5aca398894c2d359626672 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Moss Heim <moss.heim@qt.io> (cherry picked from commit 56f2cf847b2eca28bba698041d47d5432f3c624d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Fix type issues in WebEngineView QML docsKaloyan Chehlarski2025-09-111-9/+9
| | | | | | | | | | | - QString -> string - QWebEngine... -> WebEngine... - Remove nonsense asterisks from method/signal parameter lists Change-Id: I9ad262def8ab2a9513fb1b350e388e158a880269 Reviewed-by: Moss Heim <moss.heim@qt.io> (cherry picked from commit e29143d6b75a325613baadbbb9c5cdbc94c95485) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Slightly reword recentlyAudibleChanged descriptionKaloyan Chehlarski2025-09-101-3/+2
| | | | | | | Change-Id: Iea3603e13439c0e9e205fc4d99698a49bb8c6c44 Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io> (cherry picked from commit a4b34f495ba71975fb84e85b63a790adf991235a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Expand size() and contentSize() definitionsKaloyan Chehlarski2025-09-104-4/+15
| | | | | | | | | | These now mention what units the return sizes are in, and what effects high-DPI displays have. Change-Id: Icdf0a2c36116d360d5cc158793694422cb33b0cc Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io> (cherry picked from commit 3ec2030154c51b301149216397d870cadbcf7241) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Minor comma fixesKaloyan Chehlarski2025-09-102-4/+4
| | | | | | | Change-Id: I1ed24289af08aad651c93a09cb342dc9e8b71349 Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io> (cherry picked from commit 997cd69e7cd5ce744b37a157fd0f7cee98192f4e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>