Opened 15 years ago

Last modified 14 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 15 years ago.
IE8

Download all attachments as: .zip

Change History (6)

comment:1 Changed 15 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 15 years ago by Frederico Caldeira Knabben

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 15 years ago by Frederico Caldeira Knabben

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 15 years ago by Tobiasz Cudnik

Description: modified (diff)
Summary: Context menu always opens next to mouse cursor[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 15 years ago by Tobiasz Cudnik

Attachment: ie-context-vs-carret.JPG added

IE8

comment:5 Changed 14 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy