[Libreoffice-bugs] [Bug 113219] contents of the context menu after selecting a word with a mouse differs depending on the direction in which the selection was made

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jun 13 19:08:47 UTC 2021


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

--- Comment #22 from Dave Gilbert <freedesktop at treblig.org> ---
The selection clearing is done in SwEditWin::SelectMenuPosition
by the:
    bool bOverSelect = rSh.TestCurrPam( aDocPos );
...

    if ( !bOverSelect )
    {
        // create only temporary move context because otherwise
        // the query against the content form doesn't work!!!
        SwMvContext aMvContext( &rSh );
        rSh.CallSetCursor(&aDocPos, false);
    }

so there's a conversation to be had with TestCurrPam and friends to
see how it decides 'OverSelect'

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210613/c6fed281/attachment.htm>


More information about the Libreoffice-bugs mailing list