Opened 17 years ago
Closed 17 years ago
#3465 closed Bug (fixed)
Dialog tabs are causing Firefox throbber to spin indefinitely.
| Reported by: | Martin Kou | Owned by: | Martin Kou |
|---|---|---|---|
| Priority: | Must have (possibly next milestone) | Milestone: | CKEditor 3.0 |
| Component: | UI : Dialogs | Version: | SVN (CKEditor) - OLD |
| Keywords: | Oracle Review+ | Cc: | Senthil |
Description
To reproduce:
- Open replacebyclass.html in Firefox 3.
- Open the link dialog.
- Click on any tab in the link dialog.
- Close it.
- Open the link dialog again.
- Click on any tab in the link dialog.
- Firefox's throbber icon spins and will not stop, indicating it's loading something.
Attachments (1)
Change History (7)
comment:1 Changed 17 years ago by
| Priority: | Normal → High |
|---|
comment:2 Changed 17 years ago by
| Status: | new → assigned |
|---|
comment:3 Changed 17 years ago by
Changed 17 years ago by
| Attachment: | 3465.patch added |
|---|
comment:4 Changed 17 years ago by
| Keywords: | Review? added |
|---|
This is definitely a browser bug, should be related to this ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=360704.
While the throbber was triggered by style changes to the dialog pages, the actual cause for the throbber care the frameDocument.$.open(), frameDocument.$.write() and frameDocument.$.close() calls in the dialogui plugin. Adding a 500ms delay before drawing the iframe content seems to prevent the throbber from appearing. Even shorter delays (e.g. 100ms) doesn't work, but then the delay doesn't seem to depend on any network event.
comment:5 Changed 17 years ago by
| Keywords: | Review+ added; Review? removed |
|---|
That's weird... but it works.
comment:6 Changed 17 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed with [3481].
Click here for more info about our SVN system.

Ok... after quite a bit of investigations, I've found the problem to be actually related to the iframe used in the file upload widget in the link and image dialogs.