Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | macro keybinding crashes writer beyond recovery | ||
---|---|---|---|
Product: | Writer | Reporter: | ingenstans |
Component: | code | Assignee: | stephan.wunderlich |
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> |
Severity: | Trivial | ||
Priority: | P2 | CC: | issues |
Version: | 641 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Windows 2000 | ||
URL: | http://www.darwinwars.com/lunatic/bugs/ctrl-left_crash.sxw | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
ingenstans
2002-02-04 14:18:15 UTC
changed url to correct a typo: should be http://www.darwinwars.com/lunatic/bugs/ctrl-left_crash.sxw Joost->Stephan: please have a look at it Your macro works for me, which version of OpenOffice do you use ? BTW: your macro moves the cursor to the start of the previous word. AFAIK this behaviour is bound by default to the 'CTRL-LEFT' button. Works for me is not a sufficient resolution of this bug. I am using 641C and it definitely doesn't work here. If it works with 641b, fine: then it's a different sort of bug. I don't have that around to test. Nor does it hapen every time I use the macro. It only appears in certain documents. Did you test it on the one I posted a link to? What happened was that I wrote the macro, tested it and bound it to a key; all without trouble. But when I reopened OO and tried with another document (the one I have enclosed) it blew up as described. It had earlier done so on another document, but by the time I had uninstalled and reinstalled everything, I couldn't remember which one. By the way, the macro does not mimic the default ctrl-left behaviour in an important respect: that's why I wrote it. The default behaviour counts spaces as words, so that it moves to the beginning of the word you are in, then the _end_ of the preceding word, and then the beginning of the one before. I had put in an enhancement request about that, and wrote the macro as a fill-in while waiting to see what would happen. The current Openoffice version seem to have a problem with writing the configuration in 'soffice.cfg'. The described behaviour is independent from the macro. Even an easy macro like sub sayHello print "hello" end sub bound to a key raises the same problem. Since the behaviour doesn't appear in the current inhouse version anymore I suppose it'll be fixed in the next OpenOffice build. Folowing this hint, I went to the soffice.cfg sudirectory and deleted writerkeybindings.xml. on restart, I was able to reconfigure the keys without, so far, causing any crashes. But I shall keep a backup of that file somewhere safe, in case it happens again yes. It happened again. Any macro bound to any key seems able to produce this error SW: works in OOo1.1RC3 => closed |