Closed Bug 299834 Opened 19 years ago Closed 19 years ago

Rich text editors get blocked after hiding them

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 217205

People

(Reporter: latengoyo, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ca-AD; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ca-AD; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

When a rich text editor is hidden and then shown again (the containing DIV or TD
element is set to style.display=none) it gets blocked and you cannot do further
editing.

A message shows up in the javascript console:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://global/content/bindings/browser.xml :: destroy :: line 569"  data: no]

This error has happened under firefox with all the rich text editor
implementations i have tried:

HTMLArea: http://www.dynarch.com/projects/htmlarea/
FCKEditor: http://www.fckeditor.net/
TinyMCE: http://tinymce.moxiecode.com/
Xinha: http://xinha.python-hosting.com/

You can download my test page with the scripts in the following url:

http://demo-dev.concatel.com/pfw_files/tpl/_alex/test.tar.gz


Reproducible: Always

Steps to Reproduce:
1. write something in the rich text editor
2. click on 'click me' button in order to hide it
3. click again on 'click me' button in order to show the editor again
4. try to write something in the editor

Actual Results:  
After hiding and showing again the editor, the editor is blocked and no longer
editable.

Expected Results:  
The editor should be operating normally.
Duplicate of Core bug 232454 -> Core bug 217205?
(In reply to comment #1)
> Duplicate of Core bug 232454 -> Core bug 217205?

i've just installed 1.0.5 and this is not yet addressed. any comments when will
the fix be avaiable?
thanks.
Alex, 1.0.5 contains year-old code. Please test in the latest builds found here:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk

*** This bug has been marked as a duplicate of 217205 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.