Opened 14 years ago
Last modified 8 years ago
#7856 closed Bug
Built-in contextMenu doesn't behave correctly — at Version 6
Reported by: | dittodhole | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Context Menu | Version: | 3.5.3 |
Keywords: | Firefox | Cc: |
Description (last modified by )
Doing a right-click does show the built-in contextmenu, but when doing a second right-click, it hides, instead of popping up again at the actual mouse-position.
For a sample HTML content that can be used to reproduce the error, check #8006.
Change History (6)
comment:1 Changed 14 years ago by
Summary: | Built-in contextMenu doesn't behave correct → Built-in contextMenu doesn't behave correctly |
---|
comment:2 Changed 14 years ago by
Status: | new → pending |
---|
comment:3 Changed 14 years ago by
sorry, i forgot to mention that ... tested with ckeditor 3.6 (with jquery-adapter in use - but nothing else) on win7 + ff 4.0.1
demo: http://jsfiddle.net/rJD65/ just doing right-clicks on the text ...
comment:4 Changed 14 years ago by
Keywords: | Firefox4 added |
---|---|
Status: | pending → confirmed |
Version: | 3.6 → 3.5.3 |
Menu doesn't show on first click because of JS Error:
this.getWindow().$.getComputedStyle(this.$, "") is null
/3.6/ckeditor/_source/core/dom/element.js
Line 502
It’s hard to reproduce it. I have:
- opend jquery adapter sample.
- at the same time clicked RMB at the end of the sample text and swung (from right to left) with a mouse like I wanted to select whole text. It was a very small swing – I have begun at the end of the sample text and stopped in the middle of the word text. I could only reproduce this issue in FF4 from CKEditor 3.5.3 rev [6606]
- If you make a stronger swing so that you get out of editor you will get two different errors which are reproducible from version 3.3.2:
target.getOuterHtml is not a function
3.6/ckeditor/_source/plugins/wysiwygarea/plugin.js
Line 682
ev.getTarget().is is not a function
3.6/ckeditor/_source/plugins/wysiwygarea/plugin.js
Line 682
I didn’t get any unexpected results when simply clicking behind the sample text with RMB.
"but when doing a second right-click, it hides" - I assume that menu shows quickly and then hides. I have also observed something like this but this is rather the result of JS error.
comment:5 Changed 14 years ago by
@j.swiderski:
you are correct with "I assume that menu shows quickly and then hides"!
Which browser and OS are you using and did you reproduce the issue in clean version of CKEditor?
I have checked this issue for CKEditor 3.6 on every browser in XP ,Win7 and Ubuntu but menu showed up on every right click.