Opened 12 years ago
Closed 12 years ago
#9447 closed Bug (fixed)
[Opera] Selection is expanded up to the next element after applying one of basic styles
Reported by: | Piotrek Koszuliński | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.0 |
Component: | Core : Selection | Version: | 4.0 |
Keywords: | Opera | Cc: |
Description
- Save and open attached sample.
- Select "[test te]st test test."
- Press bold 3 times.
- Expected: bold applied, bold removed, bold applied - 3x for the same selection.
- Actual: For the third time selection expands to the start of
<u>
element.
Attachments (2)
Change History (18)
Changed 12 years ago by
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
This issue was introduced by https://github.com/ckeditor/ckeditor-dev/commit/feb2952, but it was fixed by https://github.com/ckeditor/ckeditor-dev/commit/e618e8c few days before. And that's the one which parts were reverted in feb2952.
What's more - 2 minutes before e618e8c on https://github.com/ckeditor/ckeditor-dev/commit/6a707b6 issue was introduced for the first time.
History:
- https://github.com/ckeditor/ckeditor-dev/commit/6a707b6 introduced issue.
- https://github.com/ckeditor/ckeditor-dev/commit/e618e8c fixed issue.
- https://github.com/ckeditor/ckeditor-dev/commit/feb2952 reintroduced issue.
Changed 12 years ago by
comment:3 Changed 12 years ago by
It looks like we have similar (but occurring less often) issue on v3 (from 3.0). I was able to find a ticket #6874 which says that it's Opera's issue.
However, there's a difference in behaviour between v3 and v4. Much probably there are two overlapping issues.
comment:4 Changed 12 years ago by
Status: | new → confirmed |
---|
comment:5 Changed 12 years ago by
comment:6 Changed 12 years ago by
Owner: | set to Garry Yao |
---|---|
Status: | confirmed → assigned |
comment:7 Changed 12 years ago by
Status: | assigned → review |
---|
comment:9 Changed 12 years ago by
Status: | review → review_passed |
---|
I pushed style fixes to be squashed into main commit.
comment:10 Changed 12 years ago by
Keywords: | Opera added |
---|---|
Resolution: | → fixed |
Status: | review_passed → closed |
comment:12 Changed 12 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The original fix in comment:10 is reverted because of #9468.
comment:13 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I found another simple fix to this issue, which fix also #6874, it's safe change to be landed on master.
https://github.com/ckeditor/ckeditor-dev/commit/9b921f74229f0d946417c7d5bc5f501d5135c2d4
comment:14 Changed 12 years ago by
Please fix coding style in 9b921f74. Update for #6874 will be needed too (however we still need it for v3).
comment:15 Changed 12 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:16 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Coding style fixed...I would port this change to v3 on #6874.
First bad commit: https://github.com/ckeditor/ckeditor-dev/commit/feb2952