I use Drupal 6.20, with CKeditor 6.x-1.3, on Ubuntu Lucid.
Whenever I am editing and do one of the following:
-click in the editor window anywhere but inside a text-line or _just_ beside it
-mark a bit of text (say part of a sentence) and then apply formatting of any kind to it (style, size, etc.)
the focus will jump to the top of the page, but the cursor stays where it is.
It is quite annoying and makes it difficult to edit long documents, unless I change to source and edit it there.
I have observed the problem in
Firefox 3.6.15
but not in
Google Chrome 10.0.648.134
Opera 11.01 (but this has another problem - if I try to mark text here it will instead mark everything _before and above_ that spot instead of the word/sentence...)
Comments
Comment #1
dczepierga CreditAttribution: dczepierga commentedI can't reproduce this... anyone can confirm this bug?
Greetings
Comment #2
bbrydsoe CreditAttribution: bbrydsoe commentedJust some additional information.
I am using the theme 'noprob'.
Installed modules:
CCK 6.x-2.9
Calendar 6.x-2.4
Date 6.x-2.7
Image 6.x-1.1
404 Blocks 6.x-1.3
Checkout 6.x-2.2
CKEditor 6.x-1.3
Menu breadcrumb 6.x-1.3
RealName 6.x-1.4
Secure Pages 6.x-1.9
Secure Pages Hijack Prevention 6.x-1.6
Token 6.x-1.15
Google Analytics 6.x-3.2
Certificate Login 6.x-2.2
Views 6.x-2.12
Comment #3
bbrydsoe CreditAttribution: bbrydsoe commentedFurther tests with various OS/browsers:
Does the 'jump' thing in:
Internet Explorer 8 (Windows 7, Windows Vista)
Chrome 10.0.648.204 (Windows 7)
Firefox 3.6.15 (Ubuntu Lucid)
Firefox 3.6.16 (Windows 7)
Doesn't 'jump' in:
Opera 11.01 (Windows 7, Windows Vista, Ubuntu Lucid)
Chrome 10.0.648.134 (Ubuntu Lucid)
Can no one reproduce the error?
Comment #4
mkesicki CreditAttribution: mkesicki commented@bbrydsoe I have tried to reproduce this issue with no success. I have installed all extensions mentioned by you (from up to down list) and nothing bad happens. I have tested this with Opera 11.01 and Firefox 3.6.16 on windows 7. Everything seems ok. Please write if you have any idea how to reproduce your issue.
Comment #5
dczepierga CreditAttribution: dczepierga commentedIf i remember good it was problem of previous version of CKEditor library... Pls download and update CKEditor library to last version (http://ckeditor.com/download), then report that the problem still exists :)
Greetings
Comment #6
jzornig CreditAttribution: jzornig commentedI'm seeing this issue with Drupal 6.20, Ckeditor 1.3 and ckeditor.js 3.5.2 (i.e. all the latest as of today.) It is easily reproduceable on the first click into the editor window. Open a node in edit and scroll the ckeditor panel down a few pages then try to click into the content. The screen scrolls to the top of the content but the cursor is actually placed where you clicked so typing a character causes the panel to scroll down again. Same in both Safari 5.0.4, Firefox 4.0 and Chrome 10.0.648.204 on mac. It also happens at other times but is less reproducable. I've got reports of the same from Windows users of IE and Firefox.
Comment #7
bbrydsoe CreditAttribution: bbrydsoe commentedUnfortunately, after an update of the CKEditor library to the latest version, the problem still exists :(
Comment #8
AdamGerthel CreditAttribution: AdamGerthel commentedUpgrading to CKEditor 3.5.3, released on 7 April 2011 fixed it for me on D7
Comment #9
dczepierga CreditAttribution: dczepierga commentedYes this bug was fixed with CKEditor 3.5.3 (http://dev.ckeditor.com/ticket/7113), so pls update CKEditor library to last stable version.
If i'm wrong pls reopen this issue.
Greetings
Comment #10
bbrydsoe CreditAttribution: bbrydsoe commentedI just installed CKEditor 3.5.3, but unfortunately it didn't fix the bug in Drupal 6.20 and it still jumps :(
I'm assuming the patch you linked to in included in 3.5.3 so there is no use in trying to install the patch as well?
Comment #11
dczepierga CreditAttribution: dczepierga commentedProblem still exists in Firefox browser? Do u try to do this in FF4?
Greetings
Comment #12
bbrydsoe CreditAttribution: bbrydsoe commentedYes, the problem still exists in Firefox browser on both Linux and Windows.
No, I haven't tried in Firefox 4, since I cannot tell the people who will be using the editor to change - it has to work in Firefox 3.6.16 :(
I will, however, test it in Firefox 4 and see if that fixes it. At least it may help narrow down what the problem is.
Comment #13
bbrydsoe CreditAttribution: bbrydsoe commentedI have tested now, and it makes no difference. It also jumps for Firefox 4, so I must assume it is a Drupal 6.20 problem (or something weird with our Drupal setup).
I have just made a new test-install of Drupal 6.20 and it jumps too, but I will start trying to uninstall modules one by one and see if it does something.
Comment #14
dczepierga CreditAttribution: dczepierga commentedBut why i can't reproduce this bug... I do everything what u written here and nothing happend... anyone else can confirm this bug in the last DEV version of CKEditor module and CKEditor 3.5.3?
Greetings
Comment #15
dczepierga CreditAttribution: dczepierga commentedNo one confirm this bug after update to last CKEditor library so i closed this issue.
Now it's also available CKEditor 3.6 so there it shouldn't be problem with it.
Greetings
Comment #16
rakun CreditAttribution: rakun commentedCKEditor 3.6 fix problem on Chrome, but on FF 4 still jumps.
Comment #17
dczepierga CreditAttribution: dczepierga commented@Rakun, could u check this bug on http://ckeditor.com/demo?
If u reproduce this bug there, write step by step what u pasting, clicking etc...
I think it's CKEditor library bug not CKEditor module...
Greetings
Comment #18
dczepierga CreditAttribution: dczepierga commentedComment #19
BetoAveigaHi everybody!
I think the bug has something with custom CSS files... When I put ckeditor default CSS everything works fine...
When I put my custom CSS the bug is back.
Maybe a bad line of CSS? Or bad interpretation of CSS? I don't know... The bug was present in FF4, not in Chrome. (both in VISTA)
Please, try not putting your theme CSS, put CKeditor default CSS and see if it fixes the bug for you...
It's obviously not a solution... but I think it could be a start...
(using CKeditor 3.6 & Drupal 6.22)
Comment #20
bbrydsoe CreditAttribution: bbrydsoe commentedAlso updated to CKeditor 3.6 & Drupal 6.22 - and it still jumps merrily in FF4.
You are right - the jumping stops if I turn off theme CSS. Unfortunately, that is not workable since we have a great many customizations, which people need to be able to see when they style the pages. I can't find any errors in our CSS, but I will give it another check. And thanks a lot for figuring this out - it is, as you say, a start :)
Comment #21
rakun CreditAttribution: rakun commentedYep! Confirm. I am using standalone CKEditor module and CKEditor lib with WYSIWYG module. This issue exists in both cases. When "Use Theme CSS" is turned off everything works fine.
Comment #22
BetoAveigaDo you have tags that modify the body tag? Or maybe the HTML tag?
I think that modifying this tags could affect the CKeditor iframe behavior and focus...
Maybe a temporary solution is to give CKeditor a custom CSS file that contains only the styles that will be applied on the content (and maybe you can add the styles of the Ckeditor default CSS because this apparently works right).
Perhaps our complete stylesheet affects the entire page of our site, affecting also the Ckeditor iframe.
Right now I'm not having issues, but honestly I don't know exactly what I did or what make the bug disappear :/
Comment #23
mkesicki CreditAttribution: mkesicki commentedOk, we will check this again with all your suggestions.
One more time please remember this tracker is not for WYSIWYG module but CKEditor module. If you have problems with WYSIWYG module please try search answers in their tracker.
Comment #24
mkesicki CreditAttribution: mkesicki commentedOk,
I tested this issue with theme 'noprob' and CKEditor set to use theme css and in firefox 4 (Windows 7) the focus jump on top as described in earlier posts. Problem is caused by css entry height: 100%; for body element in sites\all\themes\noprob\styles.css. When I hash/comment this line everything works fine.
Maybe someone other who have this problem will attach problematic css file and write a used theme name , so we can check this further.
Comment #25
mkesicki CreditAttribution: mkesicki commentedAfter some research, we discovered that this is CKEditor library bug. It is reported here http://dev.ckeditor.com/ticket/8074. Please check status of this ticket there.
Comment #26
bbrydsoe CreditAttribution: bbrydsoe commentedI am using the noprob theme - and it worked great to just make a css for ckeditor with this one line commented out. The difference in the look of the page while editing it is so small that it is not important, so this solves my problem at least :)
Thanks!
Comment #27
mkesicki CreditAttribution: mkesicki commentedTo summarize this issue. This is CKEditor library issue. To check status of this problem , please refer to http://dev.ckeditor.com/ticket/8074. Temporary solution can be found here http://drupal.org/node/1096164#comment-4603964. I close this ticket.