Opened 10 years ago

Last modified 4 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 Wiktor Walc)

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 10 years ago by dittodhole

Summary: Built-in contextMenu doesn't behave correctBuilt-in contextMenu doesn't behave correctly

comment:2 Changed 10 years ago by Jakub Ś

Status: newpending

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.

comment:3 Changed 10 years ago by dittodhole

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 ...

Last edited 10 years ago by dittodhole (previous) (diff)

comment:4 Changed 10 years ago by Jakub Ś

Keywords: Firefox4 added
Status: pendingconfirmed
Version: 3.63.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:

  1. opend jquery adapter sample.
  2. 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]
  3. 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 10 years ago by dittodhole

@j.swiderski:

you are correct with "I assume that menu shows quickly and then hides"!

comment:6 Changed 10 years ago by Wiktor Walc

Description: modified (diff)

#8006 was marked as duplicate.

Note: See TracTickets for help on using tickets.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy