To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=68622 Issue #|68622 Summary|Listening for Writer document selection changes from J |ava does not give expected results Component|udk Version|OOo 2.0.2 Platform|PC URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|kr Reported by|mfrancis
------- Additional comments from [EMAIL PROTECTED] Mon Aug 14 16:26:40 -0700 2006 ------- Hello, I am attempting to develop a Java application that interfaces with Writer and listens for changes in the current text selection, but selection notifications seem to behave a little oddly for some selection methods. Action: Select text using keyboard using Shift+Right multiple times Expected result: One call to listener's selectionChanged() method for each keypress Actual result: First press of right causes a call to selectionChanged(); subsequent presses have no effect Action: Select text by dragging with mouse Expected result: One call to the listener's selectionChanged() method Actual result: Two calls to the listener's selectionChanged() method when mouse is released (In comparison, alternating Shift+Home and Shift+End works as expected) To reproduce: The attached example source opens a Writer window and listens for selections within it; detected selections are printed to stdout. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
