Open Bug 281758 Opened 16 years ago Updated 10 years ago
Selection is changed at the wrong time
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041122 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041122 When I try to change selection inside of DidXXX handler of nsIEditActionListener interface then I'm fail. Reproducible: Always Steps to Reproduce: In instance you can try to execute next code line in DidInsertText() handler: editor.getEditor(editor.contentWindow).selection.removeAllRanges(); Selection should not be removed. If you will try to execute the same code by using setTimeout() method then selection will be removed. Expected Results: Selection should be changed after calling of WillXXX method and before calling of DidXXX.
run in with chrome protocol
Summary: Incorrect change selection time → Selection is changed at the wrong time
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
confirm Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20050909 SeaMonkey/1.1a
confirm for Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007112920 SeaMonkey/2.0a1pre. I'm not sure whether this is intentional behavior but I suppose when DidInsertText is called then selection should have been changed.
alexander, does this still fail?
You need to log in before you can comment on or make changes to this bug.