Opened 6 years ago

Last modified 6 years ago

#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@…


  1. Load the following source in IE:
    <div style="float: right">
    Foo <img alt="" src="" /> Bar</div>
  2. Select an image
  3. Click "Image" button (do not use the context menu)
  4. Image dialog opens, but all fields are empty.

It looks like it started happening in 3.2.1.

Attachments (1)

7934.patch (450 bytes) - added by garry.yao 6 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 6 years ago by wwalc

  • Status changed from new to confirmed

Caused by [5214].

comment:2 Changed 6 years ago by satya

  • Cc satya_minnekanti@… added
  • Keywords IBM added

comment:3 Changed 6 years ago by wwalc

Related issue: #7973 (caused by the same changeset)

Changed 6 years ago by garry.yao

comment:4 Changed 6 years ago by garry.yao

  • Component changed from General to Core : Selection
  • Owner set to garry.yao
  • Status changed from confirmed to 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.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy