Ticket #7934 (review Bug)

Opened 3 years ago

Last modified 3 years ago

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

  1. 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>
    
  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

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

Change History

comment:1 Changed 3 years ago by wwalc

  • Status changed from new to confirmed

Caused by [5214].

comment:2 Changed 3 years ago by satya

  • Cc satya_minnekanti@… added
  • Keywords IBM added

comment:3 Changed 3 years ago by wwalc

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

Changed 3 years ago by garry.yao

comment:4 Changed 3 years 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.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy