https://bz.apache.org/ooo/show_bug.cgi?id=126709
Issue ID: 126709
Issue Type: DEFECT
Summary: Cannot get selection while being notified of
modification
Product: App Dev
Version: 4.0.1
Hardware: PC
OS: Windows 7
Status: UNCONFIRMED
Severity: Normal
Priority: P5 (lowest)
Component: api
Assignee: [email protected]
Reporter: [email protected]
Created attachment 85179
--> https://bz.apache.org/ooo/attachment.cgi?id=85179&action=edit
Test program
When a Writer document gets modified, I want to find the currently selected
text to help me understand what modification has been made. This usually
occurs within a very complicated C++ extension and goes wrong, so I've isolated
the code and attached it. When translated to Java or into a macro, the
equivalent code does not show the same problem. This C++ code hangs OpenOffice
4.0.1 and 4.1.2. Shortly after the return from modified(), control is never
transferred back to run() if getSelection() has been called in the meantime.
Many other different calls are possible, including getting the text, but
getting the selection with getSelection() reliably hangs the test program.
--
You are receiving this mail because:
You are the assignee for the issue.