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

Michael Weghorn <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from Michael Weghorn <[email protected]> ---
Thanks for the detailed report. I can reproduce this with gtk3, and looking at
the implementation makes clear why it currently behaves the way it does:

    static gboolean
    text_wrapper_remove_selection (AtkText *text,
                                gint     selection_num)
    {
        g_return_val_if_fail( selection_num == 0, FALSE );

        try {
            css::uno::Reference<css::accessibility::XAccessibleText> pText
                = getText( text );
            if( pText.is() )
                return pText->setSelection( 0, 0 ); // ?
        }
        catch(const uno::Exception&) {
            g_warning( "Exception in setSelection()" );
        }

        return FALSE;
    }

In addition, the selection doesn't get cleared at all when using the qt6 VCL
plugin.

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ccd12a015b8ce69776614754dfca16d28113cb1f
CPU threads: 32; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to