https://bugs.documentfoundation.org/show_bug.cgi?id=157286

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |7.5 all versions
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #4 from Justin L <[email protected]> ---
This is a 'regression' from LO 7.5 
commit 947fe0d89dee75ee43515ef7dfb43837d65a45bc
Author: Jim Raykowski on Mon Sep 26 05:55:25 2022 +0200
    tdf#119788 tdf#117173 add accessibility NOTIFICATION role
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139709
-  SvxSearchDialogWrapper::SetSearchLabel(u""_ustr);
+  if (!SvxSearchDialogWrapper::GetSearchLabel().isEmpty())
+      SvxSearchDialogWrapper::SetSearchLabel(u""_ustr);

But SvxSearchDialogWrapper::GetSearchLabel seems to always return an empty
string from the Ctrl-H dialog because
    css::uno::Reference< css::ui::XUIElement > xUIElement =
        xLayoutManager->getElement(u"private:resource/toolbar/findbar"_ustr);
    if (!xUIElement.is())
        return OUString();

A lot of Jim's code seems to have been changed, so perhaps it can just be set
back unconditionally to SvxSearchDialogWrapper::SetSearchLabel(u""_ustr)???

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to