sw/source/uibase/wrtsh/select.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 88bf378ba7356b085d51a6e28324ea9a6fda9635
Author:     Jim Raykowski <[email protected]>
AuthorDate: Fri Nov 21 14:37:30 2025 -0900
Commit:     Jim Raykowski <[email protected]>
CommitDate: Tue Dec 2 21:33:03 2025 +0100

    Resolves tdf#136419 Select All in Frame does not select all contents
    
    When the current cursor is positioned in a fly frame, call
    ExtendedSelectAll so content not visible in the frame is also
    selected.
    
    Change-Id: I27f77b43eec692331d70016abe35cbeb1650846e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194377
    Reviewed-by: Jim Raykowski <[email protected]>
    Tested-by: Jenkins

diff --git a/sw/source/uibase/wrtsh/select.cxx 
b/sw/source/uibase/wrtsh/select.cxx
index 707f588250ab..45b8e88fe6a0 100644
--- a/sw/source/uibase/wrtsh/select.cxx
+++ b/sw/source/uibase/wrtsh/select.cxx
@@ -189,6 +189,11 @@ void SwWrtShell::SelAll()
         {
             bNeedsExtendedSelectAll = !HasWholeTabSelection();
         }
+        // tdf#136419 Select All in Frame does not select all contents
+        else if (!bNeedsExtendedSelectAll)
+        {
+            bNeedsExtendedSelectAll = GetCurrFlyFrame(false) != nullptr;
+        }
 
         if (bNeedsExtendedSelectAll)
         {

Reply via email to