desktop/source/app/updater.cxx | 1 + sw/source/uibase/docvw/edtwin.cxx | 1 + 2 files changed, 2 insertions(+)
New commits: commit a7649b85f1e16dd52378346958216e78b8335b5a Author: Justin Luth <[email protected]> AuthorDate: Tue Dec 19 20:58:09 2023 -0500 Commit: Justin Luth <[email protected]> CommitDate: Fri Jan 5 14:47:31 2024 +0100 tdf#111969 sw: acknowledge that last half-character for mouse pointer This fixes WHEN the helpful mouse cursor changes to a finger when over top of a smart-tag. The impact is MUCH LARGER than just smart tags, but they were the impetus for the change. Prior to this patch, it would start half-a-character too soon, and end half-a-character too early. Change-Id: I84b1e91ccfac2aa18ec58ddfdea25cd199fc694a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161041 Tested-by: Jenkins Reviewed-by: Justin Luth <[email protected]> diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index e89614319903..13199a5b84f2 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -568,6 +568,7 @@ void SwEditWin::UpdatePointer(const Point &rLPt, sal_uInt16 nModifier ) IsAttrAtPos::InetAttr | IsAttrAtPos::Ftn | IsAttrAtPos::SmartTag); + aSwContentAtPos.bPosMatchesBounds = true; // treat last half-char same as first half if( rSh.GetContentAtPos( rLPt, aSwContentAtPos) ) { // Is edit inline input field commit 4a3c1f0741ce60d218a80348ba95438e26d3423b Author: Stephan Bergmann <[email protected]> AuthorDate: Fri Jan 5 13:02:04 2024 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Fri Jan 5 14:47:29 2024 +0100 Also copy updater.ini (so that updater progress UI will actually shown up) Change-Id: I2805087da196aa7153850345803999af4de313df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161660 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx index 3221d688a47f..12bb4969a68c 100644 --- a/desktop/source/app/updater.cxx +++ b/desktop/source/app/updater.cxx @@ -145,6 +145,7 @@ void CopyUpdaterToTempDir(const OUString& rInstallDirURL, const OUString& rTempD { OUString aUpdaterName = OUString::fromUtf8(pUpdaterName); CopyFileToDir(rTempDirURL, aUpdaterName, rInstallDirURL); + CopyFileToDir(rTempDirURL, u"updater.ini"_ustr, rInstallDirURL); } #ifdef UNX
