vcl/unx/gtk3/gtkinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 140e74db2eff88dcee27bfb79ad65e9db138200c
Author:     Michael Weghorn <[email protected]>
AuthorDate: Tue Oct 21 09:03:59 2025 +0200
Commit:     Michael Weghorn <[email protected]>
CommitDate: Tue Oct 21 10:58:03 2025 +0200

    tdf#130857 gtk: Fix infinite recursion in FormattedSpinButton::set_text
    
    Call the correct base class method after that
    was split/renamed in
    
        commit 606cf07086b8c3ae008f9a41f44fffbef2fb19c6
        Author: Michael Weghorn <[email protected]>
        Date:   Fri Oct 17 22:22:00 2025 +0200
    
            tdf#130857 weld: Move signal blocking to Entry::set_text
    
    Otherwise, this results in an infinite recursion seen
    e.g. when running
    
        SAL_USE_VCLPLUGIN=gtk3 make CppunitTest_sd_dialogs_test
    
    , as reported in [1].
    
    [1] 
https://gerrit.libreoffice.org/c/core/+/192613/comments/2e483015_33e667b4
    
    Change-Id: I941aca236fd02c19664da017622c8392f72b891f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192770
    Reviewed-by: Michael Weghorn <[email protected]>
    Tested-by: Jenkins

diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 18897581caec..d9ad63b465e0 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -17672,7 +17672,7 @@ public:
 
     virtual void do_set_text(const OUString& rText) override
     {
-        GtkInstanceEditable::set_text(rText);
+        GtkInstanceEditable::do_set_text(rText);
         Formatter& rFormatter = GetFormatter();
         m_bEmptyField = rFormatter.IsEmptyFieldEnabled() && rText.isEmpty();
         if (m_bEmptyField)

Reply via email to