Hi,

Sorry to send one more e-mail about this issue but using the playground I have 
been able to build a demo of the issue.
In the attached example text file (somehow in IE10 the tiny Url will not create 
a Url with my code) I created an iframe displaying a Telerik site with 
Silverlight demo's. Pressing the button "First Button" a window is launched 
that will not come to the foreground. Changing the Url the iframe displays to 
some other website you can see the Qooxdoo window is properly displayed.

I hope this makes my issue described below clear and maybe someone has a 
suggestion on how to fix this?
I have seen it go wrong in Windows 7 in IE10 and with this example in IE11 too.

Thanks very much for any help.

Best regards,
Jeroen

From: Jeroen Smit [mailto:[email protected]]
Sent: maandag 25 november 2013 09:28
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] Mouse focus repaint issue in IE 10

Does anyone have a clue?
For now this is the only reason I cannot say we support IE10.
Thanks in advance

Best regards,
Jeroen

From: Jeroen Smit [mailto:[email protected]]
Sent: donderdag 14 november 2013 15:01
To: Qooxdoo-Devel
Subject: [qooxdoo-devel] Mouse focus repaint issue in IE 10

Hi,

I hope someone can help me out with some repaint issues in IE10 because I am a 
bit stuck here

Within my application (just upgraded to the 3.0.1 Qooxdoo version) I have 
embedded a "qx.ui.embed.Html" containing a Silverlight app (I know...).
When placing a qx.window containing elements that can get mouse focus over this 
SL app and moving the mouse over such an element (e.g. button or date chooser) 
all elements but this single one overlapping with the SL app are no longer 
shown. Attached a small preview of such a scenario where the mouse was over the 
date chooser that is showing its text.

I noticed that when I move the mouse to the top of the window (which is 
resizable) the MResizable mixin sets a resize cursor which applies this cursor 
to all child widgets which then get flushed (qx.html.Element.flush) and 
everything is displayed again.

As a test I implemented a "mousemove" event on all focusable widgets in my 
window and adjusted the window's cursor there. This had no effect. Only after 
calling qx.html.Element.flush() from that same hack all controls were properly 
shown again.

I am wondering what is going wrong here. Off course this has something to do 
with IE10 and Silverlight (everything works fine in IE9 + IE11) but it also 
seems that something goes wrong updating styles when widgets get the mouse 
focus. Maybe there is an optimization somewhere that doesn't update styles in 
all cases?

I hope anyone has an idea cause it's driving me nuts ;-)

Best regards,
Jeroen

var button1 = new qx.ui.form.Button("First Button", 
"icon/22/apps/internet-web-browser.png");

// Document is the application root
var doc = this.getRoot();

// Add button to document at fixed coordinates
doc.add(button1,
{
  left : 100,
  top  : 50
});

// Add an event listener
button1.addListener("execute", function(e) {
  //alert("Hello World!");
var win = new qx.ui.window.Window("Test");
win.setWidth(300);
win.setHeight(200);
win.setLayout(new qx.ui.layout.Canvas());
this.getRoot().add(win, {left:20, top:20});
win.open();
  
var textfield = new qx.ui.form.TextField("test");
textfield.setWidth(50);
textfield.setHeight(30);
win.add(textfield, {left:10, top: 50});
  
var btn = new qx.ui.form.Button("test");
btn.setWidth(100);
btn.setHeight(30);
win.add(btn, {left: 10, top: 100});

}, this);

var iframe = new qx.ui.embed.Iframe("http://demos.telerik.com/silverlight/";);

iframe.setWidth(400);
iframe.setHeight(400);

doc.add(iframe, 
{
  left: 50,
  top: 100
});
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to