﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7403	FF: Dialogs shrink in width in V2 skin when dragged to the right of the screen	James Cunningham		"'''Steps to reproduce the defect:'''

1. Open the skins sample in Firefox.

2. Open the Table Properties dialog in the V2 skin.

3. Drag the dialog to the right of the screen (as far right as possible).

'''Result:''' The dialog shrinks in width (see screenshot). This happens for all dialogs when dragged to the right of the screen. It also happens in the office skin.

The problem was introduced in 3.5 in changeset [http://dev.ckeditor.com/changeset/6188 6118] when the getSize function in the dialog/plugin.js was changed from

{{{
getSize : function()
{
	if ( !this._.updateSize )
		return this._.size;
	var element = this._.element.getFirst();
	var size = this._.size = { width : element.$.offsetWidth || 0, height : element.$.offsetHeight || 0};

	// If either the offsetWidth or offsetHeight is 0, the element isn't visible.
	this._.updateSize = !size.width || !size.height;

	return size;
}
}}}
to

{{{
getSize : function()
{
	var element = this._.element.getFirst();
	return { width : element.$.offsetWidth || 0, height : element.$.offsetHeight || 0};
}
}}}
The problem can be resolved by using the old getSize function."	Bug	closed	Normal		UI : Dialogs	3.5	fixed	FF IBM	Damian Teresa Monahan Satya Minnekanti
