Opened 8 years ago

Last modified 7 years ago

#3507 confirmed Bug

[IE] Context menu always opens next to mouse cursor

Reported by: tobiasz.cudnik Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: IE Cc:

Description (last modified by tobiasz.cudnik)

Context menu always opens next to mouse cursor, even after being triggered by key press. This is usability issue in my opinion, because mouse can be anywhere withing the browser's viewport.

I see following options:

  1. Distinguish between key press and mouse click. Probably impossible, but i'm not 100% sure.
  2. Simply check if mouse is inside editor's viewport and then if yes - open menu next to cursor; if not - open it next to the carret.
  3. Always open context menu next to the carret.

Attachments (1)

ie-context-vs-carret.JPG (30.7 KB) - added by tobiasz.cudnik 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by garry.yao

  • Keywords Pending added

I'm actually not cleared about the problem here, could you please provide a TC to support it?

comment:2 Changed 8 years ago by fredck

  • Keywords Confirmed IE added; Pending removed

It's hard to provide a TC for it Garry. It's a kind of strict browser UI issue.

I'm able to reproduce this problem with IE only. In Firefox, the context menu appears in the exact position the default context menu would appear. so, it looks like the Firefox DOM events send the context menu coordinates for the contextmenu event, instead of the mouse coordinates, which is cool.

comment:3 Changed 8 years ago by fredck

I don't see much chances to have it fixed though. We should be able to take the position of the start boundary of the selection and place the context menu relatively to it, if not using the mouse click to open the context menu.

Let's leave it opened for future investigation, but for now get Firefox ;)

comment:4 Changed 8 years ago by tobiasz.cudnik

  • Description modified (diff)
  • Summary changed from Context menu always opens next to mouse cursor to [IE] Context menu always opens next to mouse cursor

Indeed it works for FF and thats a good news. I'm attaching a screenshot for easier understanding of the issue. There's also a small correction - that's not accessibility problem, but usability instead.

Changed 8 years ago by tobiasz.cudnik


comment:5 Changed 7 years ago by fredck

  • Milestone CKEditor 3.x deleted

Milestone CKEditor 3.x deleted

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