Chris Banford schrieb:
> Fabian Jakobs wrote:
>> Hi Chris,
>>   
>>> (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!
>>>     
>>
>> I have just fixed another bug related to moving and resizing windows. 
>> Maybe this helps with your problem as well. Can you test your 
>> application with trunk?
>>
>> Best Fabian
>>
>>   
>
> Hi Fabian,
>
> Updated trunk from SVN.
>
> Not sure what areas you've updated Window, but things seem to be the 
> same with my experiments -- ie as soon as I set the Window to 
> position: fixed, its causing the code in the 3 MMovable.js methods:
>   _onMoveMouseDown()
>   _onMoveMouseMove()
>   _onMoveMouseUp()
> to make Windows drag incorrectly. The bit I haven't figured out is 
> that it seems to behave differently across various browsers and 
> versions (read: Firefox 2 & 3 behave differently). I get one bit 
> working in one or two browsers, but then it breaks in different ways 
> in others...
>
> For quick ref, this is the block that's being added to (a subclassed) 
> Window to set pos to fixed:
>     /**
>      * Create the widget's container HTML element (taken from Widget).
>      * Override widget's method, so that we can change this window to 
> use a
>      * position:fixed instead of position:absolute.
>      * This pins the window in the viewport, so the Toolbox doesn't 
> scroll
>      * with the rest of the page's content.
>      *
>      * @return {qx.html.Element} The container HTML element
>      */
>     _createContainerElement: function(){
>         var el = this.base(arguments);
>         el.setStyle("position", "fixed");
>         return el;
>     }
>    
> If a normal qx window is created, then all seems happy, but as soon as 
> I try the pos:fixed trick, dragging the window causes it to be offset 
> by +/- the scrolled amount. Tricky to see where its going wrong (any 
> ideas?).
>
Sorry, no idea what goes wrong :-( . I would have to take a closer look 
at that issue.

Best Fabian


> I've come across another Window issue, but will pull it out into a 
> sep. mail. :-)
>
>
> Cheers,
> -Chris
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim 
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
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