Ticket #7934 (review Bug)
IE: Image dialog is unable to load image properties inside of a floating element
| Reported by: | wwalc | Owned by: | garry.yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Core : Selection | Version: | 3.2.1 |
| Keywords: | IE IBM | Cc: | director@…, satya_minnekanti@… |
Description
- Load the following source in IE:
<div style="float: right"> Foo <img alt="" src="http://a.cksource.com/c/1/inc/img/demo-little-red.jpg" /> Bar</div>
- Select an image
- Click "Image" button (do not use the context menu)
- Image dialog opens, but all fields are empty.
It looks like it started happening in 3.2.1.
Attachments
Change History
comment:4 Changed 22 months ago by garry.yao
- Status changed from confirmed to review
- Owner set to garry.yao
- Component changed from General to Core : Selection
The idea is that IE has separated focus management for different editing host (image and the floated div were different editing host), while editor::focus will always move focus to the editing document, thus in such case destroying the focus which was originally on the image element.
In order to avoid this, regularly query to the focus manager of the activate state of editor before moving the focus would be enough.
Note: See
TracTickets for help on using
tickets.

Caused by [5214].