Opened 16 years ago
Closed 11 years ago
#3601 closed Bug (fixed)
Bad performance at resizing editor in Safari
| Reported by: | Martin Kou | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | UI : Toolbar | Version: | SVN (CKEditor) - OLD |
| Keywords: | Cc: | fckeditor@… |
Description
To reproduce:
- Open replacebyclass.html in Safari/Windows.
- Resize the editor.
- The resize animation is not smooth.
The bad performance seems to be Windows specific, it seems to be perfectly smooth in Safari/Mac.
Attachments (3)
Change History (25)
comment:1 Changed 16 years ago by
| Keywords: | Confirmed added |
|---|
comment:2 Changed 16 years ago by
| Milestone: | CKEditor 3.0 → CKEditor 3.1 |
|---|
comment:3 Changed 16 years ago by
| Milestone: | CKEditor 3.1 → CKEditor 3.2 |
|---|
comment:4 Changed 16 years ago by
| Milestone: | CKEditor 3.2 → CKEditor 3.3 |
|---|
comment:5 Changed 16 years ago by
| Owner: | Martin Kou deleted |
|---|
comment:6 Changed 16 years ago by
Changed 16 years ago by
| Attachment: | 3601.patch added |
|---|
comment:7 Changed 16 years ago by
| Keywords: | Review? added |
|---|---|
| Owner: | set to Garry Yao |
| Status: | new → assigned |
I don't see the described problem in that part of codes on Windows, which slows down the resizing, can somebody confirm it on Mac?
comment:8 Changed 16 years ago by
I've applied the patch and I don't see any bad performance or crash as the comments stated, tested with Windows and Mac OS X 10.6.3 with Safari 4.0.5 and Chrome
But due to the crash comment I would prefer for someone else to test and verify that there are no problems by removing that code.
comment:9 Changed 16 years ago by
| Keywords: | Review+ added; Review? removed |
|---|
WFM also, on Mac and Win. It may be related to an old version of Safari. Here is the original comment that introduced that fix: comment:ticket:3564:7.
In the comment I'm stating that the issue affected both Safari 3 and 4. So, even if we're testing only with Safari 4, we should be ok with it (I mean, it was not a Safari 3 only issue).
comment:12 Changed 15 years ago by
| Keywords: | Review- added; Review+ removed |
|---|---|
| Milestone: | CKEditor 3.3 → CKEditor 3.4 |
| Resolution: | fixed |
| Status: | closed → reopened |
Changed 15 years ago by
| Attachment: | 3601_2.patch added |
|---|
comment:13 Changed 15 years ago by
| Component: | General → UI : Toolbar |
|---|---|
| Keywords: | Review? added; Review- removed |
The patch proposes introduce a 'resize_proxy' configuration, which by default set to true for for browsers that have performance/layout problem when doing live-resize.
comment:14 Changed 15 years ago by
| Keywords: | Review- added; Review? removed |
|---|
As the summary stated the performance problems are only for Safari & Windows. Safari on Mac behaves correctly. Chrome on Windows and Mac also seem to behave quite well for me.
The documentation for config.resize_proxy has been placed before the declaration for config.resize_dir
If the user sets config.resize_proxy=false, it will still be enabled for Safari & IE6.
The IE check will enable the proxy for IE7, although the comment states IE6.
comment:15 Changed 15 years ago by
A suggestion: instead of naming this "resize_proxy" that might look strange, what about something like "liveResizePreview" ?
Changed 15 years ago by
| Attachment: | 3601_3.patch added |
|---|
comment:16 Changed 15 years ago by
| Keywords: | Review? added; Review- removed |
|---|
Decent review, new patch targeting the above points.
comment:17 Changed 15 years ago by
I'm not reviewing it now. Please note that the configuration must be named "resize_livePreview", not "resize_livepreview".
comment:18 Changed 15 years ago by
| Keywords: | Confirmed removed |
|---|---|
| Status: | reopened → confirmed |
comment:19 Changed 15 years ago by
| Milestone: | CKEditor 3.4 |
|---|
comment:20 Changed 15 years ago by
| Cc: | fckeditor@… added |
|---|
comment:22 Changed 11 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | review → closed |
I cannot reproduce any issue on latest Safari. Works like a charm.

We should really consider using proxy, even for other browsers.