Opened 18 years ago
Closed 17 years ago
#539 closed Bug (fixed)
FF: if the HTML has a table in it and you right click in the table while in FCKeditor, the cursor jumps to the top of the HTML
Reported by: | Liz | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
Component: | General | Version: | |
Keywords: | Firefox Confirmed | Cc: | michaelcaplan@… |
Description
Only in Firefox, if you have a table in your HTML and then while you are in FCKeditor you right mouse click when your cursor is in the table or table cell, the editor jumps up to the top of the HTML no matter where you were when you clicked.
Wrote to Frederico about this and here is his reply: I was able to create a very simple test case for this bug, based on your pages. In Firefox, if you scroll down the contents and right click inside the table, it will scroll up automatically. If you instead click at the "More text" phrase at the very end, you will have no problems. It only happens if the editor is inside a table, and if you click in a table in the contents. There is no solution for it for now, and no predictions, but this TC is an important step to find out something. Frederico Caldeira Knabben
Attachments (2)
Change History (8)
comment:1 Changed 18 years ago by
Keywords: | Pending added; table removed |
---|
Changed 18 years ago by
Attachment: | travel newsletter - long lines.htm added |
---|
html to replicate the problem - scroll down - click in bottom paragraph - jumps to top
comment:2 Changed 18 years ago by
I have attached the HTML with tables that will easily replicate this problem. Just copy the html into the editor, scroll to the bottom, right click - and then you'll jump right up to the top. This is FF only.
The email I received was dated 12/5/06. There was an issue in the old bug tracking db - 1247079 - which I was discussing and that is the same issue as this.
comment:3 Changed 18 years ago by
Keywords: | Confirmed added; Pending removed |
---|---|
Milestone: | → FCKeditor 2.5 |
Thanks for the update lizl.
There is one thing to note. This problem doesn't happen in all FCKeditor instances. It depends on the page where FCKeditor is placed in.
For example, it will not be buggy with sample01.html, but the problem can be reproduced in the online demo instead. So, there is something in the page that makes Firefox behave in that way.
I'm targeting this one to 2.5 for investigation.
comment:4 Changed 18 years ago by
Cc: | michaelcaplan@… added |
---|
https://sourceforge.net/tracker/index.php?func=detail&aid=1247079&group_id=75348&atid=543653 has been marked as dup.
comment:5 Changed 17 years ago by
After tracing through the code, I found the culprit to be the line
window.frameElement.parentNode.insertBefore( oIFrame, window.frameElement ) ;
in editor/_source/classes/fckpanel.js.
comment:6 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I've implemented a workaround in [547].
The bug's behavior cannot be completely eliminated, however - right clicking on tables in the specified conditions would still cause the editor frame to scroll to the top briefly, after my changes. This is because the scrolling behavior is a browser bug, and we can't make it completely disappear by only changing FCKeditor's code.
The information you have provided is not enough for this ticket. We need the TC well explained here, otherwise there is no way to reproduce it again.
Can you give me more info about the message I've sent you? At least the date, so I can research it here, trying to understand what we are talking about.