Opened 14 years ago
Last modified 13 years ago
#7934 review Bug
IE: Image dialog is unable to load image properties inside of a floating element
Reported by: | Wiktor Walc | 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 (1)
Change History (5)
comment:1 Changed 14 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 14 years ago by
Cc: | satya_minnekanti@… added |
---|---|
Keywords: | IBM added |
Changed 14 years ago by
Attachment: | 7934.patch added |
---|
comment:4 Changed 13 years ago by
Component: | General → Core : Selection |
---|---|
Owner: | set to Garry Yao |
Status: | confirmed → review |
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.
Caused by [5214].