Qt Declarative (Quick 2)
Go to file
Shawn Rutledge 31ca3936d3 TextEdit and TextInput: map QContextMenuEvent to text cursor pos
...if the position is not already set. Events that come from a keyboard
menu key or shortcut often have pos() == {0, 0}, but we want the context
menu to be in the context of what the user is editing.

First though, we need QQuickDeliveryAgentPrivate::contextMenuTargets()
to search for items at the correct position. We don't override delivery
order, but activeFocusItem should be in the list that is returned.

Pick-to: 6.9 6.8
Fixes: QTBUG-136253
Change-Id: I7eea03e118a95a1a267f02bd3385cc1ae4cbb0a0
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2025-05-02 07:27:07 +02:00
LICENSES Add REUSE.toml files and missing licenses 2024-10-29 14:00:19 +02:00
cmake QtQml: Drop checks for compile hash and Qt version from the CUs 2025-03-18 10:53:07 +01:00
coin Make module ready for source SBOM checking 2025-02-21 20:24:43 +01:00
dist Add REUSE.toml files and missing licenses 2024-10-29 14:00:19 +02:00
examples TextEditor example: allow setting multiple font attributes 2025-04-29 21:08:27 +02:00
features
src TextEdit and TextInput: map QContextMenuEvent to text cursor pos 2025-05-02 07:27:07 +02:00
tests TextEdit and TextInput: map QContextMenuEvent to text cursor pos 2025-05-02 07:27:07 +02:00
tools qml-tool: Treat all arguments passed after "--" as positional 2025-04-23 16:00:07 +02:00
.cmake.conf Bump version to 6.10.0 2025-01-03 11:57:39 +01:00
.gitattributes qmlformat: improve testing of file based options 2021-11-04 13:35:48 +01:00
.gitignore QtQml: Drop checks for compile hash and Qt version from the CUs 2025-03-18 10:53:07 +01:00
.gitmodules
.gitreview Add .gitreview file 2025-02-26 20:54:40 +01:00
.tag Use tree hash rather than commit hash in .tag file 2022-01-25 23:55:27 +01:00
CMakeLists.txt Add RunCMake tests 2025-03-24 17:01:18 +01:00
README.md Rewrite README.md 2021-08-12 13:15:17 +00:00
REUSE.toml Update licensing of files with infrastructure type 2025-03-13 14:59:06 +01:00
configure.cmake Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
dependencies.yaml Update dependencies on 'dev' in qt/qtdeclarative 2025-05-01 05:27:29 +00:00
licenseRule.json Update licensing of files with infrastructure type 2025-03-13 14:59:06 +01:00
qt_cmdline.cmake Remove "2" from Qt Quick Controls directories 2022-12-01 10:26:20 +08:00
qtdeclarative.doxy Add doxyfile for building doxygen documentation 2018-08-16 15:54:40 +00:00