To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=42061 Issue #:|42061 Summary:|SDK Example DisableCommands do not enable commands |again Component:|sdk Version:|680m76 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|samples Assigned to:|jsc Reported by:|sus
------- Additional comments from [EMAIL PROTECTED] Fri Feb 4 05:59:52 -0800 2005 ------- The SDK example \examples\DevelopersGuide\OfficeDev\DisableCommands does not finish under Unix. It disables all commands, but does not react on the given input to continue the example and enable the commands again. SERIOUS ISSUE: The user won't be able to open documents after running this example The problem is that the Java source is wainting for the input of a CarridgeReturn (ASCII 13), which is not contained in a Unix Return (ASCII 10 LineFeed). A workaround using the System Property "line.separator" does not work well as BufferedReader.readLine() does not return termination characters. Listening on ASCII 10 and 13 still requires to flush the second sign or the following RETURN input asked by the example will be answered as well. Attached fix to this issue --------------------------------------------------------------------- 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]