Opened 14 years ago
Closed 14 years ago
#6247 closed Bug (fixed)
Focus not returning to editor on drop down close
Reported by: | Satya Minnekanti | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.6.1 |
Component: | UI : Floating Panel | Version: | 3.4 |
Keywords: | IBM | Cc: | Damian, joek |
Description (last modified by )
To reproduce the defect:
- Open Ajax sample.
- Type some text,keep the cursor in the text,click on any of the drop down lists(Styles,Paragraph Format,Font Name,Font Size,Text Color & Background Color) to show list items.
- Click on the same drop down to make the list disappear.(don't select any of the list items).
- Actual Result: The editor has not got focus.Try to type some text and it see it won't get typed.
Attachments (3)
Change History (18)
comment:1 Changed 14 years ago by
Keywords: | IE added |
---|---|
Status: | new → confirmed |
Version: | → 3.4 |
Changed 14 years ago by
Attachment: | krst 10.50.26 .avi added |
---|
comment:2 Changed 14 years ago by
Owner: | set to Martin |
---|---|
Status: | confirmed → assigned |
comment:4 Changed 14 years ago by
I looking for solution to resolve first error and I find out that set focus on panel (in this situation drop down list) works good but there is problem because you must catch every click event and check if drop down list is open and set focus on them so I think that is not good solution but resolve problem.
If this could be help the #5667 cause the problem.
comment:5 Changed 14 years ago by
Owner: | Martin deleted |
---|---|
Status: | assigned → new |
comment:6 Changed 14 years ago by
Keywords: | IE removed |
---|---|
Priority: | Normal → Low |
Status: | new → confirmed |
This's a generic problem, the focus was trapped inside the closed panel ;(
comment:7 Changed 14 years ago by
Some other misbehaved TCs that I think tightly related to this:
- Open the default sample page with FF;
- Click inside editor to give focus;
- Open the styles combo by mouse click;
- Press 'Esc' key to close the combo;
- Expected Result: Panel closed with focus return to editor;
- Actual Result: Focus return to toolbar.
The above TC though is surprisingly work in IE though.
In a summary, what need to do here:
- Where to return focus depending on from where combo is opened;
- Return focus to toolbar in condition of "toolbarMode";
- Return focus to editor otherwise;
- "Esc" and button click must behave consistently following 1.
- 1 and 2 must apply to other panel based drop down.
comment:8 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Summary: | [[IE]] Cursor is still visible in the editor after the editor loses focus. → [[IE]] Focus not returning to editor on drop down close |
comment:9 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Summary: | [[IE]] Focus not returning to editor on drop down close → Focus not returning to editor on drop down close |
Description cleanup.
Changed 14 years ago by
Attachment: | 6247.patch added |
---|
comment:10 Changed 14 years ago by
Cc: | damo,joek → damo, joek |
---|---|
Component: | General → UI : Floating Panel |
Owner: | set to Garry Yao |
Status: | confirmed → review |
comment:11 Changed 14 years ago by
Priority: | Low → Normal |
---|---|
Status: | review → review_failed |
Still not working for Safari and Opera.
Changed 14 years ago by
Attachment: | 6247_2.patch added |
---|
comment:12 Changed 14 years ago by
Status: | review_failed → review |
---|
Add Safari and Opera compatibility.
comment:13 Changed 14 years ago by
Status: | review → review_passed |
---|
comment:14 Changed 14 years ago by
Milestone: | → CKEditor 3.6.1 |
---|
comment:15 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [6920].
Replying to satya:
Confirmed
Confirmed. Second opened list - Cursor is disabled.