Opened 8 years ago
#16988 new Bug
Highlighted text is unselected when using Cntrl+Click as Right Click (on Macbooks)
Reported by: | Jordan | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.7.0 |
Keywords: | Cc: |
Description
Steps to reproduce
- Use a Macbook (I cannot reproduce this on an OS X desktop but it happens on every laptop I've tried)
- Select text
- Control + Click
Expected result
The right click context menu should appear - on the demo editor, the available options are Cut/Copy/Paste. Selecting one of those options should execute the selected command on the selected text.
Cut should cut the selected text. Copy should copy the selected text. Paste should paste whatever is on the clipboard in place of the selected text.
Actual result
The selected text becomes unselected when the context menu is opened. This prevents any of the commands in the context menu from functioning properly.
This problem is most obvious with Cut - nothing happens. Without selected text available, there is nothing to cut.
Copy doesn't work either, in much the same manner, but you have to use Paste to confirm your text was not copied (so Cut is easier to test with).
Paste is half-functional - instead of pasting over the selected text, it pastes wherever your cursor was when you clicked to open the context menu, and selected the paste command.
Other details (browser, OS, CKEditor version, installed plugins)
This only seems to happen on Macbooks. My main testing machine is a 13" early 2015 model, but I also have a user who reported the issue on a slightly older Macbook.
I've tested and reproduced this on both CKEditor's demo and nightly editors with my machine.
This can be reproduced in Chrome and Safari, but not Firefox (Firefox actually functions as expected!).