PR# 18608 {EV_BOX}.pointer_enter_actions not triggered unless pointer moves (Windows)

Problem Report Summary
Submitter: finnianr
Category: EiffelVision
Priority: Low
Date: 2013/06/08
Class: Bug
Severity: Non-critical
Number: 18608
Release: 7.2.9.1351
Confidential: No
Status: Open
Responsible: misterieking
Environment: Windows 7
Synopsis: {EV_BOX}.pointer_enter_actions not triggered unless pointer moves (Windows)

Description
If a component has assigned actions to pointer_enter_actions as part of a creation procedure, and if immediately after creation and layout of the component, the pointer is found to be over the component, it is logical that the pointer_enter_actions are called. For the GTK implementation of EV_HORIZONTAL_BOX and EV_VERTICAL_BOX this is indeed the case, but not in Windows.

At present I am using a complicated workaround for Windows that involves calling a 'once on idle procedure' from a resize action, which checks if the pointer is over the component, then a second 'once on idle procedure' is called to nudge the pointer, causing pointer_enter_actions to be triggered.

This triple layer of calls is necessary because of another bug which I will now report.
To Reproduce

										
Problem Report Interactions
From:misterieking    Date:2013/06/20    Download   
Do you have a simple reproducible for this issue?  If I create a box then show it on the screen under the mouse then the actions are fired for me.