|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Generator bug: Managled private namesHi All,
I think I might have stumbled across a generator bug. In a build version of our app, windows are not displayed at all. I have tracked it down to the following: calling this.getBounds() on a window returns this: "function () { var Q = this.__dT; if (!Q) { Q = this.__dT = new (qx.ui.core.Widget); Q.setAppearance(A); Q.exclude(); qx.core.Init.getApplication().getRoot().add(Q); } return Q; }" I've looked at the generated code and I can that the __userBounds in widget has been replaced by __dY getBounds : function() { return this.__userBounds || this.__computedLayout || null; }, has become: getBounds:function(){return this.__dY||this.__dU||null;} But qx.ui.core.MResizable.__getResizeFrame has also been renamed __dY: __dY:function(){var Q=this.__dT; if(!Q){Q=this.__dT=new qx.ui.core.Widget(); Q.setAppearance(A); Q.exclude(); qx.core.Init.getApplication().getRoot().add(Q); }return Q; } I thought that private members were given a globally unique identifier? ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@... https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel |
|
|
Re: Generator bug: Managled private namesMatthew Gregory wrote: > Hi All, > I think I might have stumbled across a generator bug. In a build version > of our app, windows are not displayed at all. I have tracked it down to > the following: calling this.getBounds() on a window returns this: > > "function () { var Q = this.__dT; if (!Q) { Q = this.__dT = new > (qx.ui.core.Widget); Q.setAppearance(A); Q.exclude(); > qx.core.Init.getApplication().getRoot().add(Q); } return Q; }" > > I've looked at the generated code and I can that the __userBounds in > widget has been replaced by __dY > > getBounds : function() { > return this.__userBounds || this.__computedLayout || null; > }, > > has become: > > getBounds:function(){return this.__dY||this.__dU||null;} > > > But qx.ui.core.MResizable.__getResizeFrame has also been renamed __dY: > > __dY:function(){var Q=this.__dT; > if(!Q){Q=this.__dT=new qx.ui.core.Widget(); > Q.setAppearance(A); > Q.exclude(); > qx.core.Init.getApplication().getRoot().add(Q); > }return Q; > } > > I thought that private members were given a globally unique identifier? > So did I. Which qooxdoo revision are you using? The latest patch for this issue was with r20474. T. > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@... https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel |
|
|
Re: Generator bug: Managled private namesThe trunk, 20551
thron7 wrote: > > Matthew Gregory wrote: >> Hi All, >> I think I might have stumbled across a generator bug. In a build version >> of our app, windows are not displayed at all. I have tracked it down to >> the following: calling this.getBounds() on a window returns this: >> >> "function () { var Q = this.__dT; if (!Q) { Q = this.__dT = new >> (qx.ui.core.Widget); Q.setAppearance(A); Q.exclude(); >> qx.core.Init.getApplication().getRoot().add(Q); } return Q; }" >> >> I've looked at the generated code and I can that the __userBounds in >> widget has been replaced by __dY >> >> getBounds : function() { >> return this.__userBounds || this.__computedLayout || null; >> }, >> >> has become: >> >> getBounds:function(){return this.__dY||this.__dU||null;} >> >> >> But qx.ui.core.MResizable.__getResizeFrame has also been renamed __dY: >> >> __dY:function(){var Q=this.__dT; >> if(!Q){Q=this.__dT=new qx.ui.core.Widget(); >> Q.setAppearance(A); >> Q.exclude(); >> qx.core.Init.getApplication().getRoot().add(Q); >> }return Q; >> } >> >> I thought that private members were given a globally unique identifier? >> > > So did I. Which qooxdoo revision are you using? The latest patch for > this issue was with r20474. > > T. > >> > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@... https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel |
| Free embeddable forum powered by Nabble | Forum Help |