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: Wiktor Walc 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 (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 Wiktor Walc

Status: newconfirmed

Caused by [5214].

comment:2 Changed 6 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added
Keywords: IBM added

comment:3 Changed 6 years ago by Wiktor Walc

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

Changed 6 years ago by Garry Yao

Attachment: 7934.patch added

comment:4 Changed 6 years ago by Garry Yao

Component: GeneralCore : Selection
Owner: set to Garry Yao
Status: confirmedreview

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