littleflylongbow / guichan

Automatically exported from code.google.com/p/guichan
Other
0 stars 0 forks source link

Root/Top Widget does not have mouse entered events. #109

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The root/top widget will have a mouse exited event when the mouse leaves
the application window, but it does not have a corresponding mouse entered
event when the mouse comes back into the application.
This is different (undocumented) behaviour to guichan 8.1.  
One part of the problem is that getWidgetAt will always return the top
widget even if the cursor pos is -1,-1 so it is always in the
lastWidgetsWithMouse set.

What is the expected behaviour? What happens instead?
see above.

What version of the product are you using? On what operating system? Which
back-end (SDL/Allegro/OpenGL/other)?
Using guichan svn.
Linux / Ubuntu 8.10
SDl/OpenGL

Please provide any additional information below.

Original issue reported on code.google.com by drsgoodall@gmail.com on 5 Jan 2009 at 10:04

GoogleCodeExporter commented 8 years ago
I believe the most natural behaviour is that the top widget receives mouse 
exited and
entered events just like any other widget. This is indeed a bug in Guichan. 

Original comment by olof.nae...@gmail.com on 6 Jan 2009 at 10:03