(somehow managed to send this post directly to Andreas, when I meant it for the whole list! Trying again)

Hi Andreas,
nice demo. ;-)

As there are some issues with your inline app (IE6 and Safari?), could
you open bug reports with a stripped-down version of your code as a
sample?

After playing around a bit more, I'm not sure if its a Window bug or a Chris version of a Window bug, so until I experiment around a bit more and understand what's going on, I won't file any bugs on this yet. :-)

I've changed the following lines in MMovable.js which makes the dragging of the postion: fixed window work in IE7, FF3 and Opera 9.5, but not in IE6, FF2 or Safari 3.1. Humpf!

*__showMoveFrame : function()*
   {
     var bounds = this.getBounds();
     var frame = this.__getMoveFrame();
-- frame.setUserBounds(bounds.left, bounds.top + qx.bom.Viewport.getScrollTop(), bounds.width, bounds.height); ++ frame.setUserBounds((bounds.left + qx.bom.Viewport.getScrollLeft()), (bounds.top + qx.bom.Viewport.getScrollTop()), bounds.width, bounds.height);
     frame.show();
     frame.setZIndex(this.getZIndex()+1);
   },



*_onMoveMouseUp : function(e)*
   {
     ...
     // Apply them to the layout
     var coords = this.__computeMoveCoordinates(e);
--   this.setLayoutProperties({ left: coords.left, top: coords.top });
++ this.setLayoutProperties({ left: (coords.left - qx.bom.Viewport.getScrollLeft()), top: (coords.top - qx.bom.Viewport.getScrollTop()) }); // Hide frame afterwards
    ...
   },


I think that my next qooxdoo session will be to hit the reset button and try to see if I can get all the browser versions to agree on what's up when dragging (I'm guessing that I've broken something somewhere, as the qx code is quite elegant and clean).

http://toolbox2.dihedrals.com/

Off to bed -- late again! Will keep posted if I manage to make some more progress on this.

Cheers,
-Chris

Safari (3.1 & Nightly Build) moves the window down+right every time the drag bar is selected (easiest to see this just by doing a couple of single clicks on the drag bar without moving the Toolbox).
FYI.
Safari does this little position jig down/right even without the qx Window being set to position:fixed (ie when using a normal qx Inline app Window).





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to