Opened 14 years ago
Last modified 13 years ago
#8061 confirmed Bug
Webkit Drag and Drop shifts event focus to iframe document
Reported by: | Michael Camden | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Webkit | Cc: | mcamden@… |
Description
I've only tested this in webkit, but it's a fairly annoying problem. After dragging text from one CKEDITOR instance to another, events are no longer fired properly on the parent window. I've attached a very simple example of this problem.
- Click on the 'Click to test' button. It will fire an alert with the message 'Test Successful'.
- Click the 'Click to replace' button. This will create two instances of CKEDITOR on the page.
- Drag text from the first instance to the second instance.
- Click on the 'Click to test' button. Nothing will happen.
In Chrome, if you repeat step 4, the message will now appear. In Safari, the button will never fire the message.
Attachments (1)
Change History (8)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Keywords: | Webkit added; webkit drag and drop removed |
---|---|
Status: | new → confirmed |
Version: | 3.6 → 3.0 |
In my opinion this is not a valid bug. This is just how webkit works with CKEditor.
First of all the behavior in Chrome is the same as in Safari. The second click worked in both browsers. The event could not be fired because focus was on editor, the first click after drag moved the focus to the button and the second click fired the event.
I'm confirming it in case if anyone else has different point of view on this.
comment:3 Changed 14 years ago by
I disagree with your comment on the behavior. From my tests Chrome successfully shifts the focus back to the parent window on the first click, so the second click works. I am testing on Windows 7, Chrome version 12.0.742.91, Safari version 5.0.5.
If this isn't a valid bug, could you offer some suggestion on how to work around this issue?
comment:4 Changed 14 years ago by
Maybe got to quick with the comment. If I put focus on the editor by simply clicking on it and then click the button, event is fired. So maybe this ticket is valid after all.
But the results were consistent on both browsers in my case. Second click fired alert window on safari and chrome.
comment:5 Changed 14 years ago by
I've just tested Safari, and it now behaves the same as Chrome. Any updates on the progress of this bug?
Akismet wouldn't allow me to upload the HTML file, so here is a link. http://michaelcamden.me/safaridnd.html