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

            Bug ID: 154521
           Summary: selecting bookmarks in Navigator triggers
                    selectionChanged event before the selection
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
In Navigator, double click or enter on a bookmark name selects the bookmark in
the text, but the triggered selectionChanged event doesn't give access to the
selection.

Steps to Reproduce:
1. create a document with bookmarks
1. add a XSelectionChangeListener to the document
2. double click on a bookmark name


Actual Results:
getSelection() contains empty TextRange (start of the previous selection) in
selectionChanged()

Expected Results:
getSelection() returns with a non-empty TextRange of the selected bookmark in
selectionChanged()


Reproducible: Always


User Profile Reset: No

Additional Info:
See XSelectionChangeListener.idl

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

Reply via email to