Hi Alexander,

just found the reason for the IE message. In order to remove the
additional space in trees (without icons), I place a setWidth(0)
somewhere in the code:

  this.__treeController.setDelegate(
  {
     configureItem : function(item)
     {
          ...
          item.getChildControl("icon").setWidth(0);
          ...
     }
   });

Since I've no ms driven windows around, I never noticed that there
was a problem. After removing the line it starts working smoothly.

"item" is an ordinary tree item, so I don't know if it is a bug or
just the wrong way to remove the space ;-)

Cheers,
Cajus

Cajus Pollmeier schrieb:
> Alexander Back schrieb:
>> Hi Cajus,
>>
>> Cajus Pollmeier schrieb:
>>> This is everything I can get from IE:
>>>
>>> LOG: 397547ms [ function(element, name, value, smart),
>>> qx.html.Element:_copyData, qx.core.Object:base, qx.html.Image:_copyData,
>>> qx.html.Element:__flush, ... ]
>>>
>>> Do you know a method to get more? I'm using getStackTrace() in the moment. 
>>> Just trace() seems to deliver the same.
>> If you use IE8 you can use the debugger of the developer tools.
>> Open the developer tools (using "F12") and hit the button "Start 
>> debugging" (or so).
>> The browser will probably reload the application. If the error occurs 
>> you can select the "Script" tab and check for a stacktrace at the right. 
>> Maybe this helps us further.
>>
>>> Great! Works - but the problem is not "-5px", the problem is that "width" 
>>> is not available ;-)
>> Really? Your first mail indicated that the problem is that 
>> "qx.bom.element.Attribute" tries to set the attribute "width" to "-5px".
> 
> Ok. You're right. Using the proposed debugger, it tells me that it will not 
> set "width" to "-5px". It's still not easy to debug, so that I'll keep the 
> workaround for the moment.
> 
> The backtrace itself has just qooxdoo functions, so that I cannot track it 
> down without removing and re-adding code and check if the error occurs or not.
> 
> Cheers,
> Cajus
> 
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to