Hi Simon,

it must be a parent of the window, this is the case, why the window gets 
the click event to. Just to be beneath the window shouldn't be enough. 
Have you also discovered such a problem?

However I have took a look at your example. The window should definitely 
stop more events. Just because in a normal situation one don't want to 
see a click inside a window bubbles up to the document. This was one of 
the errors. The mousedown, mouseup and click events will now be stopped 
correctly to not propagate the parent elements anymore.

Also there was another fix to the newly introduced click fix handling 
for gecko. In some cases the target of the click event was wrong. Now 
this is fixed, too.

Thank you for your report and analysis.

Cheers,

Sebastian


Simon Bull schrieb:
> Hi Sebastian,
> 
> I have updated to 0.6.2-pre (r4314) and I can still observe the 
> unexpected behaviour in both Firefox 1.5.0.7 and IE 6.0.2800.1106CO on a 
> Windows 2000 5.00.2195 service pack 4 machine.
> 
> I have attached a small test page that is based on test/window_2.html. 
> 
> If you drop this file straight into 
> $qooxdoo/frontend/demo/build/html/test/ it should "just work".
> 
> All I have done to the window_2 test is add some listeners to the 
> ClientDocument which output statements to the logging console as they 
> hear mousedown and click events.
> 
> If you open the test file then resize the window east or south you will 
> see that the ClientDocument gets clicked.  If you resize the window west 
> or north the ClientDocument does not get clicked.
> 
> I also notice that when you resize the window in any direction, the 
> ClientDocument gets the mousedown event.
> 
> I don't know if you consider this a real bug - but it can be frustrating 
> when widgets beneath the window get clicked because you resize a window 
> east or south.
> 
> I hope this shows the problem I am seeing,
> 
> Simon
> 
> 
> 
> */Sebastian Werner <[EMAIL PROTECTED]>/* wrote:
> 
>     Hi Simon,
> 
>     I don't exactly understand your problem. I have just played some
>     minutes
>     with the window demo and it seems to work well. However I have added
>     some more event propagation stop calls to some critical events. Maybe
>     this fix your problems. Otherwise please tell us more details e.g.
>     browser and version, operating system, ...
> 
>     Changed in revision 4332.
> 
>     Cheers,
> 
>     Sebastian
> 
> 
> 
>     Simon Bull schrieb:
>      > Hi Sebastian,
>      >
>      > I noticed in 0.6.1 (r4314) that the behaviour of qx.ui.window.Window
>      > resizeSouth and resizeEast seems to have a small bug. I tried it
>     with
>      > all the resizeMethods. Resizing the window edge north or west works
>      > perfectly.
>      >
>      > When you mousedown and drag a window edge south or east, the final
>      > mouseclick event resizes the window and also clicks whichever
>     widget the
>      > mouse pointer happens to be over when you mouseup. This is confusing
>      > when there are multiple windows open because the active window keeps
>      > changing unexpectedly as you resize windows.
>      >
>      > I had thought about temporarily making the window modal while it was
>      > being resized to prevent this behaviour. Do you think this would
>     be a
>      > good solution?
>      >
>      > Thanks,
>      >
>      > Simon
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      > On Yahoo!7
>      > 360° new features: Blog polls, visitor stats custom themes and more!
>      >
>      >
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      >
>     -------------------------------------------------------------------------
>      > Take Surveys. Earn Cash. Influence the Future of IT
>      > Join SourceForge.net's Techsay panel and you'll get the chance to
>     share your
>      > opinions on IT & business topics through brief surveys -- and
>     earn cash
>      >
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > qooxdoo-devel mailing list
>      > [email protected]
>      > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
>     -------------------------------------------------------------------------
>     Take Surveys. Earn Cash. Influence the Future of IT
>     Join SourceForge.net's Techsay panel and you'll get the chance to
>     share your
>     opinions on IT & business topics through brief surveys -- and earn cash
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     _______________________________________________
>     qooxdoo-devel mailing list
>     [email protected]
>     https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> ------------------------------------------------------------------------
> On Yahoo!7
> Fuel Price Watch: Find the cheapest petrol in your area 
> <http://au.rd.yahoo.com/mail/tag/fuelpricewatch/**http%3A%2F%2Fau.maps.yahoo.com%2Ffuelwatch%2F>
>  
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to